/* login-registar  */
.form-container {
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  .form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    color: #111827;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
  }

  .input-icon {
    position: relative;
  }

  .input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 18px;
  }

  .input-icon input {
    width: 100%;
    padding: 10px 12px 10px 38px; /* left padding for icon */
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    transition: 0.3s border-color, 0.3s box-shadow;
  }

  .input-icon input:focus {
    outline: none;
    border-color: #2fd38a;
    box-shadow: 0 0 5px rgba(47,211,138,0.4);
  }

  .btn-submit {
    background: #2fd38a;
    color: #fff;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s background;
  }

  .btn-submit:hover {
    background: #28c37a;
  }

  .login-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #6b7280;
  }

  .login-link a {
    color: #2fd38a;
    text-decoration: none;
  }

  .login-link a:hover {
    text-decoration: underline;
  }

 /* STICKY TOPBAR hedar */

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    transition: 0.3s background;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;               /* full width */
    z-index: 9999;
    background: #0b65ecfb;
    color: #fff;
    padding: 16px 20px;      /* slightly taller for better mobile spacing */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* BRAND */
.brand a {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

/* DESKTOP MENU */
.menu-desktop {
    display: flex;
    gap: 20px;
}
.menu-desktop a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s color;
}
.menu-desktop a:hover {
    color: #00e1ff;
}

/* MOBILE BUTTON */
.mobile-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
    background: #1f2937;
    position: absolute;
    top: 64px;             /* match actual topbar height */
    left: 0;
    right: 0;              /* full width */
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    z-index: 9998;
    box-sizing: border-box;
}
.mobile-menu a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 1px solid #2d3748;
}
.mobile-menu a:hover {
    background: #111827;
}

/* PAGE CONTENT SPACING */
.page-content {
    margin-top: 75px;       /* equal to topbar height */
    padding: 0px;
}

/* RESPONSIVE */
@media (max-width: 880px) {
    .menu-desktop { display: none; }
    .mobile-btn { display: block; }
}