﻿@font-face {
    font-family: 'NunitoSans';
    src: url('../../fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

body {
    font-family: 'NunitoSans', sans-serif;
}

.btn:focus,
.btn:active,
.btn:focus-visible,
.btn:visited,
a.btn:focus,
a.btn:active,
.btn-sm:focus,
.btn-sm:active {
    outline: none !important;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: none;
    outline: none;
    box-shadow: none;
}


#search-icon svg {
    width: 20px;
    height: 20px;
    fill: #BDB7B7;
}

.title-notification {
    color: white;
    font-size: 2.125rem;
    font-family: 'NunitoSans', sans-serif;
    font-weight: 700;
    line-height: 2.4375rem;
    word-wrap: break-word
}

.header {
    background-color: #1D4370;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%221194%22 height=%22190%22 viewBox=%220 0 1194 190%22 fill=%22none%22%3E%3Cpath d=%22M1096.57 19.2199L-39.0001 -7.39258L-28.0001 182.344L1193.5 189.244L1096.57 19.2199Z%22 fill=%22%23043065%22 /%3E%3C/svg%3E');
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 90%;
    height: 200px;
    width: 82%;
}

.first-section-notification {
    display: flex;
    justify-content: center;
}

.first-step {
    color: white;
    font-size: 0.9375rem;
    font-family: 'NunitoSans', sans-serif;
    font-weight: 400;
    text-decoration: underline;
    line-height: 1.5rem;
    word-wrap: break-word
}

.second-step {
    color: white;
    font-size: 0.9375rem;
    font-family: 'NunitoSans', sans-serif;
    font-weight: 700;
    text-decoration: underline;
    line-height: 2.4375rem;
    word-wrap: break-word
}

.service-section-institutions {
    max-width: 80%;
    margin: 0 auto;
}

.service-card {
    border: 1px solid #E8E8E8;
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    height: 86%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .service-card h2 {
        font-weight: bold;
        margin-bottom: 15px;
        color: #202B5D;
        font-size: 1.375rem;
        font-style: normal;
        font-weight: 500;
        line-height: 1.875rem;
    }

    .service-card ul {
        list-style-type: none;
        padding-left: 0;
        margin-bottom: 30px;
    }

        .service-card ul li {
            margin-bottom: 8px;
            position: relative;
            padding-left: 25px;
            color: #2F6796;
            font-size: 1rem;
            font-style: normal;
            font-weight: 600;
            line-height: 1.5rem;
        }

            .service-card ul li:before {
                content: "→";
                position: absolute;
                left: 0;
                color: #0066cc;
            }

    .service-card .more-link {
        position: absolute;
        bottom: 2px;
        left: 20px;
        text-decoration: none;
        color: #005AA3;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 600;
        line-height: 1.5rem;
    }

.service-icon {
    position: absolute;
    right: 10px;
    top: 75%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.search-container-institutions {
    margin-bottom: 30px;
    width: 205%;
    position: relative;
}

#searchInputInstitutions {
    background-color: #EAEAEA;
    border-radius: 30px;
    padding: 10px 20px 10px 40px;
    border: 1px solid #ddd;
}

.no-results {
    text-align: center;
    padding: 50px;
    font-size: 1.2rem;
    color: #666;
}

.pagination-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.service-link {
    padding: 0px 0px !important;
}

.custom-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

    .custom-pagination li a {
        display: block;
        padding: 5px 10px;
        text-decoration: none;
        color: #043065;
        border-radius: 100px;
    }

    .custom-pagination li.active a {
        background-color: #F0F7FF;
        color: #043065;
    }

    .custom-pagination li.disabled a {
        color: #E8E8E8;
        pointer-events: none;
    }

@media (max-width: 768px) {
    #searchInputInstitutions {
        width: 50%;
    }

    .custom-pagination {
        display: flex;
        justify-content: center;
    }
}

.institution-logo {
    flex-shrink: 0;
}

.institution-name {
    flex-grow: 1;
}

.institution-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: #202B5D;
    text-decoration: none;
    line-height: 30px;
    text-decoration: none;
}

    .institution-link:hover {
        text-decoration: none;
    }

.dependant-link {
    color: #2F6796;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
}

    .dependant-link:hover {
        color: #2F6796;
        text-decoration: underline;
    }


.logo-placeholder {
    width: 90px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #043065;
    font-size: 2rem;
}

.institution-card {
    background: white;
    border-radius: 16px;
    border: 1.5px solid #E8E8E8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.2s;
}
