   :root {
      --primary: #6C63FF;
      --primary-light: #8A85FF;
      --dark: #2D3748;
      --light: #F7FAFC;
      --success: #48BB78;
      --error: #F56565;
      --warning: #ED8936;
      --info: #4299E1;
      --gray: #E2E8F0;
      --gray-dark: #CBD5E0;
      --admin: #9C27B0;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Poppins', sans-serif;
      background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
      color: var(--dark);
      line-height: 1.6;
    }
    
    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .upload-card {
      background: white;
      border-radius: 16px;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: all 0.3s ease;
      position: relative;
    }
    
    .admin-header {
      background: var(--admin);
      color: white;
      padding: 15px 25px;
      text-align: center;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .card-header {
      background: var(--primary);
      color: white;
      padding: 25px;
      text-align: center;
      position: relative;
    }
    
    .card-header.admin-mode {
      background: linear-gradient(90deg, var(--primary) 0%, var(--admin) 100%);
    }
    
    .card-header h2 {
      font-size: 1.8rem;
      font-weight: 600;
      margin-bottom: 5px;
    }
    
    .card-header p {
      opacity: 0.9;
      font-weight: 300;
    }
    
    .user-actions {
      position: absolute;
      top: 20px;
      right: 20px;
      display: flex;
      gap: 10px;
    }
    
    .user-btn {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      border-radius: 50px;
      padding: 8px 15px;
      color: white;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    .user-btn:hover {
      background: rgba(255, 255, 255, 0.3);
    }
    
    .admin-btn {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      border-radius: 50px;
      padding: 8px 15px;
      color: white;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    .admin-btn:hover {
      background: rgba(255, 255, 255, 0.3);
    }
    
    .card-body {
      padding: 30px;
    }
    
    .auth-container {
      display: flex;
      flex-direction: column;
      max-width: 400px;
      margin: 0 auto;
    }
    
    .auth-tabs {
      display: flex;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--gray);
    }
    
    .auth-tab {
      padding: 10px 20px;
      cursor: pointer;
      border-bottom: 3px solid transparent;
      transition: all 0.3s ease;
      flex: 1;
      text-align: center;
    }
    
    .auth-tab.active {
      border-bottom: 3px solid var(--primary);
      color: var(--primary);
      font-weight: 500;
    }
    
    .auth-content {
      display: none;
    }
    
    .auth-content.active {
      display: block;
      animation: fadeIn 0.5s ease;
    }
    
    .form-group {
      margin-bottom: 20px;
    }
    
    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }
    
    .form-control {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid var(--gray-dark);
      border-radius: 8px;
      font-family: inherit;
      font-size: 1rem;
      transition: all 0.3s ease;
    }
    
    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
    }
    
    .btn {
      display: inline-block;
      padding: 12px 25px;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 100%;
      border: none;
      text-align: center;
    }
    
    .btn-primary {
      background: var(--primary);
      color: white;
    }
    
    .btn-secondary {
      background: var(--gray-dark);
      color: var(--dark);
    }
    
    .btn-warning {
      background: var(--warning);
      color: white;
    }
    
    .btn-info {
      background: var(--info);
      color: white;
    }
    
    .btn-admin {
      background: var(--admin);
      color: white;
    }
    
    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .btn-primary:hover {
      background: var(--primary-light);
      box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    }
    
    .btn-admin:hover {
      background: #8E24AA;
      box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
    }
    
    .btn:active {
      transform: translateY(0);
    }
    
    .btn:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }
    
    .error-message {
      color: var(--error);
      margin-top: 15px;
      font-size: 0.9rem;
      text-align: center;
      display: none;
    }
    
    .error-message.active {
      display: block;
    }
    
    .success-message {
      color: var(--success);
      margin-top: 15px;
      font-size: 0.9rem;
      text-align: center;
      display: none;
    }
    
    .success-message.active {
      display: block;
    }
    
    .tab-container {
      display: flex;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--gray);
      flex-wrap: wrap;
    }
    
    .tab {
      padding: 10px 20px;
      cursor: pointer;
      border-bottom: 3px solid transparent;
      transition: all 0.3s ease;
    }
    
    .tab.active {
      border-bottom: 3px solid var(--primary);
      color: var(--primary);
      font-weight: 500;
    }
    
    .tab.admin-active {
      border-bottom: 3px solid var(--admin);
      color: var(--admin);
    }
    
    .tab-content {
      display: none;
    }
    
    .tab-content.active {
      display: block;
    }
    
    .upload-area {
      border: 2px dashed var(--gray-dark);
      border-radius: 12px;
      padding: 40px 20px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-bottom: 25px;
      position: relative;
      background: var(--light);
    }
    
    .upload-area:hover {
      border-color: var(--primary);
      background: rgba(108, 99, 255, 0.05);
    }
    
    .upload-area.active {
      border-color: var(--primary);
      background: rgba(108, 99, 255, 0.1);
    }
    
    .upload-icon {
      font-size: 3.5rem;
      color: var(--primary);
      margin-bottom: 15px;
    }
    
    .upload-text h3 {
      font-size: 1.3rem;
      font-weight: 500;
      margin-bottom: 5px;
    }
    
    .upload-text p {
      color: #718096;
      font-size: 0.9rem;
    }
    
    #fileInput {
      display: none;
    }
    
    .file-info {
      display: none;
      align-items: center;
      background: var(--light);
      padding: 12px 15px;
      border-radius: 8px;
      margin-top: 15px;
    }
    
    .file-info.active {
      display: flex;
    }
    
    .file-icon {
      margin-right: 10px;
      color: var(--primary);
    }
    
    .file-details {
      flex: 1;
      text-align: left;
    }
    
    .file-name {
      font-weight: 500;
      margin-bottom: 3px;
      word-break: break-all;
    }
    
    .file-size {
      font-size: 0.8rem;
      color: #718096;
    }
    
    .remove-file {
      color: var(--error);
      cursor: pointer;
      margin-left: 10px;
    }
    
    .progress-container {
      width: 100%;
      height: 6px;
      background: var(--gray);
      border-radius: 3px;
      margin-top: 15px;
      overflow: hidden;
      display: none;
    }
    
    .progress-container.active {
      display: block;
    }
    
    .progress-bar {
      height: 100%;
      background: var(--primary);
      width: 0;
      transition: width 0.3s ease;
    }
    
    .file-type-badge {
      display: inline-block;
      padding: 3px 8px;
      background: var(--primary-light);
      color: white;
      border-radius: 4px;
      font-size: 0.8rem;
      margin-top: 5px;
    }
    
    .result-container {
      display: none;
      margin-top: 25px;
      animation: fadeIn 0.5s ease;
    }
    
    .result-container.active {
      display: block;
    }
    
    .result-box {
      background: rgba(72, 187, 120, 0.1);
      border: 1px solid var(--success);
      border-radius: 8px;
      padding: 15px;
      text-align: left;
    }
    
    .warning-box {
      background: rgba(237, 137, 54, 0.1);
      border: 1px solid var(--warning);
    }
    
    .info-box {
      background: rgba(66, 153, 225, 0.1);
      border: 1px solid var(--info);
    }
    
    .admin-box {
      background: rgba(156, 39, 176, 0.1);
      border: 1px solid var(--admin);
    }
    
    .result-header {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
    }
    
    .success-icon {
      color: var(--success);
      margin-right: 10px;
      font-size: 1.2rem;
    }
    
    .warning-icon {
      color: var(--warning);
      margin-right: 10px;
      font-size: 1.2rem;
    }
    
    .info-icon {
      color: var(--info);
      margin-right: 10px;
      font-size: 1.2rem;
    }
    
    .admin-icon {
      color: var(--admin);
      margin-right: 10px;
      font-size: 1.2rem;
    }
    
    .result-title {
      font-weight: 500;
      color: var(--success);
    }
    
    .warning-title {
      color: var(--warning);
    }
    
    .info-title {
      color: var(--info);
    }
    
    .admin-title {
      color: var(--admin);
    }
    
    .result-link {
      display: block;
      word-break: break-all;
      color: var(--primary);
      text-decoration: none;
      margin-top: 5px;
      padding: 8px;
      background: white;
      border-radius: 4px;
      border: 1px solid var(--gray);
      transition: all 0.2s ease;
    }
    
    .result-link:hover {
      background: rgba(108, 99, 255, 0.05);
      border-color: var(--primary-light);
    }
    
    .action-buttons {
      display: flex;
      gap: 10px;
      margin-top: 15px;
    }
    
    .action-buttons .btn {
      width: auto;
      flex: 1;
    }
    
    .file-preview-container {
      margin-top: 15px;
      text-align: center;
    }
    
    .file-preview {
      max-width: 100%;
      max-height: 200px;
      border-radius: 8px;
      display: none;
    }
    
    .file-preview.active {
      display: inline-block;
    }
    
    .audio-preview {
      width: 100%;
      margin-top: 15px;
      display: none;
    }
    
    .audio-preview.active {
      display: block;
    }
    
    .video-preview {
      width: 100%;
      max-height: 300px;
      margin-top: 15px;
      border-radius: 8px;
      display: none;
    }
    
    .video-preview.active {
      display: block;
    }
    
    .file-type-icon {
      font-size: 3rem;
      color: var(--primary);
      margin-bottom: 10px;
    }
    
    .folder-item {
      padding: 12px;
      background: var(--light);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
      border: 1px solid var(--gray);
      margin-bottom: 8px;
    }
    
    .folder-item:hover {
      background: rgba(108, 99, 255, 0.05);
      transform: translateY(-2px);
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }
    
    .folder-item.admin-folder {
      background: rgba(156, 39, 176, 0.05);
      border-color: rgba(156, 39, 176, 0.2);
    }
    
    .folder-item.admin-folder:hover {
      background: rgba(156, 39, 176, 0.1);
    }
    
    .file-item {
      padding: 12px;
      background: white;
      border-radius: 8px;
      border: 1px solid var(--gray);
      transition: all 0.2s ease;
      margin-bottom: 8px;
    }
    
    .file-item:hover {
      background: rgba(108, 99, 255, 0.05);
      transform: translateY(-2px);
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }
    
    .admin-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
    }
    
    .admin-table th {
      background-color: var(--admin);
      color: white;
      text-align: left;
      padding: 12px 15px;
    }
    
    .admin-table td {
      padding: 10px 15px;
      border-bottom: 1px solid var(--gray);
    }
    
    .admin-table tr:nth-child(even) {
      background-color: rgba(156, 39, 176, 0.05);
    }
    
    .admin-table tr:hover {
      background-color: rgba(156, 39, 176, 0.1);
    }
    
    .folder-stats {
      display: flex;
      gap: 15px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }
    
    .stat-card {
      background: white;
      border-radius: 10px;
      padding: 15px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      flex: 1;
      min-width: 200px;
      border-left: 4px solid var(--admin);
    }
    
    .stat-card .stat-value {
      font-size: 1.8rem;
      font-weight: 600;
      color: var(--admin);
    }
    
    .stat-card .stat-label {
      font-size: 0.9rem;
      color: var(--gray-dark);
    }
    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    @media (max-width: 768px) {
      .card-header {
        padding: 20px;
      }
      
      .card-header h2 {
        font-size: 1.5rem;
      }
      
      .card-body {
        padding: 20px;
      }
      
      .upload-area {
        padding: 30px 15px;
      }
      
      .action-buttons {
        flex-direction: column;
      }
      
      .user-actions {
        position: static;
        margin-top: 15px;
        justify-content: center;
      }
      
      .folder-stats {
        flex-direction: column;
      }
    }
    
    @media (max-width: 480px) {
      body {
        padding: 15px;
      }
      
      .card-header {
        padding: 15px;
      }
      
      .card-header h2 {
        font-size: 1.3rem;
      }
      
      .upload-icon {
        font-size: 2.5rem;
      }
      
      .upload-text h3 {
        font-size: 1.1rem;
      }
      
      .tab, .auth-tab {
        padding: 8px 12px;
        font-size: 0.9rem;
      }
    }