.add-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(45deg, #b366ff, #330066);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(179, 102, 255, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.add-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(179, 102, 255, 0.6);
}


.photo-actions,
.video-actions,
.add-icon,
#addVideoIcon {
 display: none!important;
}

/* Professional Admin Modal Styles */
.admin-modal,
.password-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-modal.active {
  opacity: 1;
  visibility: visible;
}

.admin-modal-content {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 450px;
  width: 90%;
  border: 1px solid rgba(179, 102, 255, 0.3);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.4),
    0 10px 40px rgba(179, 102, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-modal.active .admin-modal-content {
  transform: scale(1) translateY(0);
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(179, 102, 255, 0.2);
}

.admin-modal-header h3 {
  color: #ffffff;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ffffff, #b366ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.close-password-modal,
.close-admin-modal {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(179, 102, 255, 0.3);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.close-password-modal:hover,
.close-admin-modal:hover {
  background: rgba(179, 102, 255, 0.2);
  border-color: #b366ff;
  transform: scale(1.05);
}

/* Password Form Styles */
.password-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  color: #e0e0e0;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

#adminPassword {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(179, 102, 255, 0.3);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#adminPassword:focus {
  outline: none;
  border-color: #b366ff;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(179, 102, 255, 0.1);
}

#adminPassword::placeholder {
  color: #888;
}

/* Control Group Styles */
.control-group,
.admin-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.control-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  color: #e0e0e0;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.control-label:hover {
  color: #b366ff;
  background: rgba(179, 102, 255, 0.1);
}

.control-checkbox {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(179, 102, 255, 0.5);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.control-checkbox:checked {
  background: linear-gradient(135deg, #b366ff, #7c3aed);
  border-color: #b366ff;
  box-shadow: 0 0 0 3px rgba(179, 102, 255, 0.2);
}

.control-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
}

.control-text {
  user-select: none;
  letter-spacing: 0.3px;
}

/* Button Styles */
.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.submit-btn,
.cancel-btn,
#submitPassword,
#cancelPassword {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.submit-btn,
#submitPassword {
  background: linear-gradient(135deg, #b366ff, #7c3aed);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(179, 102, 255, 0.3);
}

.submit-btn:hover,
#submitPassword:hover {
  background: linear-gradient(135deg, #7c3aed, #b366ff);
  box-shadow: 0 6px 20px rgba(179, 102, 255, 0.4);
  transform: translateY(-2px);
}

.cancel-btn,
#cancelPassword {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-btn:hover,
#cancelPassword:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Lock Icon Professional Styling */
.admin-lock-icon {
  position: fixed;
  top: 20px;
  left: 120px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #b366ff, #7c3aed);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(179, 102, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-lock-icon:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(179, 102, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #7c3aed, #b366ff);
}

.admin-lock-icon:active {
  transform: scale(0.98);
}

/* Error State */
#adminPassword.error {
  border-color: #ff4757;
  background: rgba(255, 71, 87, 0.1);
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .admin-lock-icon {
    left: 80px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .admin-modal-content {
    padding: 2rem;
    margin: 1rem;
    max-width: none;
    width: calc(100% - 2rem);
  }
  
  .admin-modal-header h3 {
    font-size: 1.4rem;
  }
  
  .form-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .admin-lock-icon {
    left: 60px;
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .admin-modal-content {
    padding: 1.5rem;
  }
  
  .admin-modal-header h3 {
    font-size: 1.2rem;
  }
  
  .control-label {
    font-size: 0.9rem;
    gap: 0.8rem;
  }
  
  .control-checkbox {
    width: 20px;
    height: 20px;
  }
}



/* Lightbox Styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(179, 102, 255, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
}

.lightbox-close:hover {
  color: #b366ff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  background: rgba(179, 102, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-nav:hover {
  background: rgba(179, 102, 255, 1);
  transform: translateY(-50%) scale(1.1);
}