      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: "Cairo", sans-serif;
        background: hsl(220 25% 8% / 1);
        color: #fff;
        overflow-x: hidden;
      }

      body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            to right,
            hsl(240 10% 20%) 1px,
            transparent 1px
          ),
          linear-gradient(to bottom, hsl(240 10% 20%) 1px, transparent 1px);
        background-size: 50px 50px;
        pointer-events: none;
        z-index: 0;
      }

      nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 5%;
        position: fixed;
        width: 100%;
        top: 0;
        backdrop-filter: blur(10px);
        z-index: 1000;
        border-bottom: 1px solid rgba(124, 58, 237, 0.1);
        background: rgba(10, 14, 39, 0.8);
      }

      .logo {
        display: flex;
        align-items: center;
        cursor: pointer;
        transition: transform 0.3s ease;
      }

      .logo:hover {
        transform: scale(1.05);
      }

      .logo img {
        height: 40px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
      }

      .nav-links {
        display: flex;
        gap: 2rem;
        list-style: none;
      }

      .nav-links a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
      }

      .nav-links a:hover,
      .nav-links a.active {
        color: #7c3aed;
      }

      .nav-links a.active {
        color: #7c3aed;
        font-weight: bold;
      }

      /* Mobile nav controls */
      .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
        padding: 0.5rem;
      }

      /* Mobile-only items (Settings, Logout) */
      .mobile-only {
        display: none;
      }

      /* Icon + text layout like home/contact */
      .nav-links a {
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .nav-links a i {
        width: 20px;
        text-align: center;
      }

      /* Hamburger lines */
      .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
      }

      .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
      }

      .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
      }

      .hamburger {
        width: 25px;
        height: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }

      .hamburger-line {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 999px;
        transition: all 0.3s;
      }

      .nav-btn {
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        color: white;
        border: none;
        padding: 0.7rem 1.5rem;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        transition: transform 0.3s;
      }

      .nav-btn:hover {
        transform: translateY(-2px);
      }

      .container {
        margin-top: 5rem;
        padding: 2rem 5%;
        position: relative;
        z-index: 1;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
      }

      .page-header {
        margin-bottom: 2rem;
      }

      .page-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
      }

      .highlight {
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      .page-subtitle {
        color: #94a3b8;
        font-size: 1rem;
      }

      .settings-layout {
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 2rem;
      }

      .settings-sidebar {
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(124, 58, 237, 0.2);
        border-radius: 12px;
        padding: 1.5rem;
        backdrop-filter: blur(10px);
        height: fit-content;
      }

      .sidebar-title {
        font-size: 0.85rem;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 1rem;
      }

      .sidebar-menu {
        list-style: none;
      }

      .sidebar-item {
        padding: 0.8rem 1rem;
        margin-bottom: 0.3rem;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s;
        color: #cbd5e1;
        font-size: 0.95rem;
      }

      .sidebar-item:hover {
        background: rgba(124, 58, 237, 0.1);
        color: #fff;
      }

      .sidebar-item.active {
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        color: white;
      }

      .settings-content {
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(124, 58, 237, 0.2);
        border-radius: 12px;
        padding: 2rem;
        backdrop-filter: blur(10px);
      }

      .section-header {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(124, 58, 237, 0.2);
      }

      .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
      }

      .section-description {
        color: #94a3b8;
        font-size: 0.9rem;
      }

      .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
      }

      .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }

      .form-group.full-width {
        grid-column: 1 / -1;
      }

      .form-label {
        color: #cbd5e1;
        font-weight: 600;
        font-size: 0.9rem;
      }

      .form-label .required {
        color: #ef4444;
        margin-left: 0.2rem;
      }

      .form-input,
      .form-select {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(124, 58, 237, 0.3);
        color: white;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        font-size: 0.95rem;
        transition: all 0.3s;
        font-family: "Cairo", sans-serif;
        width: 100%;
        min-height: 44px; /* keep inputs and selects same height */
        direction: rtl;
      }

      .form-input:focus,
      .form-select:focus {
        outline: none;
        border-color: #7c3aed;
        background: rgba(0, 0, 0, 0.4);
      }

      .form-select {
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
      }

      .form-select option {
        background: hsl(220 25% 8% / 1);
        color: white;
      }

      .form-hint {
        color: #94a3b8;
        font-size: 0.8rem;
        margin-top: 0.3rem;
      }

      .form-actions {
        margin-top: 2rem;
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
      }

      .btn {
        padding: 0.8rem 2rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s;
        border: none;
        font-family: "Cairo", sans-serif;
      }

      .btn-primary {
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        color: white;
      }

      .btn-primary:hover {
        transform: translateY(-2px);
      }

      .btn-secondary {
        background: rgba(124, 58, 237, 0.2);
        border: 1px solid rgba(124, 58, 237, 0.3);
        color: #a855f7;
      }

      .btn-secondary:hover {
        background: rgba(124, 58, 237, 0.3);
      }

      .profile-picture-section {
        display: flex;
        align-items: center;
        gap: 2rem;
        padding: 1.5rem;
        background: rgba(124, 58, 237, 0.05);
        border-radius: 12px;
        margin-bottom: 2rem;
      }

      .profile-picture {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        font-weight: bold;
        color: white;
      }

      .profile-picture-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }

      .profile-picture-title {
        font-weight: 600;
        margin-bottom: 0.3rem;
      }

      .profile-picture-hint {
        color: #94a3b8;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
      }

      .upload-btn {
        background: rgba(124, 58, 237, 0.2);
        border: 1px solid rgba(124, 58, 237, 0.3);
        color: #a855f7;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        font-size: 0.85rem;
        transition: all 0.3s;
        width: fit-content;
      }

      .upload-btn:hover {
        background: rgba(124, 58, 237, 0.3);
      }

      @media (max-width: 1024px) {
        .settings-layout {
          grid-template-columns: 1fr;
        }

        .settings-sidebar {
          display: none;
        }

        .form-grid {
          grid-template-columns: 1fr;
        }
      }

      @media (max-width: 768px) {
        .page-title {
          font-size: 2rem;
        }

        .logo img {
          height: 32px;
          max-width: 120px;
        }

        /* Slide-in mobile nav like home page */
        .nav-links {
          position: fixed;
          top: 0;
          left: -100%;
          height: 100vh;
          width: 70%;
          max-width: 300px;
          background: rgba(10, 14, 39, 0.98);
          backdrop-filter: blur(20px);
          flex-direction: column;
          padding: 5rem 2rem 2rem;
          gap: 1.5rem;
          transition: left 0.3s ease;
          border-right: 1px solid rgba(124, 58, 237, 0.2);
          z-index: 999;
        }

        .nav-links.active {
          left: 0;
        }

        .nav-links a {
          font-size: 1.2rem;
          padding: 0.5rem 0;
          border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-menu-btn {
          display: block;
        }

        .mobile-only {
          display: block;
          margin-top: 1rem;
          padding-top: 1rem;
          border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .container {
          padding: 2rem 3%;
        }

        .settings-content {
          padding: 1.5rem;
        }

        .profile-picture-section {
          flex-direction: column;
          text-align: center;
        }

        .form-actions {
          flex-direction: column;
        }

        .btn {
          width: 100%;
        }

        #logout-btn, #start-btn {
          display: none;
        }
      }
