/* Estilos para Notificações do Telegram */

/* Botão de Notificação do Telegram */
.btn-telegram-notif {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-telegram-notif:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
    background: linear-gradient(135deg, #009deb 0%, #0077b3 100%);
}

.btn-telegram-notif:active {
    transform: translateY(0);
}

.btn-telegram-notif::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-telegram-notif:hover::before {
    width: 300px;
    height: 300px;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modal Content */
.modal-overlay .modal-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.modal-overlay .modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Modal Body */
.modal-overlay .modal-body {
    padding: 24px;
}

/* Modal Close Button */
.modal-overlay .modal-close {
    background: rgba(239, 68, 68, 0.2);
    border: none;
    color: #ef4444;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-overlay .modal-close:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}

/* Botão Primário */
.modal-overlay .btn-primary:hover {
    background: #009deb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

/* Scrollbar personalizada para o modal */
.modal-overlay .modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-overlay .modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-overlay .modal-content::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 4px;
}

.modal-overlay .modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

/* Responsivo */
@media (max-width: 600px) {
    .btn-telegram-notif {
        padding: 10px 14px;
        font-size: 18px;
    }
    
    .modal-overlay .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-overlay .modal-header {
        padding: 16px;
    }
    
    .modal-overlay .modal-body {
        padding: 16px;
    }
}
