/* Overlay do Popup */
#cooptech-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Caixa Principal do Popup */
#cooptech-popup-content-box {
    background: #fff;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: cooptechPopupFadeIn 0.3s ease;
}

@keyframes cooptechPopupFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Botão de Fechar */
#cooptech-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
    padding: 0;
}
#cooptech-popup-close:hover {
    color: #000;
}

/* Estilos para o Palestrante */
.cooptech-popup-palestrante .cooptech-popup-img img {
    max-width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
    border: 3px solid #eee;
}
.cooptech-popup-palestrante h2 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 26px;
    color: #222;
}
.cooptech-popup-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 500;
}
.cooptech-popup-bio {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}
.cooptech-popup-bio p {
    margin-bottom: 15px;
}
.cooptech-popup-social {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.cooptech-popup-social a {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s;
}
.cooptech-popup-social a:hover {
    background: #005a87;
}

/* Estilos para a Programação (Palestra) */
.cooptech-popup-programacao h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #222;
}
.cooptech-popup-horario {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cooptech-popup-horario strong {
    color: #222;
}
.cooptech-popup-conteudo {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}
.cooptech-popup-conteudo ul {
    margin-left: 20px;
    margin-bottom: 15px;
}
.cooptech-popup-conteudo p {
    margin-bottom: 15px;
}

/* Palestrantes Vinculados à Palestra */

.cooptech-popup-palestrantes-list h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
h3.palestrante-nome {
    cursor: pointer;
}
.popup-palestrante-mini {
    background: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 4px solid #1fae57;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.popup-palestrante-mini:last-child {
    margin-bottom: 0;
}
.popup-palestrante-mini strong {
    display: block;
    font-size: 16px;
    color: #222;
    margin-bottom: 4px;
}
.popup-palestrante-mini span {
    font-size: 14px;
    color: #666;
}

/* Estado de Carregamento */
.cooptech-loading {
    text-align: center;
    font-size: 18px;
    color: #666;
    padding: 40px 0;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

@media (max-width: 768px) {
    #cooptech-popup-content-box {
        padding: 25px 20px;
    }
}
