/**
 * Estilos para a página de "Não Liberar Curso"
 * CPDAC - Centro Profissional de Desenvolvimento e Aperfeiçoamento Contínuo
 */

.curso-aviso-ux {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    padding: 1.5rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.aviso-card {
    background: #F8FAFC;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    animation: slideUp 0.5s ease-out forwards;
    position: relative;
}

.aviso-header {
    padding: 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(to right, #DBEAFE, #EFF6FF);
    position: relative;
}

.aviso-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.aviso-icon {
    width: 100%;
    height: 100%;
}

.pulse {
    animation: pulse 2s infinite;
}

.aviso-header h2 {
    color: #2563EB;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.aviso-body {
    padding: 1.5rem;
    text-align: center;
}

.curso-tag {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.curso-tag span {
    background: #F59E0B;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.aviso-message {
    color: #1E293B;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.aviso-status {
    margin-bottom: 1.5rem;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #DBEAFE;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #3B82F6;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

.status-indicator span:last-child {
    color: #2563EB;
    font-weight: 500;
    font-size: 0.875rem;
}

.aviso-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-notify, .btn-return {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-notify {
    background-color: #F59E0B;
    color: #FFFFFF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-notify:hover {
    background-color: #D97706;
    transform: translateY(-2px);
}

.btn-return {
    background-color: #F8FAFC;
    color: #1E293B;
    border: 1px solid #E2E8F0;
}

.btn-return:hover {
    background-color: #E2E8F0;
}

/* Modal Styles */
.modal-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    position: relative;
    background: #F8FAFC;
    width: 90%;
    max-width: 450px;
    border-radius: 1rem;
    z-index: 1002;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-notification.active .modal-overlay {
    opacity: 1;
}

.modal-notification.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #1E293B;
    font-size: 1.125rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: #E2E8F0;
}

.modal-body {
    padding: 1.5rem;
}

.notification-icon {
    text-align: center;
    margin-bottom: 1.25rem;
}

.modal-body p {
    text-align: center;
    color: #1E293B;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1E293B;
    font-size: 0.875rem;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #E2E8F0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px #DBEAFE;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #3B82F6;
    color: #FFFFFF;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #2563EB;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .aviso-header {
        padding: 1.5rem 1.25rem;
    }
    
    .aviso-icon-container {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .aviso-header h2 {
        font-size: 1.5rem;
    }
    
    .aviso-body, .aviso-actions {
        padding: 1.25rem;
    }
    
    .curso-tag span {
        font-size: 0.8125rem;
    }
    
    .aviso-message {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .aviso-header {
        padding: 1.25rem 1rem;
    }
    
    .aviso-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .aviso-header h2 {
        font-size: 1.375rem;
    }
    
    .aviso-body, .aviso-actions {
        padding: 1rem;
    }
    
    .btn-notify, .btn-return {
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }
}
