/* Modal de Acesso Negado - Loto Manager v2.0 */

.loto-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(118, 111, 121, 0.63);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    animation: lotoFadeIn 0.3s ease-in-out;
}

@keyframes lotoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.loto-modal-container {
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    animation: lotoSlideUp 0.4s ease-out;
}

@keyframes lotoSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.loto-modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.loto-modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: lotoIconBounce 0.6s ease-in-out;
}

@keyframes lotoIconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.loto-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.loto-modal-message {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.loto-modal-countdown {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.loto-modal-countdown p {
    margin: 0;
    font-size: 15px;
    color: #666;
}

.loto-modal-countdown strong {
    color: #2271b1;
    font-size: 18px;
}

.loto-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 25px;
}

.loto-btn {
    display: inline-block;
    padding: 10px 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    min-width: 80px;
}

.loto-btn-primary {
    background: linear-gradient(135deg, #4de110 0%, #135e96 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.loto-btn-primary:hover {
    background: linear-gradient(135deg, #135e96 0%, #0a4a75 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 113, 177, 0.4);
    color: #ffffff;
}

.loto-btn-secondary {
    background: #f0f0f1;
    color: #2c3338;
    border: 1px solid #dcdcde;
}

.loto-btn-secondary:hover {
    background: #e5e5e6;
    color: #1d2327;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media screen and (max-width: 600px) {
    .loto-modal-content {
        padding: 30px 20px;
    }
    
    .loto-modal-icon {
        font-size: 48px;
    }
    
    .loto-modal-title {
        font-size: 24px;
    }
    
    .loto-modal-message {
        font-size: 15px;
    }
    
    .loto-modal-actions {
        flex-direction: column;
    }
    
    .loto-btn {
        width: 100%;
    }
}

/* Animação do countdown */
#loto-countdown {
    display: inline-block;
    animation: lotoCountdownPulse 1s ease-in-out infinite;
}

@keyframes lotoCountdownPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ========================================
   ESTILOS PARA PÁGINAS CUSTOMIZADAS
   ======================================== */
   
/*
.loto-custom-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
*/

.loto-custom-page-content {
background: #fff;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #c9c9c9;
    max-width: 1200px;
    margin: 0 auto;
}

.loto-custom-page-wrapper {
    overflow-x: auto;
    margin: 0 auto;
    width: 100% !important;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 55px;
}


.loto-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.loto-page-description {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Breadcrumb */
.loto-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.loto-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.loto-breadcrumb li {
    display: flex;
    align-items: center;
}

.loto-breadcrumb a {
    color: #2271b1;
    text-decoration: none;
}

.loto-breadcrumb a:hover {
    text-decoration: underline;
}

.loto-breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.loto-breadcrumb span[aria-current] {
    color: #666;
}

/* Navegação de subpáginas */
.loto-subpages-nav {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.loto-subpages-nav h3 {
    font-size: 18px;
    margin: 0 0 15px;
    color: #1d2327;
}

.loto-subpages-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.loto-subpages-nav li {
    margin: 0;
}

.loto-subpages-nav a {
    display: block;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #1d2327;
    text-decoration: none;
    transition: all 0.3s ease;
}

.loto-subpages-nav a:hover {
    background: #e7f3ff;
    color: #2271b1;
    transform: translateX(5px);
}

/* Erro */
.loto-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 20px;
    color: #721c24;
    text-align: center;
}

/* Responsividade */
@media screen and (max-width: 768px) {

    
    .loto-page-title {
        font-size: 24px;
    }
    
    .loto-subpages-nav ul {
        grid-template-columns: 1fr;
    }
}
