    * { box-sizing: border-box; margin: 0; padding: 0; }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      min-height: 100vh;
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .container {
      background: white;
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.1);
      padding: 40px;
      width: 100%;
      max-width: 400px;
      text-align: center;
    }

    .title {
      font-size: 24px;
      font-weight: bold;
      color: #333;
      margin-bottom: 10px;
    }

    .subtitle {
      color: #666;
      margin-bottom: 40px;
      font-size: 14px;
    }

    .user-card {
      background: #f8f9fa;
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 30px;
      font-size: 14px;
      color: #555;
    }

    .server-total-card {
      background: linear-gradient(135deg, #4cd3a6 0%, #35c094 100%);
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 30px;
      color: white;
      box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }

    .server-total-title {
      font-size: 14px;
      margin-bottom: 10px;
      opacity: 0.9;
    }

    .server-total-number {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 5px;
    }

    .server-total-subtitle {
      font-size: 12px;
    }

    .server-total-loading {
      opacity: 0.7;
      font-style: italic;
    }

    .stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 40px;
    }

    .stat {
      text-align: center;
    }

    .stat-number {
      font-size: 32px;
      font-weight: bold;
      color: #667eea;
      display: block;
    }

    .stat-label {
      font-size: 12px;
      color: #888;
      margin-top: 5px;
    }

    .input-section {
      margin-bottom: 30px;
    }

    .custom-input {
      width: 100%;
      padding: 15px;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      font-size: 16px;
      text-align: center;
      margin-bottom: 20px;
    }

    .custom-input:focus {
      outline: none;
      border-color: #667eea;
    }

    .submit-btn {
      width: 100%;
      padding: 15px;
      background: #667eea;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.2s;
    }

    .submit-btn:hover:not(:disabled) {
      background: #5a67d8;
      transform: translateY(-2px);
    }

    .submit-btn:disabled {
      background: #ccc;
      cursor: not-allowed;
      transform: none;
    }

    .history-toggle {
      margin-top: 30px;
      padding: 10px;
      background: none;
      border: 1px solid #ddd;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      color: #666;
    }

    .history-section {
      display: none;
      margin-top: 20px;
    }

    .history-section.show {
      display: block;
    }

    .history-filters {
      display: flex;
      gap: 10px;
      margin-bottom: 15px;
      align-items: center;
      flex-wrap: wrap;
    }

    .filter-select {
      padding: 8px 12px;
      border: 2px solid #e0e0e0;
      border-radius: 6px;
      font-size: 12px;
      background: white;
    }

    .filter-select:focus {
      outline: none;
      border-color: #667eea;
    }

    /* Enhanced Page Size Selector */
    .page-controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
      padding: 10px;
      background: #f8f9fa;
      border-radius: 8px;
      font-size: 12px;
    }

    .page-size-selector {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .page-size-selector label {
      color: #666;
      font-weight: 500;
    }

    .page-size-selector select {
      padding: 4px 8px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 12px;
      background: white;
    }

    .total-info {
      color: #667eea;
      font-weight: 600;
    }

    .history-list {
      max-height: 300px;
      overflow-y: auto;
      border: 1px solid #f0f0f0;
      border-radius: 8px;
      margin-bottom: 15px;
    }

    .history-item {
      display: flex;
      justify-content: space-between;
      padding: 12px;
      border-bottom: 1px solid #f0f0f0;
      font-size: 13px;
    }

    .history-item:last-child {
      border-bottom: none;
    }

    .history-item:nth-child(even) {
      background: #fafafa;
    }

    .history-date {
      color: #888;
      flex: 1;
    }

    .history-minutes {
      font-weight: bold;
      color: #667eea;
      margin-left: 10px;
    }

    /* Enhanced Pagination Styles */
    .pagination-container {
      background: #f8f9fa;
      border-radius: 8px;
      padding: 15px;
      margin-top: 10px;
    }

    .pagination {
      display: flex;
      justify-content: center;
      gap: 5px;
      margin-bottom: 10px;
      align-items: center;
      flex-wrap: wrap;
    }

    .pagination button {
      padding: 8px 12px;
      border: 1px solid #ddd;
      background: white;
      border-radius: 6px;
      cursor: pointer;
      font-size: 12px;
      transition: all 0.2s;
      min-width: 36px;
    }

    .pagination button:hover:not(:disabled) {
      background: #f5f5f5;
      border-color: #667eea;
    }

    .pagination button:disabled {
      background: #f9f9f9;
      color: #ccc;
      cursor: not-allowed;
    }

    .pagination button.active {
      background: #667eea;
      color: white;
      border-color: #667eea;
    }

    .pagination-info {
      text-align: center;
      font-size: 11px;
      color: #888;
      margin-top: 8px;
      padding-top: 8px;
      border-top: 1px solid #eee;
    }

    .modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    .modal-content {
      background: white;
      border-radius: 12px;
      padding: 30px;
      width: 90%;
      max-width: 350px;
    }

    .form-group {
      margin-bottom: 20px;
      text-align: left;
    }

    .form-group label {
      display: block;
      margin-bottom: 5px;
      font-weight: 600;
      color: #333;
    }

    .form-group input, .form-group select {
      width: 100%;
      padding: 12px;
      border: 2px solid #e0e0e0;
      border-radius: 6px;
      font-size: 14px;
    }

    .form-group input:focus, .form-group select:focus {
      outline: none;
      border-color: #667eea;
    }

    .error-message {
      color: #ef4444;
      font-size: 12px;
      margin-top: 5px;
      display: none;
    }

    .toast {
      position: fixed;
      top: 20px;
      right: 20px;
      padding: 15px 20px;
      border-radius: 6px;
      color: white;
      font-weight: bold;
      z-index: 2000;
      transform: translateX(100%);
      transition: transform 0.3s;
    }

    .toast.show {
      transform: translateX(0);
    }

    .toast.success {
      background: #10b981;
    }

    .toast.error {
      background: #ef4444;
    }

    .user-selector {
      margin-bottom: 20px;
    }

    .user-selector label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #333;
      font-size: 14px;
    }

    .user-select {
      width: 70%;
      padding: 12px;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      font-size: 14px;
      margin-right: 10px;
    }

    .add-user-btn {
      width: 25%;
      padding: 12px 8px;
      background: #f8f9fa;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      cursor: pointer;
      font-size: 12px;
      color: #666;
      transition: all 0.2s;
    }

    .add-user-btn:hover {
      background: #e9ecef;
      border-color: #667eea;
    }

    .user-select:focus, .add-user-btn:focus {
      outline: none;
      border-color: #667eea;
    }

    .no-data {
      text-align: center;
      color: #888;
      padding: 20px;
      font-style: italic;
    }

    @media (max-width: 480px) {
      .container {
        padding: 30px 20px;
        margin: 10px;
      }
      
      .stats {
        gap: 15px;
      }
      
      .stat-number {
        font-size: 28px;
      }
      
      .history-filters {
        flex-direction: column;
        gap: 8px;
      }

      .filter-select {
        width: 100%;
      }

      .page-controls {
        flex-direction: column;
        gap: 8px;
        text-align: center;
      }

      .pagination {
        flex-wrap: wrap;
        gap: 3px;
      }

      .pagination button {
        padding: 6px 10px;
        min-width: 32px;
      }

    }