﻿html, body {
    height: 100%;
}

/* Body font */
body {
    font-family: 'Karla', sans-serif;
}

/* Headings / titles */
.portal-title,
h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
}

#myForm {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Grey main area - fills remaining height */
.portal-hero {
    flex: 1;
    background: #f3f3f3;
    padding: 2rem 0 3rem;
}

/* Optional: a little more breathing room on desktop */
@media (min-width: 992px) {
    .portal-hero {
        padding-top: 3rem;
    }
}

/* Panel + tiles */
.portal-panel {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 28px;
    max-width: 720px;
}

.portal-title {
    color: #2476D8;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
}

.portal-subtitle {
    color: #4F4F4F;
    font-size: 14px;
    margin-top: 8px;
}

.tile-button {
    text-decoration: none !important;
    padding: 0;
    border: 0;
    background: transparent;
    display: block;
    color: inherit;
}

    .tile-button:focus-visible .tile-card {
        outline: 2px solid rgba(36,118,216,.35);
        outline-offset: 3px;
    }

.tile-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 18px;
    min-height: 110px;
}

.tile-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.tile-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-chevron {
    font-size: 22px;
    color: #212529;
    opacity: .7;
    line-height: 1;
    margin-top: 2px;
}

.tile-title-text {
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
    color: #212529;
}

.tile-button:hover .tile-card {
    border-color: #d9e6fb;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

.back-link {
    color: #4e627D !important;
}

    .back-link:hover,
    .back-link:focus {
        color: #444444 !important;
    }
