* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Poppins', sans-serif;
    }

    body {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      min-height: 100vh;
      display: flex;
      flex-direction: column; /* Added for responsiveness */
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    /* Navbar Styles */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: linear-gradient(135deg, #ff2fbf, #8e2de2);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      padding: 12px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      backdrop-filter: blur(10px);
    }

    .navbar-brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .navbar-logo {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      
      transition: transform 0.3s ease;
    }

    .navbar-logo:hover {
      transform: scale(1.1);
    }

    .navbar-title {
      font-size: 20px;
      font-weight: 700;
      color: white;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
      letter-spacing: 0.5px;
    }

    .navbar-menu {
      position: relative;
    }

    .menu-toggle {
      background: rgba(255, 255, 255, 0.2);
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 8px;
      cursor: pointer;
      padding: 8px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
    }

    .menu-toggle:hover {
      background: rgba(255, 255, 255, 0.3);
      border-color: rgba(255, 255, 255, 0.5);
      transform: scale(1.05);
    }

    .hamburger {
      width: 24px;
      height: 3px;
      background: white;
      border-radius: 2px;
      transition: all 0.3s ease;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .menu-toggle.active {
      background: rgba(255, 255, 255, 0.4);
      transform: scale(1.05);
    }

    .menu-toggle.active .hamburger:nth-child(1) {
      transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active .hamburger:nth-child(2) {
      opacity: 0;
      transform: scale(0);
    }

    .menu-toggle.active .hamburger:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }

    .dropdown-menu {
      position: absolute;
      top: 100%;
      right: 0;
      background: white;
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
      min-width: 220px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-15px) scale(0.95);
      transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      margin-top: 15px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .dropdown-menu.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    .dropdown-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 18px;
      color: #333;
      text-decoration: none;
      transition: all 0.3s ease;
      border-bottom: 1px solid #f0f0f0;
      font-weight: 500;
      position: relative;
      overflow: hidden;
    }

    .dropdown-item::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 0;
      height: 100%;
      background: linear-gradient(135deg, #ff2fbf, #8e2de2);
      transition: width 0.3s ease;
      z-index: -1;
    }

    .dropdown-item:hover::before {
      width: 100%;
    }

    .dropdown-item:hover {
      color: white;
      transform: translateX(5px);
      box-shadow: 0 4px 12px rgba(255, 47, 191, 0.3);
    }

    .dropdown-item:hover img {
      
      transform: scale(1.1);
    }

    .dropdown-item:first-child {
      border-top-left-radius: 12px;
      border-top-right-radius: 12px;
    }

    .dropdown-item:last-child {
      border-bottom: none;
      border-bottom-left-radius: 12px;
      border-bottom-right-radius: 12px;
    }

    .dropdown-item.logout {
      color: #ff4757;
      font-weight: 600;
    }

    .dropdown-item.logout::before {
      background: linear-gradient(135deg, #ff4757, #ff3742);
    }

    .dropdown-item.logout:hover {
      color: white;
      background: rgba(255, 71, 87, 0.1);
    }

    .dropdown-divider {
      height: 2px;
      background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
      margin: 8px 0;
      border: none;
    }

    .dropdown-item img {
      width: 22px;
      height: 22px;
      transition: all 0.3s ease;
      opacity: 0.8;
    }

    /* Animated Welcome Text */
    .welcome-text-container {
      position: fixed;
      top: 65px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 500px;
      height: 30px;
      background: linear-gradient(135deg, #ff2fbf, #8e2de2);
      border-radius: 0 0 10px 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      z-index: 999;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .welcome-text {
      position: relative;
      white-space: nowrap;
      color: white;
      font-weight: 600;
      font-size: 16px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
      animation: slideRightToLeft 15s linear infinite;
      padding: 0 20px;
      width: 100%;
      text-align: center;
    }

    @keyframes slideRightToLeft {
      0% {
        left: 100%;
      }
      100% {
        left: -100%;
      }
    }

    /* Adjust body padding for navbar and welcome text */
    body.has-navbar {
      padding-top: 95px; /* 65 (navbar+offset) + 30 (welcome strip) */
    }

    /* Dashboard container adjustment */
    .dashboard-container {
      margin-top: -2px; /* minimal overlap to remove hairline gap */
      width: 100%;
      max-width: 500px;
      background: white;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      overflow: hidden;
    }

    /* Responsive navbar and welcome text */
    @media (max-width: 520px) {
      .welcome-text-container {
        max-width: calc(100% - 40px);
        top: 65px; /* keep consistent with base */
      }
      
      .welcome-text {
        font-size: 14px;
      }
    }

    @media (max-width: 480px) {
      .navbar {
        padding: 10px 15px;
      }
      
      .navbar-title {
        font-size: 18px;
      }
      
      .navbar-logo {
        width: 40px;
        height: 40px;
        border-radius: 50%;
      }
      
      .dropdown-menu {
        min-width: 200px;
        right: -10px;
      }
      
      .dropdown-item {
        padding: 12px 16px;
        font-size: 14px;
      }

      body.has-navbar {
        padding-top: 95px; /* keep aligned with 65 + 30 */
      }
      
      .welcome-text-container {
        top: 65px; /* align with padding */
      }
      
      .welcome-text {
        font-size: 13px;
      }
    }

    /* Common Styles */
    .container {
      width: 100%;
      max-width: 500px;
      background: white;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      margin: 20px 0;
    }

    .form-container {
      padding: 30px;
    }

    .title {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
      font-size: 24px;
      font-weight: 600;
    }

    .input-group {
      margin-bottom: 15px;
    }

    .input-group label {
      display: block;
      margin-bottom: 5px;
      font-size: 14px;
      color: #555;
    }

    .input-group input, .input-group select, .input-group textarea {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
      transition: all 0.3s;
    }

    .input-group input:focus, .input-group select:focus, .input-group textarea:focus {
      border-color: #8e2de2;
      outline: none;
    }

    .btn {
      width: 100%;
      padding: 12px;
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s;
      margin-top: 10px;
    }

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

    .toggle-form {
      text-align: center;
      margin-top: 20px;
      font-size: 14px;
      color: #555;
    }

    a {
      text-decoration: none;
    }

    a {
      text-decoration: none;
    }

    .toggle-form a {
      color: #8e2de2;
      text-decoration: none;
      font-weight: 500;
    }

    .error-message {
      color: #ff4757;
      font-size: 13px;
      margin-top: 5px;
      text-align: center;
    }

    .success-message {
      color: #2ed573;
      font-size: 13px;
      margin-top: 5px;
      text-align: center;
    }

    /* Pending Approval Styles */
    .pending-container {
      padding: 30px;
      text-align: center;
    }

    .pending-title {
      color: #8e2de2;
      font-size: 22px;
      margin-bottom: 20px;
    }

    .pending-message {
      background: #f8f8f8;
      padding: 20px;
      border-radius: 10px;
      margin-bottom: 20px;
      font-size: 14px;
      color: #555;
      line-height: 1.6;
    }

    .contact-info {
      margin-top: 30px;
      font-size: 14px;
      color: #555;
    }

    .contact-info a {
      color: #8e2de2;
      text-decoration: none;
    }

    /* Dashboard Styles */
    

    .header {
      background: white;
      padding: 15px;
      text-align: center;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      border-radius: 15px;
      margin-bottom: 20px;
    }

    .username {
      font-size: 18px;
      font-weight: 600;
      color: #333;
    }

    .notification-display {
      margin-top: 15px;
      background: #e0f7fa; /* Light blue background */
      border-radius: 10px;
      padding: 10px;
      box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
      display: none; /* Hidden by default, shown when notifications exist */
      text-align: left;
    }

    .notification-item {
      background: #ffffff;
      border: 1px solid #b2ebf2;
      border-radius: 8px;
      padding: 10px;
      margin-bottom: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
    }

    .notification-item.unread {
      background: #e0f2f7; /* Slightly darker for unread */
      border-color: #80deea;
      font-weight: 500;
    }

    .notification-item strong {
      color: #00796b; /* Dark teal for title */
      font-size: 15px;
      display: block;
      margin-bottom: 5px;
    }

    .notification-item p {
      font-size: 13px;
      color: #424242;
      margin-bottom: 5px;
    }

    .notification-item small {
      font-size: 11px;
      color: #757575;
    }

    .mark-read-btn {
      background: #00bcd4; /* Cyan for mark as read button */
      color: white;
      border: none;
      padding: 5px 10px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 11px;
      margin-top: 8px;
      transition: background 0.3s ease;
    }

    .mark-read-btn:hover {
      background: #0097a7;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
      padding: 0 20px 20px;
    }

    .card {
      background: white;
      border-radius: 10px;
      padding: 15px 5px;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      opacity: 0;
      transform: translateY(50px);
      animation: fadeInUp 0.6s forwards;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .card:nth-child(1) { animation-delay: 0.1s; }
    .card:nth-child(2) { animation-delay: 0.2s; }
    .card:nth-child(3) { animation-delay: 0.3s; }
    .card:nth-child(4) { animation-delay: 0.4s; }
    .card:nth-child(5) { animation-delay: 0.5s; }
    .card:nth-child(6) { animation-delay: 0.6s; }
    .card:nth-child(7) { animation-delay: 0.7s; }
    .card:nth-child(8) { animation-delay: 0.8s; }
    .card:nth-child(9) { animation-delay: 0.9s; }
    .card:nth-child(10){ animation-delay: 1s; }
    .card:nth-child(11){ animation-delay: 1.1s; }
    .card:nth-child(12){ animation-delay: 1.2s; }

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

    .card img {
      width: 39px;
      height: 39px;
    }

    .card p {
      margin: 9px 0 0;
      font-weight: bold;
      font-size: 15px;
    }

    .logout-btn {
      background: #ff4757;
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 8px;
      cursor: pointer;
      margin: 20px auto;
      display: block;
      font-size: 16px;
      font-weight: 500;
      transition: all 0.3s;
    }

    .logout-btn:hover {
      opacity: 0.9;
    }

    /* Admin Panel Styles */
    

    .admin-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .admin-title {
      font-size: 20px;
      font-weight: 600;
    }

    .admin-nav {
      display: flex;
      background: #f8f8f8;
      border-bottom: 1px solid #eee;
      overflow-x: auto;
      white-space: nowrap;
      flex-wrap: wrap; /* Added for responsiveness */
      justify-content: center; /* Center items when wrapped */
    }

    .admin-nav-item {
      padding: 10px 15px; /* Adjusted padding for smaller screens */
      cursor: pointer;
      font-weight: 500;
      color: #555;
      border-bottom: 3px solid transparent;
      transition: all 0.3s;
      flex-shrink: 0; /* Prevent items from shrinking */
    }

    .admin-nav-item.active {
      color: #8e2de2;
      border-bottom-color: #8e2de2;
      background: #fff;
    }

    .admin-content {
      padding: 20px;
      min-height: 300px;
    }

    .admin-section {
      display: none;
    }

    .admin-section.active {
      display: block;
    }

    .user-list {
      margin-top: 20px;
    }

    .user-card {
      background: #f8f8f8;
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .user-info {
      flex: 1;
      min-width: 200px;
    }

    .user-name {
      font-weight: 600;
    }

    .user-email {
      font-size: 12px;
      color: #555;
    }

    .user-status {
      font-size: 12px;
      padding: 3px 8px;
      border-radius: 10px;
      background: #ddd;
      color: #333;
    }

    .user-status.pending {
      background: #ffa502;
      color: white;
    }

    .user-status.approved {
      background: #2ed573;
      color: white;
    }

    .user-status.rejected {
      background: #ff4757;
      color: white;
    }

    .action-buttons {
      display: flex;
      gap: 5px;
      margin-top: 10px;
    }

    .action-btn {
      padding: 8px 12px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 12px;
      font-weight: 500;
      transition: all 0.3s;
    }

    .approve-btn {
      background: #2ed573;
      color: white;
    }

    .reject-btn {
      background: #ff4757;
      color: white;
    }

    .view-btn {
      background: #3498db;
      color: white;
    }

    .stats-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
      margin-bottom: 20px;
    }

    .stat-card {
      background: #f8f8f8;
      padding: 15px;
      border-radius: 8px;
      text-align: center;
    }

    .stat-value {
      font-size: 24px;
      font-weight: 600;
      color: #8e2de2;
    }

    .stat-label {
      font-size: 14px;
      color: #555;
    }

    /* Work Menu Styles */
    

    .work-menu-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .work-menu-content {
      padding: 15px;
      max-height: 500px;
      overflow-y: auto;
    }

    .menu-item {
      background: #d4e9ff;
      margin: 10px 0;
      padding: 10px 15px;
      border-radius: 30px;
      color: #333;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      transform: translateX(-20px);
      opacity: 0;
      animation: slideIn 0.5s forwards;
    }

    @keyframes slideIn {
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    .menu-item:nth-child(1) { animation-delay: 0.1s; }
    .menu-item:nth-child(2) { animation-delay: 0.2s; }
    .menu-item:nth-child(3) { animation-delay: 0.3s; }
    .menu-item:nth-child(4) { animation-delay: 0.4s; }
    .menu-item:nth-child(5) { animation-delay: 0.5s; }
    .menu-item:nth-child(6) { animation-delay: 0.6s; }
    .menu-item:nth-child(7) { animation-delay: 0.7s; }
    .menu-item:nth-child(8) { animation-delay: 0.8s; }
    .menu-item:nth-child(9) { animation-delay: 0.9s; }
    .menu-item:nth-child(10) { animation-delay: 1.0s; }

    .menu-item:hover {
      background: #a7ccff;
      transition: 0.3s;
    }

    .menu-icon {
      color: #ff2fbf;
    }

    .back-btn {
      background: #3498db;
      color: white;
      border: none;
      padding: 10px 15px;
      border-radius: 5px;
      cursor: pointer;
      margin: 15px auto 0; /* Adjusted margin for centering and pushing to bottom */
      display: block; /* Make it a block element to apply margin: auto */
      font-weight: 500;
      transition: all 0.3s;
      text-decoration: none; /* Remove underline */
      text-align: center; /* Center the text inside the button */
    }

    .back-btn:hover {
      opacity: 0.9;
    }

    /* Help Line Styles */
    

    .help-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .help-content {
      padding: 20px;
      background: linear-gradient(to bottom right, #ff2fbf, #8e2de2);
      color: white;
      text-align: center;
    }

    .help-box {
      background: rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 19px;
      width: 100%;
      text-align: center;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
      animation: fadeIn 1s ease forwards;
      opacity: 0;
      transform: translateY(30px);
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .help-content h2 {
      margin-bottom: 20px;
      font-size: 24px;
    }

    .link-button {
      display: block;
      background: #fff;
      color: #8e2de2;
      margin: 10px 0;
      padding: 12px 20px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      transition: all 0.3s;
    }

    .link-button:hover {
      background: #8e2de2;
      color: #fff;
      transform: scale(1.05);
    }

    .whatsapp {
      margin-top: 20px;
      font-size: 18px;
    }

    .whatsapp span {
      display: inline-block;
      animation: pulse 1s infinite alternate;
    }

    @keyframes pulse {
      from { transform: scale(1); }
      to { transform: scale(1.1); color: #00ffcc; }
    }

    .name-link {
      margin-top: 10px;
      font-size: 20px;
      font-weight: bold;
      color: #fff;
      text-decoration: none;
      transition: color 0.3s ease;
      display: block;
    }

    .name-link:hover {
      color: #000;
      text-decoration: underline;
    }

    /* Profile Level Styles */
    

    .profile-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .profile-content {
      padding: 20px;
    }

    .level-container {
      text-align: center;
      margin-bottom: 20px;
    }

    .level-display {
      font-size: 24px;
      font-weight: bold;
      color: #8e2de2;
      margin-bottom: 10px;
    }

    .points-display {
      font-size: 18px;
      color: #555;
      margin-bottom: 20px;
    }

    .progress-container {
      width: 100%;
      height: 20px;
      background: #f0f0f0;
      border-radius: 10px;
      margin-bottom: 20px;
      overflow: hidden;
    }

    .progress-bar {
      height: 100%;
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      border-radius: 10px;
      transition: width 0.5s ease;
    }

    .level-rewards {
      margin-top: 20px;
    }

    .reward-item {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      padding: 10px;
      background: #f8f8f8;
      border-radius: 8px;
    }

    .reward-icon {
      width: 30px;
      height: 30px;
      margin-right: 10px;
      color: #8e2de2;
    }

    .reward-text {
      flex: 1;
      font-size: 14px;
    }

    .reward-achieved {
      color: #2ed573;
      font-weight: bold;
    }

    /* Referral Styles */
    

    .referral-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .referral-content {
      padding: 20px;
    }

    .referral-code-box {
      background: #f8f8f8;
      padding: 15px;
      border-radius: 10px;
      text-align: center;
      margin-bottom: 20px;
    }

    .referral-code {
      font-size: 24px;
      font-weight: bold;
      color: #8e2de2;
      margin: 10px 0;
    }

    .copy-btn {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 500;
      transition: all 0.3s;
      margin-top: 10px;
    }

    .copy-btn:hover {
      opacity: 0.9;
    }

    .referral-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      margin-bottom: 20px;
    }

    .stat-box {
      background: #f8f8f8;
      padding: 15px;
      border-radius: 10px;
      text-align: center;
    }

    .stat-value {
      font-size: 20px;
      font-weight: bold;
      color: #8e2de2;
    }

    .stat-label {
      font-size: 14px;
      color: #555;
    }

    .referral-link {
      margin-top: 20px;
      padding: 15px;
      background: #f0f0f0;
      border-radius: 10px;
      word-break: break-all;
    }

    .history-container {
      margin-top: 20px;
      max-height: 300px;
      overflow-y: auto;
    }

    .history-item {
      background: #f8f8f8;
      padding: 12px;
      border-radius: 8px;
      margin-bottom: 10px;
      font-size: 13px;
      border-left: 4px solid #8e2de2;
      line-height: 1.5;
    }

    .history-list {
      max-height: 250px;
      overflow-y: auto;
      border: 1px solid #eee;
      border-radius: 8px;
      padding: 10px;
      background: #fdfdfd;
    }

    .history-item .date {
      font-size: 12px;
      color: #777;
      margin-top: 5px;
    }

    /* History Styles */
    

    .history-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .history-content {
      padding: 20px;
      max-height: 500px;
      overflow-y: auto;
    }

    .history-list {
      margin-top: 15px;
    }

    .history-entry {
      background: #f8f8f8;
      padding: 12px;
      border-radius: 8px;
      margin-bottom: 10px;
    }

    .history-type {
      font-weight: bold;
      color: #8e2de2;
    }

    .history-details {
      margin-top: 5px;
      font-size: 14px;
    }

    .history-date {
      font-size: 12px;
      color: #777;
      margin-top: 5px;
      text-align: right;
    }

    /* Notice Board Styles */
    

    .notice-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .notice-content {
      padding: 20px;
      background: linear-gradient(to bottom right, #ff2fbf, #8e2de2);
      color: white;
      text-align: center;
    }

    .notice-box {
      background: rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 19px;
      width: 100%;
      text-align: left;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
      animation: fadeIn 1s ease forwards;
      opacity: 0;
      transform: translateY(30px);
    }

    .notice-box h2 {
      text-align: center;
      margin-bottom: 15px;
    }

    .notice-box p {
      margin-bottom: 10px;
      line-height: 1.5;
    }

    /* Offer Page Styles */
    

    .offer-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .offer-content {
      padding: 20px;
      background: linear-gradient(to bottom right, #ff2fbf, #8e2de2);
      color: white;
      text-align: center;
    }

    .offer-box {
      background: rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 19px;
      width: 100%;
      text-align: center;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
      animation: fadeIn 1s ease forwards;
      opacity: 0;
      transform: translateY(30px);
    }

    .offer-box h2 {
      margin-bottom: 20px;
      font-size: 24px;
    }

    .offer-box p {
      margin-bottom: 15px;
      line-height: 1.5;
      text-align: left;
    }

    /* Leaderboard Styles */
    

    .leaderboard-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .leaderboard-content {
      padding: 20px;
    }

    .leaderboard-list {
      margin-top: 15px;
      max-height: 500px;
      overflow-y: auto;
    }

    .leaderboard-item {
      display: flex;
      align-items: center;
      padding: 12px;
      background: #f8f8f8;
      border-radius: 8px;
      margin-bottom: 10px;
    }

    .leaderboard-rank {
      width: 30px;
      height: 30px;
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      margin-right: 15px;
    }

    .leaderboard-user {
      flex: 1;
    }

    .leaderboard-name {
      font-weight: bold;
    }

    .leaderboard-points {
      font-size: 14px;
      color: #555;
    }

    /* Balance Page Styles */
    

    .balance-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .balance-content {
      padding: 20px;
    }

    .balance-display {
      background: #f8f8f8;
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      margin-bottom: 20px;
    }

    .balance-amount {
      font-size: 32px;
      font-weight: bold;
      color: #8e2de2;
      margin: 10px 0;
    }

    .points-display-balance {
      font-size: 24px;
      color: #555;
      margin-bottom: 20px;
    }

    .convert-btn {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      border: none;
      padding: 12px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      width: 100%;
      margin-top: 10px;
      transition: all 0.3s;
    }

    .convert-btn:hover {
      opacity: 0.9;
    }

    .convert-btn:disabled {
      background: #ccc;
      cursor: not-allowed;
    }

    /* Withdraw Page Styles */
    

    .withdraw-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .withdraw-content {
      padding: 20px;
    }

    .balance-display-withdraw {
      background: #f8f8f8;
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      margin-bottom: 20px;
    }

    .withdraw-message {
      background: #f8f8f8;
      padding: 20px;
      border-radius: 10px;
      margin-bottom: 20px;
      font-size: 14px;
      color: #555;
      line-height: 1.6;
      display: none;
    }

    .withdraw-form {
      margin-top: 20px;
    }

    .withdraw-btn {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      border: none;
      padding: 12px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      width: 100%;
      margin-top: 10px;
      transition: all 0.3s;
    }

    .withdraw-btn:hover {
      opacity: 0.9;
    }

    .withdraw-btn:disabled {
      background: #ccc;
      cursor: not-allowed;
    }

    /* Back To Dashboard Button Styles */
    .back-to-dashboard {
      margin-top: 30px;
      text-align: center;
    }

  .back-to-dashboard-btn {
      background: linear-gradient(135deg, #ff2fbf, #8e2de2);
      color: white;
      border: none;
      padding: 12px 30px;
      border-radius: 25px;
      font-size: 16px;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(255, 47, 191, 0.3);
    }
    
    .back-to-dashboard-btn:hover {
      background: linear-gradient(135deg, #ff2fbf, #8e2de2);
      opacity: 0.9;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(255, 47, 191, 0.4);
    }

    .back-to-dashboard-btn:active {
      transform: translateY(0);
    }

    .back-to-dashboard-btn i {
      font-size: 18px;
    }

    /* Screenshot Page Styles */
    

    .screenshot-header {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      padding: 15px;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
    }

    .screenshot-content {
      padding: 20px;
    }

    .screenshot-form {
      margin-bottom: 20px;
    }

    .screenshot-list {
      margin-top: 20px;
      max-height: 400px;
      overflow-y: auto;
    }

    .screenshot-item {
      background: #f8f8f8;
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 15px;
      position: relative;
    }

    .screenshot-image {
      width: 100%;
      border-radius: 5px;
      margin-bottom: 10px;
    }

    .screenshot-status {
      position: absolute;
      top: 10px;
      right: 10px;
      padding: 3px 8px;
      border-radius: 10px;
      font-size: 12px;
      font-weight: bold;
    }

    .status-pending {
      background: #ffa502;
      color: white;
    }

.status-approved {
  background-color: #28a745;
  color: white;
}

.status-active {
  background-color: #28a745;
  color: white;
}

    .status-rejected {
      background: #ff4757;
      color: white;
    }

    .screenshot-date {
      font-size: 12px;
      color: #777;
      margin-top: 5px;
    }

    .add-screenshot-btn {
      background: linear-gradient(to right, #ff2fbf, #8e2de2);
      color: white;
      border: none;
      padding: 10px;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      font-size: 24px;
      cursor: pointer;
      position: fixed;
      bottom: 30px;
      right: 30px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      transition: all 0.3s;
    }

    .add-screenshot-btn:hover {
      transform: scale(1.1);
    }

    /* Admin Screenshot Styles */
    .screenshot-admin-item {
      background: #f8f8f8;
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 15px;
    }

    .screenshot-admin-image {
      width: 100%;
      border-radius: 5px;
      margin-bottom: 10px;
    }

    .screenshot-admin-info {
      margin-bottom: 10px;
    }

    .screenshot-admin-user {
      font-weight: bold;
    }

    /* User Details Modal */
    

    .modal-content {
      background-color: white;
      padding: 20px;
      border-radius: 10px;
      width: 90%;
      max-width: 500px;
      max-height: 80vh;
      overflow-y: auto;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .modal-title {
      font-size: 20px;
      font-weight: bold;
      color: #8e2de2;
    }

    .close-modal {
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: #555;
    }

    .modal-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px;
    }

    .modal-action-btn {
      padding: 10px 15px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 500;
      transition: all 0.3s;
    }

    .delete-btn {
      background: #ff4757;
      color: white;
    }

    .add-points-btn {
      background: #2ed573;
      color: white;
    }

    .remove-points-btn {
      background: #ffa502;
      color: white;
    }

    .add-bdt-btn {
      background: #3498db;
      color: white;
    }

    .points-input {
      width: 100%;
      padding: 10px;
      margin-top: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
    }

    /* Responsive Styles */
    @media (max-width: 500px) {
      .grid {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .stats-container {
        grid-template-columns: 1fr;
      }
      
      .admin-nav {
        flex-wrap: wrap;
      }
      
      .admin-nav-item {
        padding: 8px 12px; /* Further adjusted padding for very small screens */
        font-size: 12px; /* Smaller font size for very small screens */
      }
      
      .user-card {
        flex-direction: column;
        align-items: flex-start;
      }
      
      .action-buttons {
        align-self: flex-end;
      }

      .menu-item {
        padding: 12px 15px;
        font-size: 14px;
      }

      .referral-stats {
        grid-template-columns: 1fr;
      }

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

      .modal-action-btn {
        width: 100%;
      }

      .add-screenshot-btn {
        bottom: 20px;
        right: 20px;
      }
    }

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


/* Navbar width adjustment to match project layout */
.navbar {
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 500px !important;
  border-radius: 0 0 15px 15px !important;
}

@media (max-width: 520px) {
  .navbar {
    max-width: calc(100% - 40px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* Enhanced Work Menu Styles */
.menu-item {
  background: #d4e9ff !important;
  margin: 10px 0 !important;
  padding: 15px !important;
  border-radius: 30px !important;
  color: #333 !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  cursor: pointer !important;
  transform: translateX(-20px) !important;
  opacity: 0 !important;
  animation: slideIn 0.5s forwards !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.menu-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #ff2fbf, #8e2de2);
  transition: width 0.3s ease;
  z-index: -1;
}

.menu-item:hover::before {
  width: 100%;
}

.menu-item:hover {
  background: #a7ccff !important;
  color: white !important;
  transform: translateX(5px) scale(1.02) !important;
  box-shadow: 0 5px 15px rgba(255, 47, 191, 0.3) !important;
}

.menu-item:hover .menu-icon {
  transform: scale(1.2);
}

.menu-item:hover .work-points {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.menu-icon {
  color: #ff2fbf !important;
  font-size: 20px !important;
  margin-right: 10px !important;
  transition: all 0.3s ease !important;
}

.work-points {
  background: linear-gradient(135deg, #ff2fbf, #8e2de2) !important;
  color: white !important;
  padding: 5px 12px !important;
  border-radius: 15px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}

.menu-item-content {
  display: flex;
  align-items: center;
  flex: 1;
}

/* Balance Container Fix */
.balance-container {
  width: 100% !important;
  max-width: 500px !important;
  background: white !important;
  border-radius: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  overflow: hidden !important;
  margin: 20px auto !important;
}

/* Dashboard Logout Button Fix */
.logout-btn {
  background: linear-gradient(135deg, #ff4757, #ff3742) !important;
  color: white !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 25px !important;
  cursor: pointer !important;
  margin: 20px auto !important;
  display: block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  text-align: center !important;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3) !important;
}

.logout-btn:hover {
  background: linear-gradient(135deg, #ff3742, #ff2730) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4) !important;
}

.logout-btn:active {
  transform: translateY(0) !important;
}

/* Container fixes for all pages */
.history-container-full,
.leaderboard-container,
.notice-container,
.screenshot-container {
  width: 100% !important;
  max-width: 500px !important;
  background: white !important;
  border-radius: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  overflow: hidden !important;
  margin: 20px auto !important;
}

/* Enforce consistent desktop width for remaining containers */
.profile-container,
.offer-container {
  width: 100% !important;
  max-width: 500px !important;
  background: white !important;
  border-radius: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  overflow: hidden !important;
  margin: 20px auto !important;
}

/* Unified Back to Dashboard button style */
.back-btn {
  background: linear-gradient(135deg, #ff2fbf, #8e2de2) !important;
  color: white !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 25px !important;
  cursor: pointer !important;
  margin: 20px auto !important;
  display: block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  text-align: center !important;
  box-shadow: 0 4px 15px rgba(255, 47, 191, 0.3) !important;
}

.back-btn:hover {
  background: linear-gradient(135deg, #ff2fbf, #8e2de2) !important;
  opacity: 0.9 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 47, 191, 0.4) !important;
}

.back-btn:active {
  transform: translateY(0) !important;
}

/* Social Media Section */
.social-media-section {
  background: #f8f8f8;
  margin: 20px;
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #e0e0e0;
}

.social-icons {
  display: flex;
  justify-content: space-around;
  gap: 15px;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 80px;
}

.social-icon img {
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.social-icon span {
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.social-icon.facebook:hover {
  background: #1877f2;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(24, 119, 242, 0.3);
}

.social-icon.facebook:hover span {
  color: white;
}

.social-icon.facebook:hover img {
  
  transform: scale(1.2);
}

.social-icon.youtube:hover {
  background: #ff0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.3);
}

.social-icon.youtube:hover span {
  color: white;
}

.social-icon.youtube:hover img {
  
  transform: scale(1.2);
}

.social-icon.telegram:hover {
  background: #0088cc;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 136, 204, 0.3);
}

.social-icon.telegram:hover span {
  color: white;
}

.social-icon.telegram:hover img {
  
  transform: scale(1.2);
}

@media (max-width: 480px) {
  .social-icons {
    flex-direction: column;
    gap: 10px;
  }
  
  .social-icon {
    flex-direction: row;
    justify-content: center;
    min-width: auto;
    width: 100%;
  }
  
  .social-icon img {
    margin-bottom: 0;
    margin-right: 10px;
  }
}

.main-title {
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.vip-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.vip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.vip-card h2 {
    background: linear-gradient(to right, #ff2fbf, #8e2de2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.vip-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
}

.vip-card .details {
    text-align: left;
    margin-bottom: 1.5rem;
    color: #555;
}

.vip-card .details p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.buy-now {
    background: linear-gradient(to right, #ff2fbf, #8e2de2);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    text-transform: uppercase;
}

.buy-now:hover {
    background: linear-gradient(to right, #8e2de2, #ff2fbf);
    transform: scale(1.05);
}

.vip-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.vip-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: #ff2fbf;
    transition: transform 0.3s;
}

.vip-card:hover .vip-icon {
    transform: scale(1.2);
}

.vip-card .details p i {
    margin-right: 0.5rem;
    color: #8e2de2;
}

.vip-card {
    padding: 1.5rem; /* Reduced padding to decrease height */
}

.validity {
    font-weight: bold;
    color: #ff2fbf;
    margin-top: 1rem;
}
