/* Paulina Padzik - Rezerwacje - Frontend Styles */

.pp-rez-form {
    max-width: 520px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
}

.pp-rez-msg {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 15px;
    display: none;
    line-height: 1.5;
}

.pp-rez-msg.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.pp-rez-msg.error {
    display: block;
    background: #fce4ec;
    color: #c62828;
    border-left: 4px solid #e91e63;
}

.pp-rez-form .form-row {
    margin-bottom: 18px;
}

.pp-rez-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.pp-rez-form input[type="text"],
.pp-rez-form input[type="email"],
.pp-rez-form input[type="tel"],
.pp-rez-form input[type="date"],
.pp-rez-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.pp-rez-form input:focus,
.pp-rez-form textarea:focus {
    outline: none;
    border-color: #1abc9c;
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.1);
}

.pp-rez-form textarea {
    resize: vertical;
    min-height: 80px;
}

.pp-rez-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #999;
}

/* Godziny buttons */
.pp-rez-godziny {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pp-rez-godz-btn {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s ease;
}

.pp-rez-godz-btn:hover {
    border-color: #1abc9c;
    background: #e8f8f5;
}

.pp-rez-godz-btn.selected {
    border-color: #1abc9c;
    background: #1abc9c;
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 188, 156, 0.3);
}

/* Typy wizyt */
.pp-rez-typy {
    display: flex;
    gap: 12px;
}

.pp-rez-typ {
    flex: 1;
    cursor: pointer;
}

.pp-rez-typ input {
    display: none;
}

.pp-rez-typ span {
    display: block;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    background: #fff;
}

.pp-rez-typ:hover span {
    border-color: #1abc9c;
}

.pp-rez-typ input:checked + span {
    border-color: #1abc9c;
    background: #e8f8f5;
    color: #16a085;
    box-shadow: 0 2px 8px rgba(26, 188, 156, 0.15);
}

/* Submit button */
.pp-rez-btn {
    width: 100%;
    padding: 16px 24px;
    background: #1abc9c;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pp-rez-btn:hover {
    background: #16a085;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.3);
}

.pp-rez-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Checkbox styling */
.pp-rez-form input[type="checkbox"] {
    width: auto;
    margin-right: 6px;
    accent-color: #1abc9c;
}

/* Responsive */
@media (max-width: 480px) {
    .pp-rez-typy {
        flex-direction: column;
    }
    .pp-rez-godz-btn {
        padding: 8px 14px;
        font-size: 14px;
    }
}
