/* ============================= */
/* 🔹 ESTILO DO POPUP APRIMORADO 🔹 */
/* ============================= */

/* Fundo do popup */
.popup-container {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease-in-out;
    padding: 20px;
}

/* Animação de fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Estilo do conteúdo do popup */
.popup-content {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    width: 500px;
    max-width: 90%;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: scaleIn 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

/* Animação de entrada do popup */
@keyframes scaleIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Ícone de fechar (X) minimalista */
.close-icon {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 22px;
    font-weight: bold;
    color: #444;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.3s;
    opacity: 0.7;
}

.close-icon:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Logo da empresa centralizada */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.logo-container img {
    max-width: 140px;
}

/* Estilo do título aprimorado */
.popup-title {
    font-size: 22px;
    color: #d32f2f;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Nome da empresa agora corretamente em verde */
.agrocp-name {
    color: #2e7d32 !important;
    font-weight: bold;
}

/* Texto em destaque */
.highlight-text {
    font-weight: bold;
    color: #d32f2f;
}

/* Texto */
.popup-content p {
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Estilização do contador dentro do popup */
.timer-text {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

#countdown-timer {
    font-weight: bold;
    color: #d32f2f;
    font-size: 18px;
}

/* ============================= */
/* 🔹 RESPONSIVIDADE 🔹 */
/* ============================= */
@media (max-width: 768px) {
    .popup-content {
        width: 90%;
        padding: 25px;
    }

    .popup-title {
        font-size: 20px;
    }

    .popup-content p {
        font-size: 15px;
    }

    .logo-container img {
        max-width: 120px;
    }

    .close-icon {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 95%;
        padding: 20px;
    }

    .popup-title {
        font-size: 18px;
    }

    .popup-content p {
        font-size: 14px;
    }

    .logo-container img {
        max-width: 100px;
    }

    .close-icon {
        font-size: 18px;
    }
}
