﻿.padding_style_1 {
    padding: 0 40px;
}

.padding_top_style_1 {
    padding-top: 0px
}

.padding_top_style_2 {
    padding-top: 10px
}

.padding_bottom_style_1 {
    padding-top: 0px
}

.padding_top_bottom_style_1 {
    padding-top: 10px;
    padding-bottom: 30px;
}

.text_center {
    text-align: center;
}

.margin_right_style_1 {
    margin-right: 5px;
    margin-left: 5px;
}

.warning-icon {
    font-size: 84px !important;
    margin-top: 20px;
    color: lightcoral;
}

.trending-up {
    font-size: 84px !important;
    margin-top: 60px;
    color: lightskyblue;
}

.timer {
    font-size: 84px !important;
    margin-top: 60px;
    color: lightskyblue;
}

.edit {
    font-size: 84px !important;
    margin-top: 60px;
    color: lightskyblue;
}

.lock {
    font-size: 84px !important;
    margin-top: 60px;
    color: lightskyblue;
}

.thumbs-up {
    font-size: 84px !important;
    margin-top: 60px;
    color: lightskyblue;
}

.cookie-policy-link {
    color: antiquewhite;
    font-weight: bold;
}

.header-logo {
    height: 60px;
}

/* === Header logo icon (mobile) === */
.header-logo-icon {
    height: 44px;
    width: 44px;
}

.green-container {
    background-color: #91c848;
}



.svg-icons {
    display: none;
}

.dropdown-toggle {
    color: black;
}

.footer {
    min-height: 150px;
}

.footer .d-flex.flex-column {
    gap: 0.25rem;
}

.footer hr {
    margin: 0.25rem 0;
}

body {
    background-color: #eeeeee;
    margin-bottom: 180px !important; /* Increased from 60px to accommodate taller footer */
}

.container.cont-main {
    padding-left: 0;
    padding-right: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 2rem; /* Extra space before footer */
}

.margin-scale {
    width: 100%;
}
.margin-top {
    margin-top: 20px;
}

.left-align {
    text-align: left !important;
}

.table-row-height {
    min-height: 38px;
}

.icon-font-size {
    font-size: 72px !important;
}

/* Header styling with shadow and rounded corners */
.bg-blue {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #0071bb !important;
}

.bg-green {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #7ac144 !important;
}

.text-blue {
    color: #0071bb !important;
}


.radius-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.portal-banner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.portal-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.portal-banner .btn-light:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

.index-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.policy-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.policy-link-item {
    white-space: nowrap;
}

/* === Floating labels (Bootstrap 4 compatible) === */
.float-label-group {
    position: relative;
    margin-bottom: 1rem;
}

    .float-label-group input.form-control {
        height: 52px;
        padding: 1.25rem 0.75rem 0.25rem 0.75rem;
    }

    .float-label-group label {
        position: absolute;
        top: 50%;
        left: 0.75rem;
        transform: translateY(-50%);
        margin: 0;
        font-size: 1rem;
        color: #6c757d;
        pointer-events: none;
        transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
        transform-origin: left top;
        white-space: nowrap;
    }

    /* Float the label up when input is focused or has a value */
    .float-label-group input.form-control:focus ~ label,
    .float-label-group input.form-control:not(:placeholder-shown) ~ label {
        top: 0.35rem;
        font-size: 0.72rem;
        color: #007bff;
        transform: none;
    }

    .float-label-group input.form-control:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }

@media (min-width: 576px) {
    .ch1 {
        height: 160px;
    }
}

@media (min-width: 768px) {
    .ch1 {
        height: 170px;
    }
}

@media (min-width: 992px) {
    .ch1 {
        height: 210px;
    }
}

@media (min-width: 1200px) {
    .ch1 {
        height: 190px;
    }
}

/* Increase container width at different breakpoints */
@media (min-width: 576px) {
    .cont-main {
        max-width: 560px;
    }
}

@media (min-width: 768px) {
    .cont-main {
        max-width: 750px;
    }
}

@media (min-width: 992px) {
    .cont-main {
        max-width: 1000px; 
    }
}

@media (min-width: 1200px) {
    .cont-main {
        max-width: 1200px; 
    }
}


@media (max-width: 767px) {
    body {
        margin-bottom: 250px !important; /* Even more space on mobile where footer is taller */
    }
}


/* === Mobile specific styles === */
@media (max-width: 575.98px) {
    .footer {
        line-height: 1.5; /* reset the 60px line-height — it causes huge gaps when wrapping */
    }

    .footer .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .policy-links {
        flex-direction: column; /* stack vertically on mobile */
        align-items: center;
        gap: 6px;
    }

    /* hide the | separators when stacked — they look odd between rows */
    .policy-separator {
        display: none;
    }
    .container.cont-main,
    .container.mt-3.mb-3.cont-main {
        max-width: 100%;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0;
        padding-right: 0;
        border-radius: 0; /* remove rounded corners on mobile */
        box-shadow: none; /* remove shadow — no visible edge to shadow */
    }

    .ch1 {
        height: auto !important;
        min-height: unset !important;
    }

    body {
        margin-bottom: 0 !important;
        background-color: #ffffff; /* no grey peeking at the sides */
    }

    /* Restore inner content padding so text isn't flush to screen edge */
    .main-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Portal banner: remove horizontal margin/padding bleed */
    .container.mt-3.mb-3.cont-main {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .portal-banner {
        border-radius: 0;
    }

    .index-card-img {
        max-width: 70px;      /* shrink image so text has room */
        height: 70px;
        object-fit: cover;
    }

    /* restore a right-side gap between image and text */
    .container.card .col-3 {
        padding-right: 10px !important;
        flex: 0 0 auto;
        width: auto;           /* let the image dictate the column width */
    }

    /* allow the text col to take remaining space */
    .container.card .col {
        padding-left: 6px !important;
        padding-right: 6px !important;
        overflow: hidden;
    }

    /* reduce heading size so it doesn't wrap badly */
    .container.card h3 {
        font-size: 1rem;
    }

    .container.card p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    /* give the card itself some breathing room top/bottom */
    .container.card.portal-banner {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}