/**
 * Page Privatiser Salle - Styles de privatisation
 * @package RoadHouse
 */

/* ===== PAGE LAYOUT ===== */
.page-privatiser-salle {
    min-height: 100vh;
    padding: 120px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== PRIVATISATION CONTAINER ===== */
.page-privatiser-salle .privatisation-container {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

/* ===== FORM SECTION ===== */
.page-privatiser-salle .privatisation-form-section {
    margin-bottom: 80px;
}

.page-privatiser-salle .privatisation-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-white);
}

/* ===== ERROR MESSAGES ===== */
.page-privatiser-salle .privatisation-errors {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid var(--color-white);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.page-privatiser-salle .privatisation-errors .error-message {
    color: var(--color-white);
    font-size: 0.9rem;
    margin: 0;
    padding: 5px 0;
}

.page-privatiser-salle .privatisation-errors .error-message:last-child {
    padding-bottom: 0;
}

/* ===== FORM STYLES ===== */
.page-privatiser-salle .privatisation-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-privatiser-salle .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-privatiser-salle .form-group label {
    font-size: 0.9rem;
    color: var(--color-white);
    font-weight: 700;
}

/* ===== INPUT WRAPPER ===== */
.page-privatiser-salle .input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0 20px;
    height: 55px;
    transition: var(--transition);
}

.page-privatiser-salle .input-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
}

.page-privatiser-salle .input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-right: 15px;
    flex-shrink: 0;
}

.page-privatiser-salle .input-icon svg {
    width: 20px;
    height: 20px;
}

.page-privatiser-salle .input-wrapper input[type="text"],
.page-privatiser-salle .input-wrapper input[type="email"],
.page-privatiser-salle .input-wrapper input[type="tel"],
.page-privatiser-salle .input-wrapper input[type="date"],
.page-privatiser-salle .input-wrapper select {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    outline: none;
    height: 100%;
}

.page-privatiser-salle .input-wrapper input::placeholder {
    color: var(--color-white);
}

.page-privatiser-salle .input-wrapper input[type="date"] {
    color: var(--color-white);
}

.page-privatiser-salle .input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

.page-privatiser-salle .input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.page-privatiser-salle .input-wrapper select option {
    background: var(--color-bg-card);
    color: var(--color-white);
}

/* ===== TEXTAREA WRAPPER ===== */
.page-privatiser-salle .textarea-wrapper {
    height: auto;
    padding: 15px 20px;
    align-items: flex-start;
}

.page-privatiser-salle .textarea-wrapper .input-icon {
    margin-top: 3px;
}

.page-privatiser-salle .input-wrapper textarea {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    outline: none;
    resize: vertical;
    min-height: 80px;
}

.page-privatiser-salle .input-wrapper textarea::placeholder {
    color: var(--color-white);
}

/* ===== SELECT WRAPPER ===== */
.page-privatiser-salle .select-wrapper {
    position: relative;
}

.page-privatiser-salle .select-arrow {
    display: flex;
    align-items: center;
    color: var(--color-white);
    pointer-events: none;
}

/* ===== PERSONNES COUNTER ===== */
.page-privatiser-salle .personnes-wrapper {
    padding: 0;
    gap: 0;
}

.page-privatiser-salle .personnes-btn {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.page-privatiser-salle .personnes-btn.minus {
    border-radius: 10px 0 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.page-privatiser-salle .personnes-btn.plus {
    border-radius: 0 10px 10px 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.page-privatiser-salle .personnes-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-privatiser-salle .personnes-btn svg {
    width: 20px;
    height: 20px;
}

.page-privatiser-salle .personnes-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.page-privatiser-salle .personnes-count {
    color: var(--color-white);
    font-size: 0.95rem;
}

.page-privatiser-salle .personnes-input {
    width: 60px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-primary);
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.page-privatiser-salle .personnes-input::-webkit-outer-spin-button,
.page-privatiser-salle .personnes-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-privatiser-salle .personnes-label {
    color: var(--color-white);
    font-size: 0.95rem;
}

/* ===== FORM ACTIONS ===== */
.page-privatiser-salle .form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.page-privatiser-salle .btn-submit {
    background: var(--color-white);
    color: var(--color-bg-dark);
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid var(--color-white);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.page-privatiser-salle .btn-submit:hover {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* ===== INFO SECTION (Privatiser) ===== */
.page-privatiser-salle .privatiser-section {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid var(--color-white);
}

.page-privatiser-salle .privatiser-title {
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 30px;
}

.page-privatiser-salle .privatiser-info-text {
    font-size: 0.95rem;
    color: var(--color-white);
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.page-privatiser-salle .btn-privatiser {
    display: inline-block;
    background: transparent;
    color: var(--color-white);
    padding: 15px 35px;
    border: 1px solid var(--color-white);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.page-privatiser-salle .btn-privatiser:hover {
    background: var(--color-white);
    color: var(--color-bg-dark);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .page-privatiser-salle {
        padding: 100px 15px 60px;
    }
    
    .page-privatiser-salle .privatisation-container {
        max-width: 100%;
    }
    
    .page-privatiser-salle .privatisation-title {
        font-size: 1.3rem;
        text-align: left;
    }
    
    .page-privatiser-salle .privatiser-title {
        font-size: 1.25rem;
    }
    
    .page-privatiser-salle .textarea-wrapper {
        padding: 12px 15px;
    }
    
    .page-privatiser-salle .input-wrapper textarea {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-privatiser-salle .personnes-btn {
        width: 50px;
        height: 50px;
    }
    
    .page-privatiser-salle .input-wrapper {
        height: 50px;
    }
}
