* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1a1a2e;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  color: #e0e0e0;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  background: rgba(30, 30, 60, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideInDown 0.6s ease-out;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.upload-controls {
  margin-left: 20px;
}

.upload-btn-header {
  padding: 10px 20px;
  border: 2px solid rgba(144, 202, 249, 0.3);
  border-radius: 12px;
  background: rgba(144, 202, 249, 0.1);
  background: linear-gradient(135deg, rgba(144, 202, 249, 0.1) 0%, rgba(187, 134, 252, 0.1) 100%);
  color: #90caf9;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(144, 202, 249, 0.2);
}

.upload-btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(144, 202, 249, 0.4);
  background: linear-gradient(135deg, rgba(144, 202, 249, 0.2) 0%, rgba(187, 134, 252, 0.2) 100%);
  border-color: rgba(144, 202, 249, 0.5);
  color: white;
}

.upload-btn-header:active {
  transform: translateY(0);
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(144, 202, 249, 0.3);
  transition: transform 0.3s ease;
}

header img:hover {
  transform: scale(1.1) rotate(5deg);
}

header h1 {
  font-weight: 700;
  font-size: 2.5rem;
  color: #90caf9;
  background: linear-gradient(135deg, #90caf9 0%, #bb86fc 50%, #64b5f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  user-select: none;
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px rgba(144, 202, 249, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 5px rgba(144, 202, 249, 0.5));
  }
  to {
    filter: drop-shadow(0 0 20px rgba(144, 202, 249, 0.8));
  }
}

nav.breadcrumb {
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  background: rgba(25, 25, 50, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  color: #82aaff;
  user-select: none;
  animation: slideInLeft 0.6s ease-out 0.2s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

nav.breadcrumb a {
  color: #64b5f6;
  text-decoration: none;
  margin-right: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

nav.breadcrumb a:hover {
  background: rgba(100, 181, 246, 0.1);
  color: #90caf9;
  transform: translateY(-1px);
}

nav.breadcrumb span {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.table-container {
  background: rgba(255, 255, 255, 0.05);
  background: rgba(30, 30, 60, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideInUp 0.6s ease-out 0.4s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(187, 134, 252, 0.1) 100%);
}

thead tr {
  border-bottom: 2px solid rgba(100, 181, 246, 0.3);
}

th, td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: #90caf9;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

tbody tr:hover {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.05) 0%, rgba(187, 134, 252, 0.05) 100%);
  transform: translateX(4px);
  box-shadow: inset 4px 0 0 rgba(100, 181, 246, 0.5);
}

tbody tr:last-child {
  border-bottom: none;
}

a.file-link {
  color: #82aaff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

a.file-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(130, 170, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

a.file-link:hover::before {
  left: 100%;
}

a.file-link:hover {
  color: #bb86fc;
  background: rgba(130, 170, 255, 0.05);
  transform: translateX(4px);
}

a.folder-link {
  color: #64b5f6;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

a.folder-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 181, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

a.folder-link:hover::before {
  left: 100%;
}

a.folder-link:hover {
  color: #90caf9;
  background: rgba(100, 181, 246, 0.05);
  transform: translateX(4px);
}

span.icon {
  font-size: 1.4rem;
  user-select: none;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

a:hover span.icon {
  transform: scale(1.1);
}

button.copy-btn {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(187, 134, 252, 0.1) 100%);
  border: 1.5px solid rgba(100, 181, 246, 0.5);
  color: #64b5f6;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

button.copy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 181, 246, 0.2), transparent);
  transition: left 0.4s ease;
}

button.copy-btn:hover::before {
  left: 100%;
}

button.copy-btn:hover {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.2) 0%, rgba(187, 134, 252, 0.2) 100%);
  border-color: #64b5f6;
  color: #90caf9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(100, 181, 246, 0.3);
}

button.copy-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(100, 181, 246, 0.2);
}

button.delete-btn {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(233, 30, 99, 0.1) 100%);
  border: 1.5px solid rgba(244, 67, 54, 0.5);
  color: #f44336;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
  margin-left: 8px;
}

button.delete-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 67, 54, 0.2), transparent);
  transition: left 0.4s ease;
}

button.delete-btn:hover::before {
  left: 100%;
}

button.delete-btn:hover {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(233, 30, 99, 0.2) 100%);
  border-color: #f44336;
  color: #ef5350;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

button.delete-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(244, 67, 54, 0.2);
}

.size, .date {
  white-space: nowrap;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.loading {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.error {
  text-align: center;
  padding: 2rem;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.2);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #64b5f6, #bb86fc);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #90caf9, #bb86fc);
}

/* Action column styling */
th:nth-child(4),
td:nth-child(4) {
  text-align: center;
  width: 100px;
}

/* Footer Styling */
.footer {
  margin-top: 4rem;
  background: rgba(255, 255, 255, 0.03);
  background: rgba(20, 20, 40, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-section h3 {
  color: #90caf9;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #90caf9 0%, #bb86fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(144, 202, 249, 0.3);
}

.footer-description p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: block;
  padding: 0.25rem 0;
}

.footer-section ul li a:hover {
  color: #90caf9;
  transform: translateX(4px);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  color: #90caf9;
  background: rgba(144, 202, 249, 0.1);
  border-color: rgba(144, 202, 249, 0.3);
  transform: translateY(-2px);
}

.social-icon {
  font-size: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #90caf9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  header {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .header-left {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }
  
  .header-right {
    align-items: center;
    width: 100%;
  }
  
  .upload-controls {
    margin-left: 0;
  }
  
  .upload-btn-header {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .social-links {
    align-items: center;
  }
  
  .modal {
    padding-top: 20px;
  }
  
  .modal-content {
    margin: 0 10px;
    max-height: 85vh;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  nav.breadcrumb {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  table, thead, tbody, tr, th, td {
    display: block;
    width: 100%;
  }
  
  thead tr {
    display: none;
  }
  
  tbody tr {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
  }
  
  tbody tr:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
  }
  
  td {
    padding: 8px 0;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  td:last-child {
    border-bottom: none;
  }
  
  td::before {
    content: attr(data-label) ': ';
    font-weight: 600;
    color: #90caf9;
    display: inline-block;
    min-width: 100px;
  }
  
  button.copy-btn {
    position: absolute;
    right: 1rem;
    top: 1rem;
    padding: 4px 8px;
    font-size: 0.75rem;
  }
  
  a.file-link, a.folder-link {
    padding: 8px 0;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.8rem;
  }
  
  th, td {
    padding: 12px 16px;
  }
}

/* Admin Controls */
.login-form, .admin-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-controls {
  justify-content: flex-end;
}

#admin-password {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  background: rgba(40, 40, 80, 0.8);
  color: white;
  font-size: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#admin-password:focus {
  outline: none;
  border-color: #64b5f6;
  box-shadow: 0 0 0 2px rgba(100, 181, 246, 0.2);
}

#admin-password::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.admin-btn {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: #667eea;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.admin-btn:active {
  transform: translateY(0);
}

.admin-btn.cancel {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.admin-btn.cancel:hover {
  background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: modalFadeIn 0.3s ease;
  visibility: hidden;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}



.modal[style*="display: flex"] {
  visibility: visible;
  opacity: 1;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 20px;
  padding: 0;
  width: 95%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-header {
  padding: 25px 30px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.modal-header h2 {
  margin: 0 0 8px 0;
  color: white;
  font-size: 26px;
  font-weight: 600;
}

.modal-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Folder Selection */
.folder-selection {
  padding: 20px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.folder-selection label {
  color: white;
  font-weight: 500;
  font-size: 14px;
  min-width: 120px;
}

.folder-select {
  flex: 1;
  min-width: 200px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  background: rgba(40, 40, 80, 0.8);
  color: white;
  font-size: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.folder-select:focus {
  outline: none;
  border-color: #64b5f6;
  box-shadow: 0 0 0 2px rgba(100, 181, 246, 0.2);
}

.folder-select option {
  background: #1e3c72;
  color: white;
}

.refresh-btn {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(180deg);
}

/* Upload Area */
.upload-area {
  margin: 20px 30px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 50px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.upload-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.upload-area:hover::before {
  left: 100%;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: #64b5f6;
  background: rgba(100, 181, 246, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(100, 181, 246, 0.2);
}

.upload-area input[type="file"] {
  display: none;
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 15px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.upload-text h3 {
  margin: 0 0 10px 0;
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.upload-text p {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.upload-link {
  color: #64b5f6;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
}

.upload-link:hover {
  color: #42a5f5;
}

.upload-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 15px;
}

/* Selected Files Preview */
.selected-files {
  margin: 20px 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.selected-files h4 {
  margin: 0 0 15px 0;
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.file-preview-list {
  max-height: 200px;
  overflow-y: auto;
}

.file-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.file-preview-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(5px);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.file-icon {
  font-size: 20px;
  min-width: 24px;
}

.file-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.file-name {
  color: white;
  font-weight: 500;
  font-size: 14px;
  word-break: break-all;
}

.file-size {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.remove-file {
  background: rgba(255, 107, 107, 0.2);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 6px;
  color: #ff6b6b;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 12px;
  transition: all 0.3s ease;
  min-width: 30px;
}

.remove-file:hover {
  background: rgba(255, 107, 107, 0.4);
  transform: scale(1.1);
}

/* Progress Bar */
.upload-progress {
  margin: 20px 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.progress-label {
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #64b5f6, #42a5f5, #1e88e5);
  transition: width 0.4s ease;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.upload-status {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-align: center;
}

/* Upload Buttons */
.upload-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 20px 30px 30px;
}

.admin-btn.primary {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  min-width: 140px;
  justify-content: center;
}

.admin-btn.primary:hover {
  background: linear-gradient(135deg, #45a049 0%, #4caf50 100%);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.admin-btn.primary:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-icon {
  font-size: 16px;
}

.btn-text {
  font-weight: 600;
}

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 1001;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.notification.success {
  background: linear-gradient(135deg, #4caf50, #45a049);
}

.notification.error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
}

.notification.info {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}

/* Responsive Admin Controls */
@media (max-width: 768px) {
  .login-form, .admin-controls {
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
  }
  
  .modal-content {
    padding: 20px;
    margin: 20px;
  }
  
  .upload-area {
    padding: 30px 15px;
  }
  
  .notification {
    right: 10px;
    left: 10px;
    transform: translateY(-100px);
  }
  
  .notification.show {
    transform: translateY(0);
  }
}