/*
Theme Name: Gerador de Propostas v1.1
Theme URI: 
Author: Your Name
Author URI: 
Description: Tema para geraÃ§Ã£o de propostas comerciais
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gerador-propostas
*/

/* ImportaÃ§Ã£o da fonte Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* VariÃ¡veis de cores */
:root {
    --primary-color: #1e95ff;
    --primary-light: #1e95ff;
    --primary-dark: #2599ff;
    --color-light-green: #1e73be;
    --color-green: #1e73be;
    --secondary-color: #fff;
    --text-color: #333;
    --border-color: #e0e0e0;

}

/* Estilos gerais */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
}

.color-white {
    color: #fff;
}
.text-success {
    color: var(--primary-color) !important;
}

/* Container principal */
.proposta-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.proposta-header-container {
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 10px;

    .button-container {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .button {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
        border-radius: 5rem;
        padding: 10px 40px;
        color: #fff;
        text-decoration: none;
    }
}

/* CabeÃ§alho da proposta */
.capa {
    background-image: url('img/bg.png');
    color: white;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 15px rgba(78, 0, 163, 0.2);
    padding-top: 10px;
    
    .circle{
        margin-left: 71px;
        position: relative;
        margin-top: -10px;
        margin-bottom: 60px;
    }

    .row {
        display: flex;
        align-items: center;
    }

    p {
        margin: 0 0 5px;
    }

    h1 {
        font-size: 1.8rem !important;
        margin: 0px !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .cliente {
        border: solid 1px #fff;
        border-radius: 5px;
        display: inline-block;
        width: auto;
        padding: 5px 15px;
        margin: 0;
    }
}

@media(max-width:991px) {
    .capa h1 {
        font-size: 1.2rem !important;
        margin: 0px !important;
    }

    .proposta-container {
        margin: 1rem auto !important;
        padding: 2rem;
        background: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }

    .secao {
        border: 1px solid #eee;
    }
}

.data {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #1e95ff, #2599ff);
    border-radius: 0 0 10px 10px;
    padding: 10px;
    text-align: center;

    p {
        margin: 0;
        padding: 0;
    }

}




.capa h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.capa h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.capa p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* SeÃ§Ãµes */
.secao {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.secao h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Tabelas */
.tabela {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tabela th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 1rem;
    text-align: left;
}

.tabela td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.tabela tr:last-child td {
    border-bottom: none;
    background-color: var(--secondary-color);
    font-weight: 600;
}

.tabela tr:hover td {
    background-color: #f8f9fa;
}

/* ObservaÃ§Ãµes */
.observacao {
    font-style: italic;
    color: #666;
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Investimento */
.investimento {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    /* text-align: right; */
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 8px;
}

/* Lista de propostas na pÃ¡gina inicial */
.proposta-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.proposta-item:hover {
    transform: translateY(-5px);
}

.proposta-item h2 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.proposta-item h2 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.proposta-item h2 a:hover {
    color: var(--primary-light);
}

.proposta-item p {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Estilo personalizado para o Accordion */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.accordion-button {
    background-color: white;
    color: var(--text-color);
    font-weight: 600;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: rgb(0 150 136 / 6%);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(78, 0, 163, 0.25);
    border-color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234e00a3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234e00a3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 20px;
    background-color: white;
    line-height: 1.7;
}

.badge {
    background-color: var(--primary-color);
    font-weight: 500;
    padding: 8px 12px;
    font-size: 0.85rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .proposta-container {
        margin: 1rem;
        padding: 1rem;
    }

    .capa {
        padding: 2rem 1rem;
    }

    .capa h1 {
        font-size: 2rem;
    }

    .capa h2 {
        font-size: 1.5rem;
    }

    .secao {
        padding: 1rem;
    }

    .tabela {
        display: block;
        overflow-x: auto;
    }

    .accordion-button {
        padding: 12px 15px;
    }

    .accordion-button .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .accordion-button .badge {
        margin-top: 8px;
        margin-left: 0 !important;
    }
}

/* UtilitÃ¡rios */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}


/* Single proposta */

/* Estilos para o desfoque do conteÃºdo */
.blur-content {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
}

/* Estilos para o modal de senha */
.modal-senha-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-senha-content {
    background-color: white;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-senha-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-senha-header h2 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    border-bottom: none;
}

.modal-senha-body {
    padding: 20px;
}

.modal-senha-body p {
    margin-bottom: 20px;
}

.modal-senha-body .alert {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.modal-senha-body .alert i {
    margin-right: 10px;
}

.modal-senha-body .form-control:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.modal-senha-body .btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Estilos para a lista de entregÃ¡veis */
.entregaveis-list .list-group-item {
    border-left: 3px solid var(--primary-color);
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.entregaveis-list .list-group-item:hover {
    background-color: rgba(78, 0, 163, 0.05);
    transform: translateX(5px);
}

.observacoes-gerais {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 576px) {
    .modal-senha-content {
        width: 90%;
    }
}

/* Estilo pdf */

@media print {
    .proposta-container {
        padding: 0;
    }

    /* Evita que elementos sejam cortados entre pÃ¡ginas */
    .page-break-avoid {
        page-break-inside: avoid;
    }
}

/* Estilos do botÃ£o de download PDF */
.download-pdf-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.download-pdf-button .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.download-pdf-button .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.download-pdf-button .bi {
    font-size: 24px;
}

/* Ajustes para o PDF */
@media print {
    .download-pdf-button {
        display: none;
    }
}