/**
 * Estilos do Popup de Recesso
 * Custom Header & Footer Plugin
 */

/* Overlay do Popup */
.recess-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Container do Popup */
.recess-popup-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #3366cc;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Botão de Fechar */
.recess-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #666666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.recess-popup-close:hover {
    background-color: #f0f0f0;
    color: #3366cc;
    transform: rotate(90deg);
}

.recess-popup-close:focus {
    outline: 2px solid #3366cc;
    outline-offset: 2px;
}

/* Header do Popup */
.recess-popup-header {
    background: transparent;
    padding: 25px 30px 20px;
    text-align: center;
}

.recess-popup-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.recess-popup-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #154770;
    text-align: center;
}

/* Conteúdo do Popup */
.recess-popup-content {
    padding: 30px;
}

.recess-popup-body {
    color: #333333;
    font-size: 15px;
    line-height: 1.7;
}

.recess-popup-body p {
    margin: 0 0 16px 0;
}

.recess-popup-body p:last-child {
    margin-bottom: 0;
}

.recess-popup-intro {
    font-size: 16px;
    color: #154770;
    font-weight: 500;
    margin-bottom: 20px !important;
}

.recess-popup-body strong {
    color: #3366cc;
    font-weight: 600;
}

.recess-popup-highlight {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border-left: 4px solid #3366cc;
    padding: 15px 18px;
    margin: 20px 0;
    border-radius: 6px;
}

.recess-popup-highlight p {
    margin: 0;
    color: #154770;
    font-weight: 500;
}

.recess-popup-body a {
    color: #3366cc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.recess-popup-body a:hover {
    color: #154770;
    text-decoration: underline;
}

/* Box de Contato */
.recess-popup-contact-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 18px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
}

.recess-popup-contact-title {
    margin: 0 0 12px 0 !important;
    color: #154770;
    font-size: 15px;
}

/* Lista de Contato */
.recess-popup-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recess-popup-contact-list li {
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recess-popup-contact-list li:last-child {
    margin-bottom: 0;
}

.recess-popup-contact-list li i {
    color: #3366cc;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Saudações */
.recess-popup-greeting {
    margin-top: 20px !important;
    text-align: center;
    font-size: 18px;
    color: #3366cc;
    font-weight: 600;
    padding: 15px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    border-radius: 8px;
}

.recess-popup-signature {
    margin-top: 20px !important;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    color: #154770;
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
    .recess-popup-overlay {
        padding: 15px;
    }
    
    .recess-popup-container {
        max-height: 95vh;
        border-radius: 12px;
        max-width: 100%;
    }
    
    .recess-popup-header {
        padding: 20px 20px 15px;
    }
    
    .recess-popup-icon {
        font-size: 28px;
    }
    
    .recess-popup-title {
        font-size: 20px;
    }
    
    .recess-popup-content {
        padding: 25px 20px;
    }
    
    .recess-popup-body {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .recess-popup-intro {
        font-size: 15px;
    }
    
    .recess-popup-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .recess-popup-overlay {
        padding: 10px;
    }
    
    .recess-popup-container {
        border-radius: 10px;
    }
    
    .recess-popup-header {
        padding: 18px 15px 12px;
    }
    
    .recess-popup-icon {
        font-size: 24px;
    }
    
    .recess-popup-title {
        font-size: 18px;
    }
    
    .recess-popup-content {
        padding: 20px 15px;
    }
    
    .recess-popup-body {
        font-size: 13px;
    }
    
    .recess-popup-intro {
        font-size: 14px;
    }
    
    .recess-popup-highlight {
        padding: 12px 15px;
    }
    
    .recess-popup-contact-box {
        padding: 15px;
    }
    
    .recess-popup-greeting {
        font-size: 16px;
        padding: 12px;
    }
}

/* Scrollbar personalizada */
.recess-popup-container::-webkit-scrollbar {
    width: 8px;
}

.recess-popup-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.recess-popup-container::-webkit-scrollbar-thumb {
    background: #3366cc;
    border-radius: 10px;
}

.recess-popup-container::-webkit-scrollbar-thumb:hover {
    background: #154770;
}

