:root {
    --primary-red: rgb(228, 0, 56);
    --primary-red-light: rgba(228, 0, 56, 0.1);
    --text-dark: #000;
    --text-light: #333;
    --bg-white: #fff;
    --border-light: #eee;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-white);
}

header {
    background: var(--primary-red);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.availability, .calendar {
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 1rem;
    padding: 0.75rem;
}

.booking-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

/* ----- */


.booking-list textarea {
    font-size: .9rem;
    min-width: 14rem;
    min-height: 2rem;
}


.field {
    margin-bottom: 1.5rem;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.field input, .field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.date-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.radio-card {
    cursor: pointer;
    position: relative;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-card:hover {
    border-color: var(--primary-red-light);
}

.card-content {
    padding: 1.5rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    height: 100%;
}

.radio-card input[type="radio"]:checked + .card-content {
    transition: all 0.2s;
    border-color: var(--primary-red);
    background: var(--primary-red-light);
}

.card-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.card-content strong {
    color: var(--primary-red);
    font-size: 1.2rem;
}

fieldset {
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

fieldset legend {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0 1rem;
}

.extras label, .deposit label, .confirmations label {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.hint {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.select {
  appearance: none;
  width: 100%;
  max-width: 320px;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.6rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.1rem;
  color: #1e293b;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.submit-btn {
    background: var(--primary-red);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;  
    display: block;
    margin: auto;
}