styles.css

24.13 KB
31/07/2025 12:44
CSS
styles.css
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  color: #ffffff;
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Header */
.header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ffffff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header-info {
  font-size: 0.9rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 20px;
}
/* Authentication Controls */
.auth-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
#username-display {
  font-weight: 500;
  opacity: 0.9;
}
.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
/* Hide admin controls by default */
.admin-controls {
  display: none;
}
/* Show admin controls when authenticated */
.authenticated .admin-controls {
  display: flex;
}
/* Main Content */
.main {
  flex: 1;
  padding: 40px 0;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  opacity: 0.9;
}
/* Albums Grid */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.album-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform-style: preserve-3d;
}
.album-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.album-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}
.album-card:hover::before {
  opacity: 1;
}
.album-cover {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.album-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      rgba(102, 126, 234, 0.3) 0%,
      rgba(118, 75, 162, 0.3) 50%,
      rgba(240, 147, 251, 0.3) 100%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
}
.album-card:hover .album-cover::before {
  opacity: 1;
}
.album-cover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 3;
}
.album-card:hover .album-cover::after {
  width: 100px;
  height: 100px;
}
.album-info {
  padding: 25px;
  position: relative;
  z-index: 4;
}
.album-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #ffffff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}
.album-card:hover .album-name {
  background: linear-gradient(45deg, #ffd700, #ffeb3b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(-2px);
}
.album-count {
  font-size: 0.9rem;
  opacity: 0.7;
}
/* Loading */
.loading, .modal-loading {
  text-align: center;
  padding: 40px;
}
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 3px solid #ffffff;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Modal Styles */
.modal, .slideshow-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  animation: modalFadeIn 0.4s ease-out;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(10px);
  }
}
.modal.active, .slideshow-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: linear-gradient(135deg,
      rgba(30, 60, 114, 0.95) 0%,
      rgba(42, 82, 152, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  width: 95%;
  max-width: 1100px;
  max-height: 95vh;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
}
.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
}
.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
}
.close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}
.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.modal-body {
  padding: 30px;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
}
/* Photos Grid */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.photo-item {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}
.photo-item:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.photo-delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(231, 76, 60, 0.9);
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 2;
}
.photo-item:hover .photo-delete-btn {
  opacity: 1;
  transform: scale(1);
}
.photo-delete-btn:hover {
  background: rgba(231, 76, 60, 1);
  transform: scale(1.1);
}
/* Slideshow */
.slideshow-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.slideshow-image-container {
  max-width: 85%;
  max-height: 85%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: imageSlideIn 0.6s ease-out;
}
@keyframes imageSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) rotateY(15deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
}
.slideshow-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  transform: scale(1);
}
.slideshow-image-container:hover .slideshow-image {
  transform: scale(1.05);
}
.slideshow-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}
.slideshow-close:hover {
  background: rgba(255, 69, 58, 0.9);
  transform: scale(1.1) rotate(90deg);
  border-color: rgba(255, 255, 255, 0.4);
}
.slideshow-delete {
  position: absolute;
  top: 30px;
  right: 110px;
  background: rgba(231, 76, 60, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}
.slideshow-delete:hover {
  background: rgba(231, 76, 60, 1);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}
.slideshow-prev, .slideshow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1001;
}
.slideshow-prev {
  left: 30px;
}
.slideshow-next {
  right: 30px;
}
.slideshow-prev:hover, .slideshow-next:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  transform: translateY(-50%) scale(1.15);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
/* Auto-play controls */
.slideshow-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.play-pause-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}
.play-pause-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.slideshow-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 15px;
}
.slideshow-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
  transition: width 0.1s linear;
  width: 0%;
}
.slideshow-timer {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 60px;
  text-align: center;
}
.slideshow-info {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  white-space: nowrap;
}
/* Responsive Design */
@media (max-width: 768px) {
  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  .album-card:hover {
    transform: translateY(-8px);
  }
  .slideshow-prev, .slideshow-next {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .slideshow-prev {
    left: 15px;
  }
  .slideshow-next {
    right: 15px;
  }
  .slideshow-close {
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
    top: 20px;
    right: 20px;
  }
  .slideshow-controls {
    bottom: 20px;
    padding: 12px 20px;
    gap: 12px;
  }
  .slideshow-progress {
    width: 150px;
    margin: 0 10px;
  }
  .play-pause-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .albums-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .slideshow-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .slideshow-progress {
    width: 120px;
    order: 3;
    margin: 5px 0 0 0;
  }
}
/* Admin Controls */
.admin-controls {
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
/* Upload Zone */
.upload-zone {
  flex: 1;
  min-width: 300px;
  height: 120px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.upload-zone:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.upload-zone.drag-over {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  transform: scale(1.02);
}
.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 20px;
}
.upload-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  opacity: 0.7;
}
.upload-content p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}
/* Tag Filter */
.tag-filter {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.tag-filter-item {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}
.tag-filter-item:hover,
.tag-filter-item.active {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.tag-filter-item.active {
  border-color: rgba(255, 255, 255, 0.4);
}
/* Form Styles */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.form-row {
  display: flex;
  gap: 15px;
  align-items: center;
}
.form-row .form-group {
  flex: 1;
}
.form-row button {
  margin-bottom: 0;
  height: fit-content;
}
.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Checkbox Styles */
.checkbox-label {
  display: flex !important;
  align-items: center;
  cursor: pointer;
  margin-bottom: 0 !important;
}
.checkbox-label input[type="checkbox"] {
  display: none;
}
.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  margin-right: 12px;
  position: relative;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}
.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #667eea;
  border-color: #667eea;
}
.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}
/* Tag Selector */
.tag-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  min-height: 60px;
}
.tag-item {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
}
.tag-item:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.tag-item.selected {
  border-color: #00E676;
  background: rgba(0, 230, 118, 0.25);
  box-shadow: 0 0 0 2px rgba(0, 230, 118, 0.2), 0 2px 12px rgba(0, 230, 118, 0.4);
  font-weight: 600;
  color: #ffffff;
}
.tag-item .tag-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.tag-item.selected .tag-color {
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.5);
}
/* Tags List */
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}
.tag-item-with-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.tag-actions {
  display: flex;
  gap: 4px;
}
.tag-action-btn {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.tag-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.tag-action-btn.delete:hover {
  background: rgba(231, 76, 60, 0.8);
}
/* Album Selector */
.album-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  max-height: 300px;
  overflow-y: auto;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}
.album-selector-item {
  padding: 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.album-selector-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.album-selector-item.selected {
  background: rgba(102, 126, 234, 0.3);
  border-color: #667eea;
}
.album-selector-item h4 {
  margin: 0 0 5px 0;
  font-size: 0.9rem;
}
.album-selector-item p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.7;
}
/* RSS Stats Display */
.rss-stats {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.3);
}
.rss-stats-content h4 {
  margin: 0 0 10px 0;
  color: #3498db;
  font-size: 1rem;
}
.rss-stats-content p {
  margin: 8px 0;
  font-size: 0.9rem;
}
.rss-stats-content code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  word-break: break-all;
}
.rss-stats-content code a {
  color: #3498db;
  text-decoration: none;
}
.rss-stats-content code a:hover {
  text-decoration: underline;
}
.rss-stats-content small {
  display: block;
  margin-top: 10px;
  opacity: 0.8;
  font-size: 0.8rem;
  line-height: 1.4;
}
/* Album Selection Grid */
.album-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  max-height: 400px;
  overflow-y: auto;
  padding: 20px;
}
.album-selection-item {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.album-selection-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}
.album-selection-item > * {
  position: relative;
  z-index: 1;
}
.album-selection-item:hover {
  transform: scale(1.05);
  border-color: #667eea;
}
.album-selection-item h4 {
  margin: 0 0 5px 0;
  font-size: 0.9rem;
  color: white;
}
.album-selection-item p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
  color: white;
}
/* Upload Progress */
.upload-progress {
  text-align: center;
  padding: 20px;
}
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}
.upload-status {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}
.upload-details {
  font-size: 0.9rem;
  opacity: 0.7;
  color: rgba(255, 255, 255, 0.7);
}
/* Enhanced Album Card */
.album-card {
  position: relative;
}
.album-card .album-actions {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.album-card:hover .album-actions {
  opacity: 1;
}
.album-action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.album-action-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}
.album-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.album-tag {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Responsive Design Updates */
@media (max-width: 768px) {
  .admin-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .upload-zone {
    min-width: auto;
    height: 100px;
  }
  .form-row {
    flex-direction: column;
  }
  .form-actions {
    flex-direction: column;
  }
  .album-selector {
    grid-template-columns: 1fr;
  }
  .album-selection-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}
/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}