/* BAUGELD 1-2-3 Theme */
:root {
  --primary-red: #E31E24;
  --primary-dark: #003d7a;
  --dark-gray: #333333;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --border-gray: #e0e0e0;
  --success-green: #27ae60;
  --error-red: #c0392b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
}

body { background-color: var(--light-gray); }

header {
  background-color: var(--white);
  border-bottom: 3px solid var(--primary-red);
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img { max-height: 70px; width: auto; }

.container { max-width: 800px; margin: 40px auto; padding: 0 20px; }

.card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-top: 4px solid var(--primary-red);
}

h1, h2, h3 { color: var(--primary-dark); margin-bottom: 20px; }
h1 { font-size: 32px; margin-bottom: 10px; }
.subtitle { color: var(--primary-red); font-size: 18px; font-weight: 600; margin-bottom: 30px; }
p { margin-bottom: 15px; color: #555; }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark-gray); }

input[type=text], input[type=email], input[type=tel],
input[type=password], textarea, select {
  width: 100%; padding: 12px; border: 1px solid var(--border-gray);
  border-radius: 4px; font-size: 14px; transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.btn {
  display: inline-block; padding: 12px 30px; border: none;
  border-radius: 4px; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all 0.3s; text-decoration: none; text-align: center;
}

.btn-primary { background-color: var(--primary-red); color: var(--white); }
.btn-primary:hover { background-color: #c21820; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(227,30,36,0.3); }
.btn-secondary { background-color: var(--dark-gray); color: var(--white); }
.btn-secondary:hover { background-color: #1a1a1a; transform: translateY(-2px); }
.btn-block { width: 100%; margin-bottom: 10px; }

.alert { padding: 15px 20px; border-radius: 4px; margin-bottom: 20px; }
.alert-error { background-color: #fadbd8; color: var(--error-red); border-left: 4px solid var(--error-red); }
.alert-success { background-color: #d5f4e6; color: var(--success-green); border-left: 4px solid var(--success-green); }
.alert-info { background-color: #ebf5fb; color: #2874a6; border-left: 4px solid #2874a6; }

footer {
  background-color: var(--primary-dark);
  color: var(--white); padding: 40px 20px; margin-top: 60px; text-align: center;
}
footer p { color: #ccc; margin-bottom: 10px; }
footer a { color: #7fb3e0; text-decoration: none; }
footer a:hover { text-decoration: underline; }

.success-icon { font-size: 48px; text-align: center; margin-bottom: 20px; color: var(--success-green); }
.error-icon { font-size: 48px; text-align: center; margin-bottom: 20px; color: var(--error-red); }

.consent-buttons { display: flex; gap: 15px; margin-top: 30px; }
.consent-buttons .btn { flex: 1; }

@media (max-width: 768px) {
  .container { margin: 20px auto; }
  .card { padding: 20px; }
  h1 { font-size: 24px; }
  .consent-buttons { flex-direction: column; }
  .consent-buttons .btn { width: 100%; }
}

.privacy-info {
  background-color: #fff3f3;
  border-left: 4px solid var(--primary-red);
  padding: 15px 20px; margin: 20px 0; border-radius: 4px;
}
.privacy-info strong { color: var(--dark-gray); }

.spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 3px solid var(--border-gray); border-top-color: var(--primary-red);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
