/* ═══════════════════════════════════════════════════════════════════════
   FORM VALIDATION STYLES
   ═══════════════════════════════════════════════════════════════════════ */

/* Form container */
form {
  margin-bottom: 32px;
}

/* Form message (success/error) */
.form-message {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 4px solid;
  animation: slideDown 0.3s ease-out;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.form-message-success {
  background: rgba(76, 175, 80, 0.1);
  border-left-color: #4CAF50;
  color: #4CAF50;
}

.form-message-error {
  background: rgba(244, 67, 54, 0.1);
  border-left-color: #f44336;
  color: #f44336;
}

.form-message-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.form-message i {
  font-size: 20px;
  flex-shrink: 0;
}

/* Form group */
.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--off-white, #F2EBD9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group label .required {
  color: var(--gold, #C9A84C);
}

/* Input fields with validation states */
input,
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--off-white, #F2EBD9);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold, #C9A84C);
  background: rgba(201, 168, 76, 0.08);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

input::placeholder {
  color: rgba(242, 235, 217, 0.4);
}

/* Success state */
.field-success {
  border-color: #4CAF50 !important;
  background: rgba(76, 175, 80, 0.05) !important;
}

.field-success:focus {
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15) !important;
}

/* Error state */
.field-error {
  border-color: #f44336 !important;
  background: rgba(244, 67, 54, 0.05) !important;
}

.field-error:focus {
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.15) !important;
}

/* Error message under field */
.field-error-message {
  font-size: 13px;
  color: #f44336;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: slideDown 0.2s ease-out;
}

.field-error-message::before {
  content: '⚠';
  font-size: 14px;
  flex-shrink: 0;
}

/* Checkbox and radio styles */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  height: auto;
  margin-right: 8px;
  cursor: pointer;
  accent-color: var(--gold, #C9A84C);
  min-width: 18px;
  min-height: 18px;
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-group label,
.radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: normal;
}

.checkbox-group label input,
.radio-group label input {
  margin: 0 8px 0 0;
}

/* Textarea */
textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* Select styling */
select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F2EBD9' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Form button */
button[type="submit"],
input[type="submit"] {
  background: linear-gradient(135deg, #E8CB6A 0%, var(--gold, #C9A84C) 50%, #B8960C 100%);
  color: #000;
  border: 2px solid rgba(255, 255, 255, 0.15);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button[type="submit"]:hover:not(:disabled),
input[type="submit"]:hover:not(:disabled) {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.7), 0 0 50px rgba(255, 255, 255, 0.4);
}

button[type="submit"]:active:not(:disabled),
input[type="submit"]:active:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
}

button[type="submit"]:disabled,
input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  form {
    margin-bottom: 24px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  input,
  textarea,
  select {
    padding: 14px 12px;
    font-size: 16px;
    min-height: 48px;
  }

  button[type="submit"],
  input[type="submit"] {
    width: 100%;
    padding: 16px;
  }

  .checkbox-group,
  .radio-group {
    gap: 16px;
  }

  .checkbox-group label,
  .radio-group label {
    min-height: 48px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   GDPR COOKIE CONSENT BANNER
   ═══════════════════════════════════════════════════════════════════════ */

#gdpr-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  animation: slideUp 0.4s ease-out;
  transition: opacity 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.gdpr-banner {
  padding: 20px 16px;
}

.gdpr-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.gdpr-banner-content {
  flex: 1;
  min-width: 0;
}

.gdpr-banner-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gold, #C9A84C);
  letter-spacing: 0.05em;
}

.gdpr-banner-text {
  font-size: 13px;
  color: rgba(242, 235, 217, 0.8);
  line-height: 1.5;
  margin: 0;
}

.gdpr-banner-text a {
  color: var(--gold, #C9A84C);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.gdpr-banner-text a:hover {
  opacity: 0.8;
}

/* Details/accordion */
.gdpr-details {
  margin-top: 12px;
}

.gdpr-summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--gold, #C9A84C);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.gdpr-summary:hover {
  color: #E8C97A;
}

.gdpr-summary i {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.gdpr-details[open] .gdpr-summary i {
  transform: rotate(180deg);
}

.gdpr-details-content {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 12px;
  color: rgba(242, 235, 217, 0.7);
  line-height: 1.6;
}

.gdpr-details-content h4 {
  color: var(--gold, #C9A84C);
  margin-bottom: 8px;
  font-weight: 600;
}

.gdpr-details-content ul {
  margin: 0 0 12px 20px;
  padding: 0;
}

.gdpr-details-content li {
  margin-bottom: 6px;
}

.gdpr-details-content a {
  color: var(--gold, #C9A84C);
  text-decoration: underline;
}

/* Actions */
.gdpr-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.gdpr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  min-height: 40px;
  white-space: nowrap;
}

.gdpr-btn i {
  font-size: 14px;
}

.gdpr-btn-primary {
  background: var(--gold, #C9A84C);
  color: #000;
  font-weight: 700;
}

.gdpr-btn-primary:hover {
  background: #E8C97A;
  transform: translateY(-2px);
}

.gdpr-btn-secondary {
  background: transparent;
  color: var(--gold, #C9A84C);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.gdpr-btn-secondary:hover {
  border-color: var(--gold, #C9A84C);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* Mobile responsive - stack vertically */
@media (max-width: 900px) {
  .gdpr-banner-container {
    flex-direction: column;
    gap: 16px;
  }

  .gdpr-banner-actions {
    width: 100%;
  }

  .gdpr-btn {
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 600px) {
  #gdpr-consent-banner {
    padding: 16px 12px;
  }

  .gdpr-banner-title {
    font-size: 14px;
  }

  .gdpr-banner-text {
    font-size: 12px;
  }

  .gdpr-summary {
    font-size: 11px;
  }

  .gdpr-details-content {
    font-size: 11px;
  }

  .gdpr-btn {
    padding: 12px 16px;
    font-size: 11px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   PRIVACY NOTICE
   ═══════════════════════════════════════════════════════════════════════ */

.privacy-notice {
  background: rgba(212, 175, 55, 0.08);
  border-left: 4px solid var(--gold, #C9A84C);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 24px;
  font-size: 12px;
  color: rgba(242, 235, 217, 0.8);
  line-height: 1.6;
}

.privacy-notice strong {
  color: var(--gold, #C9A84C);
}

.privacy-notice a {
  color: var(--gold, #C9A84C);
  text-decoration: underline;
}

.privacy-notice a:hover {
  opacity: 0.8;
}

.privacy-notice p {
  margin: 0 0 12px 0;
}

.privacy-notice p:last-child {
  margin-bottom: 0;
}

/* Data export section */
.data-export-section {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
}

.data-export-section h3 {
  color: var(--gold, #C9A84C);
  margin-bottom: 16px;
  font-size: 18px;
}

.data-export-section p {
  margin-bottom: 16px;
  color: rgba(242, 235, 217, 0.8);
}

.data-export-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.data-export-btn {
  background: transparent;
  border: 1px solid var(--gold, #C9A84C);
  color: var(--gold, #C9A84C);
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.data-export-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.data-export-btn i {
  font-size: 14px;
}
