/* Auth Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff6b6b 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.auth-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 248, 220, 0.9)
  );
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.3);
  animation: slideInUp 0.8s ease-out;
}

.register-card {
  max-width: 600px;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  animation: shimmer 3s infinite;
}

.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.auth-header h2 {
  font-size: 2.5rem;
  background: linear-gradient(45deg, #8b0000, #dc143c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: #666;
  font-size: 1.1rem;
  font-weight: 400;
}

.auth-form {
  position: relative;
  z-index: 2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #8b0000;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(139, 0, 0, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  background: rgba(255, 255, 255, 1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select {
  cursor: pointer;
}

/* File Upload Styles */
.file-upload-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-upload-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 20px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  width: fit-content;
}

.file-upload-btn:hover {
  background: linear-gradient(135deg, #ff8c00, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

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

.file-name {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.photo-preview {
  margin-top: 0.75rem;
}

.photo-preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Checkbox Styles */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: #666;
  position: relative;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(139, 0, 0, 0.3);
  border-radius: 4px;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-container:hover .checkmark {
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
  background: linear-gradient(135deg, #8b0000, #dc143c);
  border-color: #8b0000;
}

.checkbox-container input:checked ~ .checkmark::after {
  content: "✓";
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.forgot-password,
.terms-link {
  color: #8b0000;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.forgot-password:hover,
.terms-link:hover {
  color: #dc143c;
  text-decoration: underline;
}

/* Button Styles */
.auth-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #8b0000, #dc143c);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.auth-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

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

.auth-btn:hover {
  background: linear-gradient(45deg, #dc143c, #ff6b6b);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(139, 0, 0, 0.4);
}

/* Divider */
.auth-divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 0, 0, 0.3),
    transparent
  );
}

.auth-divider span {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 248, 220, 0.9)
  );
  padding: 0 1rem;
  color: #666;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* Auth Switch */
.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
}

.auth-switch p {
  color: #666;
  font-size: 1rem;
}

.auth-switch a {
  color: #8b0000;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-switch a:hover {
  color: #dc143c;
  text-decoration: underline;
}

/* Background Animation */
.auth-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.music-notes {
  position: relative;
  width: 100%;
  height: 100%;
}

.note {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.note-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.note-2 {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
  font-size: 1.5rem;
}

.note-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
  font-size: 2.5rem;
}

.note-4 {
  bottom: 20%;
  right: 20%;
  animation-delay: 3s;
}

.note-5 {
  top: 50%;
  left: 5%;
  animation-delay: 4s;
  font-size: 1.8rem;
}

.note-6 {
  top: 60%;
  right: 10%;
  animation-delay: 2.5s;
  font-size: 2.2rem;
}

.note-7 {
  bottom: 10%;
  left: 50%;
  animation-delay: 1.5s;
  font-size: 1.6rem;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 2rem;
  border-radius: 12px;
  color: white;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

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

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

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

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.3;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .auth-container {
    padding: 1rem;
  }

  .auth-card {
    padding: 2rem;
    margin: 1rem;
  }

  .auth-header h2 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .note {
    font-size: 1.5rem;
  }

  .note-3 {
    font-size: 2rem;
  }

  .note-5 {
    font-size: 1.3rem;
  }

  .note-6 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .auth-header h2 {
    font-size: 1.8rem;
  }

  .auth-header p {
    font-size: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .auth-btn {
    padding: 12px;
    font-size: 1rem;
  }

  .file-upload-btn {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  .photo-preview img {
    width: 80px;
    height: 80px;
  }

  .notification {
    left: 10px;
    right: 10px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

