:root {
    --bg-dark: #0f1115;
    --bg-card: #181b21;
    --bg-input: #23272f;
    --primary-gold: #d4af37;
    --primary-light: #f3e5ab;
    --text-main: #f8f9fa;
    --text-muted: #8b92a5;
    --border-color: rgba(212, 175, 55, 0.15);
    --border-focus: rgba(212, 175, 55, 0.5);
    --danger: #ef4444;
    --success: #10b981;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
    overflow-x: hidden;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 500px;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    backdrop-filter: blur(10px);
}

.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--primary-gold);
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.datetime-group {
    display: flex;
    gap: 1rem;
}

.w-50 {
    width: 50%;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

input[type="text"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid transparent;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

select {
    appearance: none;
    cursor: pointer;
}

input:focus, select:focus {
    border-color: var(--border-focus);
    background-color: rgba(35, 39, 47, 0.8);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

input:focus + i, select:focus + i,
.input-wrapper:focus-within i {
    color: var(--primary-gold);
}

/* Custom Date Icon */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
}

/* Services Grid */
.services-grid {
    display: flex;
    gap: 0.75rem;
}

.service-card {
    flex: 1;
    cursor: pointer;
}

.service-card input {
    display: none;
}

.card-content {
    background-color: var(--bg-input);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-content i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.card-content span {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.card-content .price {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.service-card input:checked + .card-content {
    border-color: var(--primary-gold);
    background-color: rgba(212, 175, 55, 0.05);
}

.service-card input:checked + .card-content i {
    color: var(--primary-gold);
}

.service-card:hover .card-content {
    border-color: var(--border-focus);
}

.btn-submit {
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--primary-gold), #b38b22);
    color: #000;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -10px rgba(212, 175, 55, 0.5);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px rgba(212, 175, 55, 0.6);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit.loading {
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    animation: slideUp 0.5s ease;
}

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

.success-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.success-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.success-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.receipt-card {
    background: var(--bg-input);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.receipt-item:last-child {
    border-bottom: none;
}

.receipt-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.receipt-value {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.2);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-main);
}

.hidden {
    display: none !important;
}

/* Nova seleção de Datas Horizontal (Mobile First) */
.date-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding-bottom: 0.5rem;
    margin-top: 0.25rem;
}

.date-strip::-webkit-scrollbar {
    display: none;
}

.date-pill {
    min-width: 65px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
    background: var(--bg-input);
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-pill.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-gold);
}

.date-pill .weekday {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 500;
}

.date-pill.active .weekday {
    color: var(--primary-gold);
}

.date-pill .day-num {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0.25rem;
    color: var(--text-main);
}

.date-pill.active .day-num {
    color: var(--primary-gold);
}

@media (max-width: 480px) {
    .container {
        padding: 2rem 1.5rem;
    }
    
    .services-grid {
        flex-direction: column;
    }
}
