/* ===== PUBLIC STYLES - KAROLINA BOOKING ===== */

:root {
    --primary-gradient: linear-gradient(135deg, #1a6d7e 0%, #2d8a99 100%);
    --secondary-gradient: linear-gradient(135deg, #ff7856 0%, #ff9a76 100%);
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #e6f0f5 100%);
    --text-primary: #1f3a3f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.karolina-booking-wrapper {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header */
.booking-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.booking-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.booking-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Info badges */
.checkin-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 18px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    border: 2px solid #e1e6e7;
}

.clock-icon {
    font-size: 1.5rem;
}

/* Calendar */
#karolina-booking-calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.karolina-calendar {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #e1e6e7;
    width: 100%;
    max-width: 650px;
}

.calendar-header {
    background: var(--primary-gradient);
    color: white;
    padding: 25px;
    text-align: center;
}

.karolina-calendar th {
    background: var(--primary-gradient);
    color: white;
    padding: 18px 10px;
    text-align: center;
    font-weight: 600;
}

.karolina-calendar td {
    text-align: center;
    padding: 22px 10px;
    border: 1px solid #f0f5fa;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.karolina-calendar td:hover:not(.booked):not(.other-month) {
    background: var(--bg-gradient);
    transform: scale(1.05);
}

.karolina-calendar .booked {
    background: var(--secondary-gradient) !important;
    color: white;
    cursor: not-allowed;
}

.karolina-calendar .selected {
    background: var(--primary-gradient) !important;
    color: white;
}

.karolina-calendar .today {
    background: linear-gradient(135deg, #4eb8ba, #5cc9cb);
    color: white;
    font-weight: 600;
}

.karolina-calendar .other-month {
    color: #ccc;
    background: #f9f9f9;
    cursor: default;
}

/* Legendă */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Formular */
.karolina-booking-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid #e1e6e7;
    border-radius: 10px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1a6d7e;
    outline: none;
    box-shadow: 0 0 0 4px rgba(26, 109, 126, 0.1);
}

.gdpr-group {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #b3d9ff;
}

/* Buton submit */
.submit-btn {
    background: var(--primary-gradient);
    color: white;
    padding: 20px;
    border: none;
    border-radius: 50px;
    width: 100%;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Mesaje */
#karolina-booking-response {
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    display: none;
    font-weight: 600;
    text-align: center;
}

#karolina-booking-response.success {
    background: #d4edda;
    color: #155724;
}

#karolina-booking-response.error {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .karolina-booking-wrapper {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .booking-header h2 {
        font-size: 2rem;
    }
    
    .checkin-info {
        flex-direction: column;
        align-items: center;
    }
    
    .karolina-calendar {
        max-width: 100%;
    }
    
    .karolina-booking-form {
        padding: 30px 25px;
    }
}