    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(180deg, #6BA3B0 0%, #8FB5C0 100%);
      min-height: 100vh;
      overflow-x: hidden;
    }
    
    html {
      overflow-x: hidden;
    }
    
    .header {
      background: #134F5C;
      color: white;
      padding: clamp(20px, 2vw, 25px) clamp(20px, 2vw, 30px);
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 4px solid #45818E;
    }
    
    .logo-container {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .logo-icon {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }
    
    .logo-text {
      font-size: 24px;
      font-weight: bold;
      color: white;
    }
    
    .page-title-header {
      font-size: clamp(20px, 2vw, 24px);
      font-weight: bold;
      color: white;
      margin-left: clamp(15px, 1.5vw, 20px);
    }
    
    .nav-menu {
      display: flex;
      gap: clamp(15px, 1.5vw, 25px);
      align-items: center;
      flex: 1;
      justify-content: center;
    }
    
    .nav-item {
      color: white;
      text-decoration: none;
      font-size: clamp(14px, 1.3vw, 16px);
      font-weight: 500;
      transition: all 0.2s;
      padding: clamp(5px, 0.5vw, 8px) clamp(10px, 1vw, 15px);
      border-radius: 5px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      background: rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:hover {
      background: rgba(255, 255, 255, 0.2);
      border-color: rgba(255, 255, 255, 0.5);
    }
    
    .account-container {
      position: relative;
    }
    
    .account-button {
      background: rgba(255, 255, 255, 0.1);
      border: 4px solid #45818E;
      color: white;
      padding: clamp(8px, 0.8vw, 10px) clamp(15px, 1.5vw, 20px);
      border-radius: 5px;
      cursor: pointer;
      font-size: clamp(12px, 1.2vw, 14px);
      font-weight: 500;
      transition: background 0.3s;
      display: flex;
      align-items: center;
      gap: clamp(6px, 0.6vw, 8px);
    }
    
    .account-button:hover {
      background: rgba(255, 255, 255, 0.2);
    }
    
    .account-dropdown {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      min-width: 200px;
      display: none;
      overflow: hidden;
      border: 4px solid #45818E;
    }
    
    .account-dropdown.show {
      display: block;
    }
    
    .account-dropdown-header {
      padding: 15px;
      background: #f8f9fa;
      border-bottom: 1px solid #e0e0e0;
      font-weight: 600;
      color: #333;
    }
    
    .account-dropdown-separator {
      height: 1px;
      background: #e0e0e0;
      margin: 0;
    }
    
    .account-dropdown-item {
      padding: 12px 15px;
      color: #333;
      cursor: pointer;
      transition: background 0.2s;
      display: block;
      text-decoration: none;
      border: none;
      width: 100%;
      text-align: left;
      font-size: 14px;
      background: white;
    }
    
    .account-dropdown-item:hover {
      background: #f5f5f5;
    }
    
    .add-user-button {
      background: rgba(255, 255, 255, 0.1);
      border: 4px solid #45818E;
      color: white;
      padding: clamp(8px, 0.8vw, 10px);
      width: clamp(40px, 4vw, 45px);
      height: clamp(40px, 4vw, 45px);
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .add-user-button:hover {
      background: rgba(255, 255, 255, 0.2);
    }
    
    /* Dialog Styles */
    .dialog-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      display: none !important;
      align-items: center;
      justify-content: center;
      z-index: 99999 !important;
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.2s;
    }
    
    .dialog-overlay.show {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
    
    .dialog {
      background: white;
      border-radius: 10px;
      padding: 25px;
      max-width: 500px;
      width: 90%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      border: 4px solid #45818E;
    }
    
    .dialog-title {
      font-size: 20px;
      font-weight: bold;
      color: #134F5C;
      margin-bottom: 20px;
    }
    
    .dialog-content {
      margin-bottom: 20px;
    }
    
    .dialog-field {
      margin-bottom: 15px;
    }
    
    .dialog-field label {
      display: block;
      margin-bottom: 5px;
      color: #333;
      font-weight: 500;
    }
    
    .dialog-field input,
    .dialog-field select,
    .dialog-field textarea {
      width: 100%;
      padding: 8px;
      border: 2px solid #45818E;
      border-radius: 5px;
      font-size: 14px;
    }
    
    .dialog-field textarea {
      resize: vertical;
      min-height: 60px;
    }
    
    .duration-fields {
      display: flex;
      gap: 10px;
    }
    
    .duration-fields input {
      flex: 1;
    }
    
    .dialog-buttons {
      display: flex;
      gap: 10px;
      justify-content: flex-end;
    }
    
    .dialog-button {
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
      transition: background 0.2s;
    }
    
    .dialog-button-primary {
      background: #134F5C;
      color: white;
    }
    
    .dialog-button-primary:hover {
      background: #0d3a42;
    }
    
    .dialog-button-secondary {
      background: #ccc;
      color: #333;
    }
    
    .dialog-button-secondary:hover {
      background: #bbb;
    }
    
    .dialog-button-danger {
      background: #d32f2f;
      color: white;
    }
    
    .dialog-button-danger:hover {
      background: #b71c1c;
    }
    
    .message-dialog-success .dialog-title {
      color: #2e7d32;
    }
    
    .message-dialog-error .dialog-title {
      color: #d32f2f;
    }
    
    .message-dialog-info .dialog-title {
      color: #1976d2;
    }
    
    .content {
      padding: 2vw;
      max-width: 95vw;
      margin: 0 auto;
      width: 100%;
    }
    
    .page-title {
      font-size: clamp(24px, 3vw, 32px);
      color: white;
      margin-bottom: 2vw;
    }
    
    /* Dashboard Section */
    .dashboard-section {
      min-height: 12vh;
      margin-bottom: 2vw;
      background: linear-gradient(180deg, #45818E 0%, #6BA3B0 100%);
      border-radius: 10px;
      padding: 1.5vw;
      padding-top: 3.5vw;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      display: flex;
      color: white;
      position: relative;
      width: 100%;
      border: 4px solid #45818E;
      flex-wrap: wrap;
      align-items: stretch;
    }
    
    .dashboard-title {
      position: absolute;
      top: -1vw;
      left: 1.5vw;
      font-size: clamp(18px, 2vw, 26px);
      font-weight: bold;
      color: white;
      background: #134F5C;
      padding: 0.4vw 1.2vw;
      border-radius: 5px;
      border: 4px solid #134F5C;
      text-transform: uppercase;
      letter-spacing: 2px;
    }
    
    .stat-card {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: clamp(10px, 1vw, 15px) clamp(15px, 1.5vw, 20px);
      position: relative;
      min-width: 0;
      overflow: hidden;
    }
    
    .stat-card:not(:last-child)::after {
      content: '';
      position: absolute;
      right: 0;
      top: 10%;
      bottom: 10%;
      width: 1px;
      background: rgba(255, 255, 255, 0.3);
    }
    
    .stat-label {
      font-size: clamp(14px, 1.5vw, 20px);
      font-weight: bold;
      color: white;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 0.8vw;
      text-align: center;
    }
    
    .stat-value {
      font-size: clamp(24px, 2.5vw, 32px);
      color: rgba(255, 255, 255, 0.9);
      font-weight: bold;
      text-align: center;
      word-wrap: break-word;
      overflow-wrap: break-word;
      max-width: 100%;
      line-height: 1.2;
    }
    
    .stat-value.no-data {
      font-size: clamp(12px, 1vw, 14px);
      color: rgba(255, 255, 255, 0.7);
      font-weight: normal;
      font-style: italic;
      text-align: center;
    }
    
    /* Panels Section */
    .panels-section {
      display: flex;
      gap: 1.5vw;
      height: calc(100vh - 25vh); /* Fixed height based on viewport, responsive ratio */
      min-height: 450px; /* Minimum height for small screens */
      max-height: 900px; /* Maximum height for very large screens */
      width: 100%;
    }
    
    @media (max-width: 768px) {
      .panels-section {
        height: calc(100vh - 30vh);
        min-height: 350px;
      }
    }
    
    @media (min-width: 1920px) {
      .panels-section {
        height: calc(100vh - 20vh);
        max-height: 1000px;
      }
    }
    
    .panel {
      flex: 1;
      background: #45818E;
      border-radius: 10px;
      padding: 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      border: 4px solid #45818E;
      height: 100%; /* Fixed height matching parent */
      max-height: 100%; /* Prevent overflow */
    }
    
    .panel.panel-wide {
      flex: 2.1;
    }
    
    .panel:nth-child(1) {
      background: #45818E;
    }
    
    .panel:nth-child(2) {
      background: #45818E;
    }
    
    .panel:nth-child(3) {
      background: #45818E;
    }
    
    .panel:nth-child(4) {
      background: #45818E;
    }
    
    .panel-header {
      font-size: clamp(16px, 1.5vw, 20px);
      font-weight: bold;
      color: white;
      margin-bottom: 0;
      padding: clamp(15px, 1.5vw, 20px);
      padding-bottom: clamp(12px, 1.2vw, 15px);
      border-bottom: 2px solid #45818E;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: clamp(10px, 1vw, 15px);
      flex-shrink: 0;
      background: #134F5C;
      border-radius: 10px 10px 0 0;
    }
    
    .panel-header-count {
      font-size: clamp(20px, 2vw, 24px);
      font-weight: bold;
      color: white;
    }
    
    .user-search-container {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
      max-width: 360px;
      margin: 0 clamp(10px, 1vw, 15px);
      position: relative;
    }
    
    .user-search-input {
      flex: 1;
      padding: clamp(6px, 0.6vw, 8px) clamp(10px, 1vw, 12px);
      padding-right: clamp(30px, 3vw, 35px);
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.2);
      color: black;
      font-size: clamp(14px, 1.4vw, 16px);
      outline: none;
      transition: all 0.2s;
    }
    
    .user-search-input::placeholder {
      color: rgba(0, 0, 0, 0.5);
    }
    
    .user-search-input:focus {
      background: rgba(255, 255, 255, 0.3);
      border-color: rgba(255, 255, 255, 0.5);
    }
    
    .user-search-clear {
      position: absolute;
      right: clamp(8px, 0.8vw, 10px);
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(0, 0, 0, 0.6);
      transition: color 0.2s;
    }
    
    .user-search-clear:hover {
      color: rgba(0, 0, 0, 0.9);
    }
    
    .panel-content {
      flex: 1;
      color: black;
      overflow-y: auto;
      overflow-x: hidden;
      min-height: 0;
      max-height: 100%;
      padding: clamp(15px, 1.5vw, 20px);
      padding-right: clamp(20px, 2vw, 25px);
      background: linear-gradient(180deg, #6BA3B0 0%, #8FB5C0 100%);
      border-radius: 0 0 10px 10px;
      scroll-behavior: smooth; /* Smooth scrolling */
    }
    
    /* Custom scrollbar styling - slim and smooth */
    .panel-content::-webkit-scrollbar {
      width: 4px; /* Slimmer scrollbar */
    }
    
    .panel-content::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 2px;
    }
    
    .panel-content::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.3);
      border-radius: 2px;
      transition: background 0.2s;
    }
    
    .panel-content::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.5);
    }
    
    /* Firefox scrollbar */
    .panel-content {
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
    }
    
    /* Logs panel specific styling */
    .log-content {
      font-family: 'Courier New', monospace;
      font-size: clamp(11px, 1vw, 13px);
      line-height: 1.6;
      color: rgba(0, 0, 0, 0.8);
      white-space: pre-wrap;
      word-wrap: break-word;
    }
    
    .log-entry {
      margin-bottom: 4px;
      padding: 2px 0;
    }
    
    .log-entry.error {
      color: #d32f2f;
    }
    
    .log-entry.warning {
      color: #f57c00;
    }
    
    .log-entry.info {
      color: #1976d2;
    }
    
    .user-list {
      display: flex;
      flex-direction: column;
      gap: clamp(10px, 1vw, 12px);
    }
    
    .user-item {
      background: rgba(255, 255, 255, 0.3);
      border-radius: 8px;
      padding: clamp(12px, 1.2vw, 15px);
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.2s;
      border: 2px solid #45818E;
      margin-bottom: clamp(10px, 1vw, 12px);
    }
    
    .user-item:hover {
      background: rgba(255, 255, 255, 0.15);
    }
    
    .user-item.banned {
      opacity: 0.6;
      border-left: 4px solid #ff6b6b;
    }
    
    .user-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    
    .user-name {
      font-weight: 600;
      font-size: clamp(14px, 1.2vw, 16px);
      color: black;
    }
    
    .user-email {
      font-size: clamp(12px, 1vw, 14px);
      color: rgba(0, 0, 0, 0.7);
    }
    
    .user-type {
      font-size: clamp(11px, 0.9vw, 13px);
      color: rgba(0, 0, 0, 0.6);
    }
    
    .user-actions {
      display: flex;
      gap: clamp(8px, 0.8vw, 10px);
      align-items: center;
    }
    
    .icon-button {
      background: rgba(0, 0, 0, 0.1);
      color: black;
      border: 2px solid rgba(0, 0, 0, 0.3);
      padding: clamp(4.8px, 0.48vw, 6.4px) clamp(9.6px, 0.96vw, 12.8px);
      border-radius: 5px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      position: relative;
      font-size: clamp(9.6px, 0.88vw, 11.2px);
      font-weight: 500;
      white-space: nowrap;
    }
    
    .user-actions {
      display: flex;
      flex-direction: column;
      gap: clamp(6px, 0.6vw, 8px);
      align-items: flex-start;
    }
    
    .user-actions-row {
      display: flex;
      gap: clamp(6px, 0.6vw, 8px);
      width: 100%;
    }
    
    .user-actions-row.single {
      justify-content: flex-start;
    }
    
    .user-actions-row.single .icon-button {
      flex: 0 0 auto;
    }
    
    .icon-button:hover {
      background: rgba(0, 0, 0, 0.2);
      border-color: rgba(0, 0, 0, 0.5);
      transform: translateY(-1px);
    }
    
    .ban-button {
      background: #51cf66 !important;
      color: white !important;
    }
    
    .ban-button:hover {
      background: #40c057 !important;
    }
    
    .ban-button.unban {
      background: #ff6b6b !important;
      color: white !important;
    }
    
    .ban-button.unban:hover {
      background: #ff5252 !important;
    }
    
    .delete-button {
      background: #ff6b6b !important;
      color: white !important;
    }
    
    .delete-button:hover {
      background: #ff5252 !important;
    }
    
    .revoke-button {
      background: #51cf66 !important; /* Green when not revoked */
      color: white !important;
    }
    
    .revoke-button.revoked {
      background: #ff6b6b !important; /* Red when revoked */
      color: white !important;
    }
    
    .icon-button.revoke-button.revoked {
      background: #ff6b6b !important; /* Red for unrevoke */
    }
    
    .icon-button.revoke-button:not(.revoked) {
      background: #51cf66 !important; /* Green for revoke */
    }
    
    .revoke-button:hover {
      opacity: 0.9;
    }
    
    .edit-button, .usage-button {
      background: rgba(0, 0, 0, 0.1) !important;
      color: black !important;
      border: 2px solid rgba(0, 0, 0, 0.3) !important;
    }
    
    .edit-button:hover, .usage-button:hover {
      background: rgba(0, 0, 0, 0.2) !important;
      border-color: rgba(0, 0, 0, 0.5) !important;
    }
    
    .user-status-dot, .license-status-dot {
      width: clamp(20px, 2vw, 24px);
      height: clamp(20px, 2vw, 24px);
      border-radius: 50%;
      position: absolute;
      top: clamp(8px, 0.8vw, 10px);
      right: clamp(8px, 0.8vw, 10px);
      flex-shrink: 0;
      z-index: 10;
    }
    
    .user-item, .license-item {
      position: relative;
      padding: clamp(10px, 1vw, 15px);
    }
    
    .user-info, .license-info {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding-right: clamp(40px, 4vw, 50px);
    }
    
    .user-status-dot.active, .license-status-dot.active {
      background: #51cf66;
    }
    
    .user-status-dot.banned, .license-status-dot.banned,
    .user-status-dot.revoked, .license-status-dot.revoked {
      background: #ff6b6b;
    }
    
    .pencil-button {
      background: rgba(255, 255, 255, 0.2);
      border: 2px solid rgba(255, 255, 255, 0.3);
      padding: clamp(4.8px, 0.48vw, 6px);
      border-radius: 5px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      position: absolute;
      bottom: clamp(8px, 0.8vw, 10px);
      right: clamp(8px, 0.8vw, 10px);
      width: clamp(19.2px, 1.92vw, 24px);
      height: clamp(19.2px, 1.92vw, 24px);
    }
    
    .pencil-button:hover {
      background: rgba(255, 255, 255, 0.3);
      border-color: rgba(255, 255, 255, 0.5);
    }
    
    .pencil-button svg {
      width: clamp(9.6px, 0.96vw, 12px);
      height: clamp(9.6px, 0.96vw, 12px);
      stroke: white;
    }
    
    .dialog-close-button {
      position: absolute;
      top: clamp(10px, 1vw, 15px);
      right: clamp(10px, 1vw, 15px);
      background: white;
      border: 2px solid black;
      color: black;
      font-size: clamp(24px, 2.4vw, 30px);
      cursor: pointer;
      width: clamp(30px, 3vw, 40px);
      height: clamp(30px, 3vw, 40px);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      border-radius: 50%;
      font-weight: bold;
      line-height: 1;
    }
    
    .dialog-close-button:hover {
      background: rgba(0, 0, 0, 0.1);
    }
    
    .dialog-overlay.nested {
      z-index: 20000 !important;
    }
    
    .dialog-overlay.base {
      z-index: 15000 !important;
    }
    
    .dialog-overlay.show {
      z-index: 15000 !important;
    }
    
    .dialog-overlay.show.nested {
      z-index: 20000 !important;
    }
    
    .dialog-overlay.show.base {
      z-index: 1500 !important;
    }
    
    .dialog-overlay.show.base + .dialog-overlay.show.nested,
    .dialog-overlay.show.nested {
      z-index: 2000 !important;
    }
    
    #messageDialog.show {
      z-index: 9999 !important;
    }
    
    .insight-usage-window {
      width: 100%;
      height: 300px;
      background: #f5f5f5;
      border: 2px solid #45818E;
      border-radius: 5px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
      font-style: italic;
    }
    
    .status-indicator {
      width: clamp(20px, 2vw, 24px);
      height: clamp(20px, 2vw, 24px);
      min-width: clamp(20px, 2vw, 24px);
      min-height: clamp(20px, 2vw, 24px);
      border-radius: 50%;
      display: inline-block;
      flex-shrink: 0;
    }
    
    .status-indicator.online {
      background: #51cf66;
      box-shadow: 0 0 clamp(4px, 0.4vw, 6px) rgba(81, 207, 102, 0.5);
    }
    
    .status-indicator.offline {
      background: #ff6b6b;
      box-shadow: 0 0 clamp(4px, 0.4vw, 6px) rgba(255, 107, 107, 0.5);
    }
    
    .server-metric {
      margin-bottom: clamp(12px, 1.2vw, 15px);
    }
    
    .server-metric-label {
      font-size: clamp(18px, 1.8vw, 22px);
      font-weight: bold;
      color: black;
      margin-bottom: clamp(4px, 0.4vw, 5px);
    }
    
    .server-metric-value {
      font-size: clamp(12px, 1vw, 14px);
      color: rgba(0, 0, 0, 0.7);
      font-weight: normal;
    }
    
    .server-metric-value.no-data {
      font-size: clamp(12px, 1vw, 14px);
      color: rgba(0, 0, 0, 0.5);
      font-weight: normal;
      font-style: italic;
    }
    
    .server-metric-value.warning {
      color: #ff6b6b;
      font-weight: bold;
    }
    
    /* Server panel content - flexbox to push buttons to bottom */
    .panel:nth-child(2) .panel-content {
      display: flex;
      flex-direction: column;
    }
    
    .server-buttons-container {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: auto;
      padding-top: 15px;
      border-top: 2px solid rgba(255,255,255,0.2);
      flex-shrink: 0;
    }
    
    .server-action-button {
      padding: clamp(10px, 1vw, 12px) clamp(20px, 2vw, 25px);
      border: 2px solid;
      border-radius: 5px;
      font-size: clamp(14px, 1.3vw, 16px);
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s;
      color: white;
    }
    
    .restart-button {
      background: #ffa500;
      border-color: #ff8c00;
    }
    
    .restart-button:hover {
      background: #ff8c00;
      border-color: #ff7f00;
    }
    
    .shutdown-button {
      background: #dc3545;
      border-color: #c82333;
    }
    
    .shutdown-button:hover {
      background: #c82333;
      border-color: #bd2130;
    }
    
    /* Login Page Specific Styles */
    .login-button-header {
      background: rgba(255, 255, 255, 0.1);
      border: 4px solid #45818E;
      color: white;
      padding: clamp(8px, 0.8vw, 10px) clamp(15px, 1.5vw, 20px);
      border-radius: 5px;
      cursor: default;
      font-size: clamp(12px, 1.2vw, 14px);
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: clamp(6px, 0.6vw, 8px);
    }
    
    .page-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: calc(100vh - 80px);
      padding: 20px;
    }
    
    .container {
      background: white;
      border-radius: 10px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.2);
      width: 100%;
      max-width: 450px;
      padding: 40px;
      position: relative;
    }
    
    .container h1 {
      color: #134F5C;
      text-align: center;
      margin-bottom: 30px;
      font-size: 28px;
    }
    
    .form-group {
      margin-bottom: 20px;
      opacity: 0;
      transform: translateY(-10px);
      transition: all 0.3s ease;
      max-height: 0;
      overflow: hidden;
    }
    
    .form-group.show {
      opacity: 1;
      transform: translateY(0);
      max-height: 500px;
    }
    
    .container label {
      display: block;
      margin-bottom: 8px;
      color: #333;
      font-weight: 500;
      font-size: 14px;
    }
    
    .container input[type="text"],
    .container input[type="email"],
    .container input[type="password"],
    .container select {
      width: 100%;
      padding: 12px;
      border: 2px solid #ddd;
      border-radius: 5px;
      font-size: 14px;
      transition: border-color 0.3s;
    }
    
    .container input:focus,
    .container select:focus {
      outline: none;
      border-color: #134F5C;
    }
    
    .container input.error {
      border-color: #FF6B6B;
      background-color: #FFE5E5;
    }
    
    .error-message {
      color: #FF6B6B;
      font-size: 12px;
      margin-top: 5px;
      display: none;
      min-height: 18px;
    }
    
    .error-message.show {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
    
    .container button {
      width: 100%;
      padding: 12px;
      background: #134F5C;
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
      margin-top: 10px;
    }
    
    .container button:hover {
      background: #0d3d47;
    }
    
    .container button:disabled {
      background: #ccc;
      cursor: not-allowed;
    }
    
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10000;
    }
    
    .modal-overlay.hidden {
      display: none !important;
    }
    
    .modal-overlay:not(.hidden) {
      display: flex !important;
    }
    
    .modal-dialog {
      background: white;
      border-radius: 10px;
      padding: 30px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.3);
      max-width: 400px;
      width: 90%;
      text-align: center;
    }
    
    .modal-content {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .modal-button {
      background: #134F5C;
      color: white;
      border: none;
      padding: 12px 30px;
      border-radius: 5px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }
    
    .modal-button:hover {
      background: #0d3d47;
    }
    
    .loading {
      display: flex;
      align-items: center;
      gap: 10px;
      color: white;
      font-size: clamp(16px, 1.5vw, 18px);
      padding: 20px;
    }
    
    .loading::before {
      content: '';
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 3px solid rgba(255, 255, 255, 0.3);
      border-top-color: white;
      border-radius: 50%;
      animation: spin 0.6s linear infinite;
      flex-shrink: 0;
    }
    
    #licenseLoading {
      display: inline-block !important;
      margin-left: 10px;
    }
    
    #licenseLoading::before {
      width: 16px;
      height: 16px;
      border-width: 2px;
    }
    
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    
    .switch-buttons {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }
    
    .switch-buttons button {
      flex: 1;
      margin-top: 0;
    }
    
    .switch-buttons button.secondary {
      background: #6c757d;
    }
    
    .switch-buttons button.secondary:hover {
      background: #5a6268;
    }
    
    .hidden {
      display: none !important;
    }
    
    .password-container {
      position: relative;
    }
    
    .password-toggle {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      user-select: none;
      color: #666;
      display: flex;
      align-items: center;
      transition: color 0.2s;
    }
    
    .password-toggle:hover {
      color: #134F5C;
    }
    
    .password-toggle svg {
      display: block;
    }
    
    /* Homepage Modules Grid */
    #modulesGrid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }
    
    .module-card {
      background: rgba(255, 255, 255, 0.1);
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 10px;
      padding: 20px;
      text-decoration: none;
      color: white;
      transition: all 0.3s;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .module-card:hover {
      background: rgba(255, 255, 255, 0.2);
      border-color: rgba(255, 255, 255, 0.5);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .module-title {
      font-size: clamp(18px, 1.8vw, 22px);
      font-weight: bold;
      color: white;
      margin: 0;
    }
    
    .module-description {
      font-size: clamp(14px, 1.2vw, 16px);
      color: rgba(255, 255, 255, 0.8);
      margin: 0;
    }
    
    /* Plans Page Styles */
    .plans-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }
    
    .plans-title {
      font-size: clamp(28px, 3vw, 36px);
      color: white;
      text-align: center;
      margin-bottom: 40px;
      font-weight: bold;
    }
    
    .plans-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }
    
    .plan-card {
      background: rgba(255, 255, 255, 0.95);
      border-radius: 15px;
      padding: 30px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s, box-shadow 0.3s;
      position: relative;
      border: 3px solid transparent;
    }
    
    .plan-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }
    
    .plan-card.featured {
      border-color: #45818E;
      transform: scale(1.05);
    }
    
    .plan-card.featured:hover {
      transform: scale(1.08) translateY(-5px);
    }
    
    .featured-badge {
      position: absolute;
      top: -15px;
      right: 20px;
      background: #45818E;
      color: white;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    .plan-name {
      font-size: clamp(24px, 2.5vw, 28px);
      color: #134F5C;
      margin-bottom: 15px;
      font-weight: bold;
    }
    
    .plan-price {
      font-size: clamp(32px, 3.5vw, 42px);
      color: #134F5C;
      font-weight: bold;
      margin-bottom: 20px;
    }
    
    .plan-currency {
      font-size: clamp(20px, 2vw, 24px);
    }
    
    .plan-period {
      font-size: clamp(16px, 1.5vw, 20px);
      color: #666;
      font-weight: normal;
    }
    
    .per-user-label {
      font-size: clamp(14px, 1.2vw, 16px);
      color: #666;
      display: block;
      margin-top: 5px;
    }
    
    .plan-features {
      list-style: none;
      padding: 0;
      margin: 20px 0;
    }
    
    .plan-features li {
      padding: 10px 0;
      color: #333;
      font-size: clamp(14px, 1.2vw, 16px);
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .plan-features li:last-child {
      border-bottom: none;
    }
    
    .subscribe-btn {
      width: 100%;
      padding: 12px 20px;
      background: #134F5C;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: clamp(16px, 1.5vw, 18px);
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
      margin-top: 20px;
    }
    
    .subscribe-btn:hover:not(:disabled) {
      background: #0d3a42;
    }
    
    /* Settings Page Styles */
    .settings-container {
      display: flex;
      gap: 30px;
      margin-top: 30px;
    }
    
    .settings-sidebar {
      min-width: 200px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .settings-tab {
      padding: 12px 15px;
      color: white;
      text-decoration: none;
      border-radius: 5px;
      transition: background 0.2s;
      font-size: clamp(14px, 1.2vw, 16px);
    }
    
    .settings-tab:hover,
    .settings-tab.active {
      background: rgba(255, 255, 255, 0.2);
    }
    
    .settings-content {
      flex: 1;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      padding: 30px;
    }
    
    .settings-panel {
      display: none;
    }
    
    .settings-panel.active {
      display: block;
    }
    
    .settings-section-title {
      font-size: clamp(24px, 2.5vw, 28px);
      color: white;
      margin-bottom: 30px;
      font-weight: bold;
    }
    
    .setting-item {
      margin-bottom: 25px;
    }
    
    .setting-label {
      display: block;
      font-size: clamp(16px, 1.5vw, 18px);
      color: white;
      font-weight: 600;
      margin-bottom: 5px;
    }
    
    .setting-description {
      font-size: clamp(14px, 1.2vw, 16px);
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: 10px;
    }
    
    .setting-select,
    .setting-input {
      width: 100%;
      padding: 10px 15px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 5px;
      background: rgba(255, 255, 255, 0.9);
      color: #333;
      font-size: clamp(14px, 1.2vw, 16px);
    }
    
    .setting-select:focus,
    .setting-input:focus {
      outline: none;
      border-color: #45818E;
    }
    
    .save-button {
      padding: 12px 30px;
      background: #134F5C;
      color: white;
      border: none;
      border-radius: 5px;
      font-size: clamp(14px, 1.2vw, 16px);
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
      margin-top: 20px;
    }
    
    .save-button:hover {
      background: #0d3a42;
    }
    
    .setting-checkbox {
      width: 20px;
      height: 20px;
      margin-right: 10px;
      cursor: pointer;
    }
    
    .checkbox-label {
      display: flex;
      align-items: center;
      font-size: clamp(14px, 1.2vw, 16px);
      color: white;
      cursor: pointer;
    }
    
    /* User Details Page Styles */
    .details-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      margin-bottom: 30px;
    }
    
    .detail-card {
      background: rgba(255, 255, 255, 0.1);
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 10px;
      padding: 25px;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    
    .detail-card-title {
      font-size: clamp(20px, 2vw, 24px);
      font-weight: bold;
      color: white;
      margin-bottom: 10px;
      padding-bottom: 10px;
      border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .detail-item {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    
    .detail-label {
      font-size: clamp(14px, 1.2vw, 16px);
      color: rgba(255, 255, 255, 0.8);
      font-weight: 500;
    }
    
    .detail-value {
      font-size: clamp(16px, 1.5vw, 18px);
      color: white;
      font-weight: 600;
    }
    
    .status-active {
      color: #51cf66;
    }
    
    .status-banned {
      color: #ff6b6b;
    }
    
    .status-revoked {
      color: #ffa500;
    }
    
    .info-section {
      background: rgba(255, 255, 255, 0.1);
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 10px;
      padding: 25px;
      margin-top: 20px;
    }
    
    .info-section-title {
      font-size: clamp(20px, 2vw, 24px);
      font-weight: bold;
      color: white;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .permissions-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .permission-item {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 5px;
      padding: 12px 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .permission-name {
      font-size: clamp(14px, 1.2vw, 16px);
      color: white;
      font-weight: 500;
    }
    
    .permission-status {
      font-size: clamp(12px, 1vw, 14px);
      padding: 4px 12px;
      border-radius: 12px;
      font-weight: 600;
    }
    
    .permission-status.allowed {
      background: rgba(81, 207, 102, 0.2);
      color: #51cf66;
    }
    
    .permission-status.denied {
      background: rgba(255, 107, 107, 0.2);
      color: #ff6b6b;
    }