﻿.portal-home-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 45%, #ffffff 100%);
}

.portal-home-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(13, 110, 253, 0.10), transparent 30%), radial-gradient(circle at bottom left, rgba(25, 135, 84, 0.08), transparent 28%);
    pointer-events: none;
}

.portal-home-header,
.portal-card {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.portal-home-header {
    padding: 2rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.portal-home-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.portal-home-badge {
    display: inline-block;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.10);
    color: #0d6efd;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.portal-home-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #12325b;
    margin-bottom: .75rem;
}

.portal-home-subtitle {
    color: #5b6b80;
    max-width: 760px;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.portal-home-logo-wrap {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #eef5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 110, 253, 0.12);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.10);
}

.portal-home-logo {
    max-width: 78px;
    max-height: 78px;
    object-fit: contain;
}

.portal-card {
    padding: 1.5rem;
}

.portal-card-header {
    margin-bottom: 1.25rem;
}

    .portal-card-header h3 {
        margin-bottom: .35rem;
        font-weight: 800;
        color: #17365f;
        font-size: 1.3rem;
    }

    .portal-card-header p {
        margin-bottom: 0;
        color: #6b7b90;
    }

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.portal-action-card {
    width: 100%;
    border: 1px solid rgba(13, 110, 253, 0.10);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    transition: all .2s ease;
    cursor: pointer;
}

    .portal-action-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(13, 110, 253, 0.12);
        border-color: rgba(13, 110, 253, 0.20);
    }

.portal-action-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(13, 110, 253, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.portal-action-body {
    flex: 1;
    min-width: 0;
}

    .portal-action-body h4 {
        margin: 0 0 .3rem 0;
        font-size: 1rem;
        font-weight: 800;
        color: #17365f;
    }

    .portal-action-body p {
        margin: 0;
        color: #6c7b8d;
        font-size: .92rem;
        line-height: 1.45;
    }

.portal-action-arrow {
    font-size: 1.2rem;
    color: #0d6efd;
    font-weight: 700;
}

.portal-summary-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portal-summary-item {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.portal-summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(13, 110, 253, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.portal-summary-item strong {
    display: block;
    color: #17365f;
    margin-bottom: .2rem;
}

.portal-summary-item span {
    color: #6b7b90;
    font-size: .92rem;
    line-height: 1.45;
}

.portal-tip-box {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.10), rgba(13, 110, 253, 0.08));
    border: 1px solid rgba(25, 135, 84, 0.12);
    color: #234;
}

.portal-info-mini {
    height: 100%;
    border: 1px solid rgba(13, 110, 253, 0.08);
    border-radius: 18px;
    padding: 1rem;
    background: #fff;
    display: flex;
    gap: .9rem;
    align-items: flex-start;
}

.portal-info-mini-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(13, 110, 253, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.portal-info-mini strong {
    display: block;
    color: #17365f;
    margin-bottom: .25rem;
}

.portal-info-mini p {
    margin: 0;
    color: #6b7b90;
    font-size: .92rem;
    line-height: 1.45;
}

.portal-home-loading {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

@media (max-width: 991.98px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }

    .portal-home-header {
        padding: 1.5rem;
    }

    .portal-home-logo-wrap {
        width: 96px;
        height: 96px;
    }

    .portal-home-logo {
        max-width: 62px;
        max-height: 62px;
    }
}
