 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden !important; /* 🔒 Force hide side scroll */
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 50%, #fff5e6 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ✅ Fix background overflow */
body::before {
  content: '';
  position: fixed; /* change from absolute */
  inset: 0; /* shorthand for top/right/bottom/left: 0 */
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 165, 0, 0.05) 2px, rgba(255, 165, 0, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 165, 0, 0.05) 2px, rgba(255, 165, 0, 0.05) 4px);
  z-index: 0;
  pointer-events: none;
}

@keyframes moveBackground {
    0% { top:0px; left:0px; }
    100% {top:50px; left:50px;}
}

.hexagon-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hexagon {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.08;
}

.hexagon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #FFA500;
    stroke-width: 3;
    animation: float 15s infinite ease-in-out;
}

.hexagon:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.hexagon:nth-child(2) {
    right: 15%;
    top: 60%;
    animation-delay: 2s;
}

.hexagon:nth-child(3) {
    left: 60%;
    top: 15%;
    animation-delay: 4s;
}

.hexagon:nth-child(4) {
    left: 20%;
    bottom: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(120deg); }
}

.container { 
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 1200px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      padding: 20px;
      box-sizing: border-box;
}

.left-section {
    color: #2d2d2d;
    padding: 40px;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    display: inline-block;
    padding: 0px 5px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 165, 0, 0.15);
    border: 2px solid rgba(255, 165, 0, 0.2);
}

.logo svg {
    width: 80px;
    height: 80px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-content .highlight {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-content .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FFA500, #FF8C00);
    border-radius: 2px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #666;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #FFA500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.2);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 24px;
    color: #FFA500;
}

.feature-item span {
    color: #2d2d2d;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFA500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background: #FFA500;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.3);
}

.login-card {
    background: white;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.1);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.login-header {
    margin-bottom: 40px;
    text-align: center;
}

.login-header h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #FFA500;
    font-weight: 600;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFA500;
    font-size: 16px;
}
.input-wrapper span i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFA500;
    font-size: 16px;
    cursor: pointer;
}

.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #2d2d2d;
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus {
    outline: none;
    border-color: #FFA500;
    box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.1);
    background: white;
}
.form-control.invalid {
    outline: none;
    border-color: #ff1500;
    box-shadow: 0 0 0 4px rgba(255, 47, 0, 0.1);
    background: white;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FFA500;
}

.forgot-link {
    color: #FFA500;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #FF8C00;
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.5);
}

.btn-login:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 15px;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    padding: 12px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2d2d2d;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #FFA500;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.1);
}

.social-btn i {
    font-size: 18px;
}

.register-link {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.register-link a {
    color: #FFA500;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #FF8C00;
    text-decoration: underline;
}

@media (max-width: 968px) {
    .container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .left-section {
        text-align: center;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .logo-container {
        display: flex;
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .features {
        display: none;
    }

    .login-card {
        padding: 30px;
    }
}

.errorReturn{
    text-align: center;
    display: block;
    margin-bottom: 8px;
    color: #ff0800;
    font-weight: 600;
    font-size: 16px;
}

.successMsg{
    color: rgb(94, 186, 0);
}
.mt-2 {
    margin-top: .5rem !important;
}
.generate-pass .field .show-pass {
  width: 45px;
  position: relative;
}
.generate-pass .field .show-pass:before {
  top: 13px;
  left: 16.5px;
  content: "\e95f";
  position: absolute;
  font-family: feather !important;
}
.generate-pass div.progress-bar {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}
.generate-pass div.progress-bar div {
  width: 23%;
  height: 4px;
  border-radius: 25px;
  background-color: #ecedf4;
}

.btn-login{
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    text-decoration: none;
}