/* ===== RESET E IMPORTAÇÕES ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=Dancing+Script:wght@400;600&display=swap');

/* ===== PALETA DE CORES ATUALIZADA ===== */
/* Bege/Creme: #E8DCC8, Dourado: #C5A059, Verde Sálvia: #9DB89D, Verde Escuro: #3D5A3D */

/* ===== CONTAINER PRINCIPAL ===== */
#rpf-form-wrapper.rpf-form-wrapper {
    max-width: 700px !important;
    margin: 40px auto !important;
    padding: 40px !important;
    background: linear-gradient(135deg, #E8DCC8 0%, #F0E6DB 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(61, 90, 61, 0.15) !important;
    font-family: 'Cormorant Garamond', 'Georgia', serif !important;
    position: relative !important;
    overflow: visible !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px !important;
}

/* ===== DECORAÇÕES ===== */
.rpf-decoration {
    position: absolute !important;
    font-size: 120px !important;
    opacity: 0.15 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.rpf-decoration-top {
    top: -40px !important;
    right: -40px !important;
}

.rpf-decoration-bottom {
    bottom: -40px !important;
    left: -40px !important;
}

/* ===== TÍTULOS ===== */
#rpf-form-wrapper .rpf-title {
    color: #3D5A3D !important;
    margin: 0 0 10px 0 !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    font-family: 'Playfair Display', serif !important;
    text-transform: uppercase !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
}

#rpf-form-wrapper .rpf-subtitle {
    text-align: center !important;
    color: #9DB89D !important;
    margin: 0 0 30px 0 !important;
    font-size: 22px !important;
    font-style: italic !important;
    font-weight: 300 !important;
    font-family: 'Dancing Script', cursive !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
}

/* ===== FORM ===== */
#rpf-form-main.rpf-form-main {
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* ===== STEPS ===== */
#rpf-form-wrapper .rpf-step {
    display: none;
    visibility: hidden;
    opacity: 0;
}

#rpf-form-wrapper .rpf-step.rpf-step-active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#rpf-form-wrapper .rpf-step-content {
    width: 100% !important;
    display: block !important;
}

#rpf-form-wrapper .rpf-step-title {
    color: #3D5A3D !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin-bottom: 25px !important;
    font-family: 'Playfair Display', serif !important;
    display: block !important;
}

/* ===== LABELS ===== */
#rpf-form-wrapper .rpf-label {
    display: block !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
    color: #3D5A3D !important;
    font-size: 18px !important;
    text-align: center !important;
    letter-spacing: 0.5px !important;
    font-family: 'Cormorant Garamond', serif !important;
}

/* ===== SELETOR DE NÚMERO ===== */
#rpf-form-wrapper .rpf-number-selector {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    padding: 25px !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(61, 90, 61, 0.1) !important;
    border: 2px solid #C5A059 !important;
    visibility: visible !important;
}

#rpf-form-wrapper .rpf-btn {
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    outline: none !important;
    font-family: inherit !important;
}

#rpf-form-wrapper .rpf-btn-minus,
#rpf-form-wrapper .rpf-btn-plus {
    width: 55px !important;
    height: 55px !important;
    border: 2px solid #C5A059 !important;
    background: white !important;
    color: #C5A059 !important;
    border-radius: 50% !important;
    font-size: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

#rpf-form-wrapper .rpf-btn-minus:hover,
#rpf-form-wrapper .rpf-btn-plus:hover {
    background: #C5A059 !important;
    color: white !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3) !important;
}

#rpf-form-wrapper .rpf-num-input {
    width: 90px !important;
    text-align: center !important;
    font-size: 32px !important;
    font-weight: bold !important;
    color: #9DB89D !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    cursor: default !important;
    font-family: inherit !important;
    display: inline-block !important;
}

/* ===== BOTÕES PRINCIPAIS ===== */
#rpf-form-wrapper .rpf-btn-primary,
#rpf-form-wrapper .rpf-btn-secondary {
    padding: 14px 30px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    width: 100% !important;
    margin-top: 15px !important;
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
    display: block !important;
}

#rpf-form-wrapper .rpf-btn-primary {
    background: linear-gradient(135deg, #C5A059 0%, #B48F48 100%) !important;
    color: white !important;
    border: 2px solid #C5A059 !important;
}

#rpf-form-wrapper .rpf-btn-primary:hover {
    background: linear-gradient(135deg, #B48F48 0%, #A37E37 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.4) !important;
}

#rpf-form-wrapper .rpf-btn-secondary {
    background: linear-gradient(135deg, #9DB89D 0%, #8DA88D 100%) !important;
    color: white !important;
    border: 2px solid #9DB89D !important;
}

#rpf-form-wrapper .rpf-btn-secondary:hover {
    background: linear-gradient(135deg, #8DA88D 0%, #7D987D 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(157, 184, 157, 0.4) !important;
}

/* ===== GRUPO DE BOTÕES ===== */
#rpf-form-wrapper .rpf-button-group {
    display: flex !important;
    gap: 12px !important;
    margin-top: 25px !important;
}

#rpf-form-wrapper .rpf-button-group .rpf-btn-secondary,
#rpf-form-wrapper .rpf-button-group .rpf-btn-primary {
    flex: 1 !important;
    width: auto !important;
    margin-top: 0 !important;
}

/* ===== PARTICIPANTES ===== */
#rpf-form-wrapper .rpf-participants-container {
    margin-bottom: 25px !important;
    display: block !important;
}

#rpf-form-wrapper .rpf-participant {
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
    border-radius: 12px !important;
    border-left: 5px solid #C5A059 !important;
    box-shadow: 0 4px 12px rgba(61, 90, 61, 0.08) !important;
    display: block !important;
}

#rpf-form-wrapper .rpf-participant h4 {
    margin: 0 0 18px 0 !important;
    color: #9DB89D !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    font-family: 'Playfair Display', serif !important;
}

/* ===== FORM GROUP ===== */
#rpf-form-wrapper .rpf-form-group {
    margin-bottom: 18px !important;
    display: block !important;
}

#rpf-form-wrapper .rpf-form-group label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: #3D5A3D !important;
    font-size: 14px !important;
    letter-spacing: 0.3px !important;
    font-family: 'Cormorant Garamond', serif !important;
}

#rpf-form-wrapper .rpf-input {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #E0D0C0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #3D5A3D !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    display: block !important;
}

#rpf-form-wrapper .rpf-input:focus {
    outline: none !important;
    border-color: #C5A059 !important;
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.3) !important;
    background: white !important;
}

/* ===== MENSAGENS ===== */
#rpf-form-wrapper .rpf-message {
    padding: 18px !important;
    margin-top: 25px !important;
    border-radius: 10px !important;
    text-align: center !important;
    font-weight: 600 !important;
    display: none;
    letter-spacing: 0.3px !important;
}

#rpf-form-wrapper .rpf-success {
    background: linear-gradient(135deg, #9DB89D 0%, #8DA88D 100%) !important;
    color: white !important;
    border: 2px solid #7D987D !important;
}

#rpf-form-wrapper .rpf-error {
    background: linear-gradient(135deg, #C5A059 0%, #B48F48 100%) !important;
    color: white !important;
    border: 2px solid #A37E37 !important;
}

#rpf-form-wrapper .rpf-loading {
    background: linear-gradient(135deg, #E8DCC8 0%, #F0E6DB 100%) !important;
    color: #9DB89D !important;
    border: 2px solid #C5A059 !important;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 600px) {
    #rpf-form-wrapper.rpf-form-wrapper {
        padding: 25px !important;
        margin: 20px 10px !important;
    }

    #rpf-form-wrapper .rpf-title {
        font-size: 26px !important;
    }

    #rpf-form-wrapper .rpf-subtitle {
        font-size: 18px !important;
    }

    #rpf-form-wrapper .rpf-label {
        font-size: 16px !important;
    }

    #rpf-form-wrapper .rpf-number-selector {
        gap: 15px !important;
        padding: 18px !important;
    }

    #rpf-form-wrapper .rpf-btn-minus,
    #rpf-form-wrapper .rpf-btn-plus {
        width: 48px !important;
        height: 48px !important;
        font-size: 24px !important;
    }

    #rpf-form-wrapper .rpf-num-input {
        font-size: 28px !important;
        width: 80px !important;
    }

    #rpf-form-wrapper .rpf-button-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    #rpf-form-wrapper .rpf-button-group .rpf-btn-secondary,
    #rpf-form-wrapper .rpf-button-group .rpf-btn-primary {
        width: 100% !important;
    }

    #rpf-form-wrapper .rpf-participant {
        padding: 18px !important;
    }

    #rpf-form-wrapper .rpf-btn-primary,
    #rpf-form-wrapper .rpf-btn-secondary {
        padding: 12px 20px !important;
        font-size: 15px !important;
    }
}
