﻿/* Reset layout container settings just for this landing page view */
body {
    background-color: #f4f6f9 !important;
}

/* Target the container div provided by your shared master layout */
.content.d-flex.justify-content-center.align-items-center {
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    display: block !important;
    width: 100%;
}

/* Outer Wrapper for the Split View */
.split-portal-container {
    display: flex;
    min-height: calc(100vh - 120px); /* Adjusts perfectly below your navbar/footer */
    width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Left Column: Image & Institution branding */
.portal-left-branding {
    flex: 1.2;
    background: linear-gradient(rgba(10, 30, 60, 0.75), rgba(5, 20, 40, 0.85)), url('/content/img/hu/hu_main.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: #ffffff;
}

.branding-hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.branding-hero-text p {
    font-size: 1.2rem;
    color: #e2e8f0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Right Column: Tabbed Login Forms */
.portal-right-forms {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem;
    background: #ffffff;
}

.form-wrapper-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.form-logo-header img {
    max-width: 100px;
    height: auto;
}

/* Tab Custom Styling */
.nav-tabs-split {
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 1.5rem;
}

    .nav-tabs-split .nav-item {
        flex: 1;
        text-align: center;
    }

    .nav-tabs-split .nav-link {
        border: none;
        color: #64748b;
        font-weight: 500;
        padding-bottom: 10px;
        border-bottom: 2px solid transparent;
        margin-bottom: -2px;
        transition: all 0.2s ease;
    }

    .nav-tabs-split .nav-item:nth-child(1) .nav-link.active {
        color: #008080 !important;
        border-bottom-color: #008080;
    }

    .nav-tabs-split .nav-item:nth-child(2) .nav-link.active {
        color: #1e40af !important;
        border-bottom-color: #1e40af;
    }

    .nav-tabs-split .nav-item:nth-child(3) .nav-link.active {
        color: #c2410c !important;
        border-bottom-color: #c2410c;
    }

/* Responsive Breakpoint for Mobile and Tablet Views */
@@media (max-width: 991px) {
    .split-portal-container {
        flex-direction: column;
    }

    .portal-left-branding {
        padding: 3rem 2rem;
        text-align: center;
    }

    .branding-hero-text h1 {
        font-size: 2rem;
    }

    .portal-right-forms {
        padding: 2.5rem 1.5rem;
    }
}
