/*
Theme Name: Beta Vvolunteers
Theme URI: https://beta.vvolunteer.com.br
Description: Beta Vvolunteers
Author: Jaime Lima Neto
Author URI: https://github.com/jaimeneto85
Template: hello-elementor
Version: 1.0.11
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Aplicação da fonte Baloo Bhai 2 para todos os títulos */

/* Os arquivos vvolunteer.css e fonts.css agora são carregados diretamente via wp_enqueue_style() */

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title,
.entry-title,
.page-title,
.site-title,
.widget-title {
    font-family: 'Baloo Bhai', sans-serif !important;
}

/* Classes personalizadas para títulos específicos */
.uh-header-title,
.netflix-title,
.tutor-dashboard-title,
.tutor-course-title,
.tutor-lesson-title,
.tutor-quiz-title {
    font-family: 'Baloo Bhai', sans-serif !important;
}

/* Mais classes de título do editor Elementor */
.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading h4.elementor-heading-title,
.elementor-widget-heading h5.elementor-heading-title,
.elementor-widget-heading h6.elementor-heading-title {
    font-family: 'Baloo Bhai', sans-serif !important;
}

/* Títulos dentro de cards e componentes específicos */
.netflix-card-back h3,
.netflix-modal-title,
.tutor-dashboard-content-heading,
.tutor-course-name,
.tutor-segment-title {
    font-family: 'Baloo Bhai', sans-serif !important;
}

.tutor-dashboard-content {
    width: 100%;
}

/* Import Netflix Style Fixed CSS */

.wpml-ls-statics-footer.wpml-ls.wpml-ls-touch-device.wpml-ls-legacy-list-horizontal {
    display: none !important;
}

html {
    margin: 0px !important;
}

/* Estilos para o checkout personalizado */
.checkout-custom-container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

/* Layout de duas colunas */
@media (min-width: 768px) {
    .checkout-content {
        display: flex;
        gap: 30px;
    }

    .checkout-customer-info {
        flex: 0 0 60%;
    }

    .checkout-order-review {
        flex: 0 0 38%;
        margin-top: 0;
        align-self: flex-start;
        position: sticky;
        top: 30px;
    }
}

/* Formulário de campos */
.checkout-fields-wrapper {
    margin-bottom: 30px;
}

.form-row {
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-field .required {
    color: #e74c3c;
}

/* Nome e telefone em duas colunas */
.name-row,
.phone-row {
    display: flex;
    gap: 15px;
}

.name-row .form-field {
    flex: 1;
}

.phone-row .country-code {
    flex: 0 0 140px;
}

.phone-row .phone-number {
    flex: 1;
}

/* Seletor de planos */
.plan-switcher {
    margin-bottom: 30px;
}

.plan-switcher h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.plan-options {
    display: flex;
    gap: 15px;
}

.plan-option {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 18px 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.plan-option:hover {
    border-color: #666;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.plan-option.active {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.plan-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 22px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.plan-savings {
    color: #28a745;
    font-weight: 500;
    font-size: 14px;
    margin-top: 8px;
}

/* Resumo do pedido */
.checkout-order-review {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.checkout-order-review h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

/* Métodos de pagamento */
.woocommerce-checkout #payment {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 20px;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #f8f8f8;
    border-radius: 6px;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-color: transparent transparent #f8f8f8;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: none;
}

.payment-method-title {
    font-weight: 500;
    transition: color 0.2s;
}

.payment-method-title.selected {
    font-weight: 600;
    color: #007bff;
}

/* Botão de finalizar compra */
#place_order {
    width: 100%;
    background-color: #007bff;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

#place_order:hover {
    background-color: #0069d9;
}

/* Responsividade */
@media (max-width: 767px) {
    .checkout-content {
        flex-direction: column;
    }

    .checkout-order-review {
        margin-top: 30px;
    }

    .name-row,
    .phone-row {
        flex-direction: column;
        gap: 10px;
    }

    .plan-options {
        flex-direction: column;
    }

    .checkout-header h1 {
        font-size: 24px;
    }
}

/* Mensagens de erro */
.woocommerce-error {
    background-color: #fff5f5;
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    list-style: none;
}

.woocommerce-error li {
    margin-bottom: 5px;
}

.woocommerce-error li:last-child {
    margin-bottom: 0;
}