/* Custom styles for ITC S.A. Global Navigation Portal */

body {
    position: relative;
    background-color: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    padding-top: 130px;
    padding-bottom: 70px;
    box-sizing: border-box;
}

/* Logo Styling */
.logo-container {
    position: absolute !important;
    top: 20px !important;
    left: 25px !important;
    z-index: 1000 !important;
    margin: 0 !important;
}

.logo-container img {
    height: 125px !important;
    width: auto !important;
    border-radius: 4px;
    display: block;
}

/* Footer layout */
.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 12px 0;
    z-index: 1000;
    text-align: center;
}

.footer-fixed p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* Main Container & Card */
.portal-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    box-sizing: border-box;
}

.portal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: 35px 30px;
    text-align: center;
}

.portal-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 8px;
}

.portal-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.4;
}

/* Botonera (Global Navigation Buttons) */
.botonera {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.btn-portal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background-color: #0ea5e9;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.15);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-portal:hover,
.btn-portal:focus {
    background-color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(2, 132, 199, 0.25);
    outline: none;
}

.btn-portal:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(2, 132, 199, 0.2);
}

.btn-portal .btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Responsive adjustements */
@media (max-width: 767px) {
    body {
        justify-content: flex-start !important;
        padding-top: 100px !important;
    }

    .logo-container {
        position: absolute !important;
        top: 12px !important;
        left: 15px !important;
    }

    .logo-container img {
        height: 75px !important;
    }

    .portal-card {
        padding: 25px 20px;
    }

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