/* Additional custom styles */
body {
  min-height: 100vh;
}

/* Custom form validation styles */
input:invalid {
  border-color: #FF1F1F;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .max-w-screen-xl {
    padding: 16px;
  }
  
  /* Center header logo on mobile */
  header svg {
    margin: 0 auto;
  }
  
  /* Adjust spacing for mobile */
  main {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Ensure image doesn't overflow */
  img.rounded-3xl {
    max-height: 40vh;
    object-fit: cover;
  }
}

/* Tablet-specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Adjust layout for tablets */
  main {
    padding: 0 1rem;
  }
}

/* Responsive form adjustments */
@media (min-width: 768px) {
  form {
    max-width: 500px;
  }
}

/* Animation for modal */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

/* Focus styles for input containers */
.input-container:focus-within {
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Remove default input focus styles */
input:focus {
  outline: none;
}

/* Error message styling */
.error-message {
  color: #FF1F1F;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Input with error state */
.input-error {
  border-color: #FF1F1F !important;
  animation: shake 0.3s ease-in-out;
}

/* Shake animation for error */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Button hover effect */
button:hover {
  transform: translateY(-1px);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

button:active {
  transform: translateY(0);
}

/* Custom checkbox styling */
#kvkk {
  position: relative;
  transition: all 0.2s ease;
}

#kvkk:checked {
  background-color: #000000;
  border-color: #000000;
}

#kvkk:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Checkmark styling */
#kvkk + svg {
  transition: opacity 0.2s ease;
}

/* KVKK link styling */
.kvkk-link {
  color: #000000;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.kvkk-link:hover {
  color: #206EFF;
}

/* Modal overlay styling */
.modal-overlay {
  backdrop-filter: blur(8px);
}

/* Modal scroll styling */
.modal-content {
  scrollbar-width: thin;
  scrollbar-color: #E5E7EB #F9FAFB;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: #F9FAFB;
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #E5E7EB;
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #D1D5DB;
} 