/* Variables & Resets */
.scne-booking-wrapper {
    --scne-primary: #8a6a57;
    --scne-accent: #e27d89; /* The pinkish color from screenshot */
    --scne-accent-hover: #d26774;
    --scne-text: #4a4a4a;
    --scne-text-light: #888;
    --scne-bg-light: #fdfaf8;
    --scne-border: #e2dcd7;
    --scne-error: #e74c3c;
    --scne-success: #2ecc71;
    font-family: inherit;
    color: var(--scne-text);
}

.scne-booking-wrapper * {
    box-sizing: border-box;
}

.scne-section-title {
    font-family: 'Playfair Display', serif; /* Or theme headline font */
    font-size: 1.5rem;
    color: var(--scne-accent);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--scne-border);
    font-weight: 500;
}

.scne-grid {
    display: grid;
    gap: 1.5rem;
}

.scne-grid-2 {
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .scne-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.scne-form-group {
    display: flex;
    flex-direction: column;
}

.scne-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--scne-primary);
    margin-bottom: 0.5rem;
}

.scne-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--scne-border);
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--scne-text);
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 1rem;
    color: var(--scne-text);
    transition: border-color 0.3s;
}

.scne-input:focus {
    outline: none;
    border-bottom-color: var(--scne-accent);
}

.scne-input-readonly {
    background: rgba(0,0,0,0.02);
    cursor: not-allowed;
    border-bottom-color: var(--scne-border);
}

.scne-stripe-element {
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--scne-border);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.scne-payment-container {
    background: var(--scne-bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.scne-terms-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--scne-text-light);
}

.scne-terms-container input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--scne-accent);
}

.scne-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: var(--scne-accent);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 2rem;
}

.scne-btn:hover {
    background: var(--scne-accent-hover);
}

.scne-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner */
.scne-spinner {
    animation: rotate 2s linear infinite;
    z-index: 2;
    position: relative;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    width: 20px;
    height: 20px;
}
.scne-spinner .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}
@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

.scne-error-message {
    color: var(--scne-error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.scne-msg-box {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 500;
}
.scne-msg-error {
    background: #fdecea;
    color: var(--scne-error);
    border: 1px solid #f5c6cb;
}
.scne-msg-success {
    background: #e8f8f5;
    color: var(--scne-success);
    border: 1px solid #c3e6cb;
}
