:root {
    --azul-ingenieria: #003366;
    --rojo-ig: #CC0000;
    --gris-humo: #F8FAFC;
    /* Slate-50 */
    --gris-texto: #334155;
    /* Slate-700 */
    --negro-carbon: #0F172A;
    /* Slate-900 */
    --sombra-suave: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --sombra-fuerte: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f1f5f9;
    color: var(--gris-texto);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    /* Industrial modern background */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 51, 102, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(204, 0, 0, 0.05) 0%, transparent 20%);
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2394a3b8' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.main-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 1.5rem;
    /* ~24px */
    box-shadow: var(--sombra-fuerte);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.main-card:hover {
    transform: translateY(-5px);
}

.logo {
    max-width: 120px;
    height: auto;
    /* margin-bottom removed by user, we will handle spacing via layout */
    animation: fadeIn 1.2s ease-out;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

h1 {
    color: var(--azul-ingenieria);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--gris-texto);
}

.status-badge {
    display: inline-block;
    background-color: #fff1f2;
    /* Light red/pink bg */
    color: var(--rojo-ig);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid #fecdd3;
}

.loader {
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid var(--rojo-ig);
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

.contact-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.contact-title {
    font-weight: 700;
    color: var(--azul-ingenieria);
    margin-bottom: 0.5rem;
    display: block;
}

.contact-link {
    color: var(--rojo-ig);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #990000;
    text-decoration: underline;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .main-card {
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}