:root {
    --color-1: #2774b6; /* Lapis Lazuli */
    --color-2: #ebf5fc; /* Alice Blue */
}

body {
    font-family: "Work Sans", sans-serif;
    background-color: #f2f3f4;
}

label {
    font-weight: 400;
    font-size: 14px;
}

.custom-input {
    height: 45px;
    border-radius: 5px;
}

.custom-input::placeholder {
    font-size: 14px;
}

.custom-input {
    font-size: 14px !important;
}

.form-control:focus {
    border-color: #ddd;
    box-shadow: none;
    outline: none;
}

.form-control {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
}

/* Style for scroll bar  */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #f8f4f1;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-1);
    border-radius: 0px;
}

::-webkit-scrollbar:horizontal {
    height: 5px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb:horizontal {
    background: var(--color-1);
    border-radius: 50px;
}

::-webkit-scrollbar-track:horizontal {
    box-shadow: inset 0 0 5px #fff;
    border-radius: 50px;
}

/* Floating error styles */

.floating-error,
.floating-success {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    padding: 15px;
    font-size: 14px;
    z-index: 9999;
    line-height: 1.8em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    word-wrap: break-word;
    color: #ffffff;
}

.floating-error {
    background-color: #f44336;
}

.floating-success {
    background-color: #4caf50;
}

.floating-error.show,
.floating-success.show {
    display: block;
}

.search_result_button {
    background-color: var(--color-1);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 14px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
}

/* Result portal page styles */

.school_branding_container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 70px;
}

.school_logo {
    width: 80px;
    height: 80px;
    background: url("../images/school_logo.png") no-repeat center center;
    background-size: contain;
    margin-right: 10px;
}

.school_name {
    text-align: left;
}

.school_name_span_1 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.5;
    display: block;
}

.school_name_span_2 {
    font-size: 16px;
    text-transform: uppercase;
    line-height: 1.8;
    display: block;
}

.page_hero_1 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 10px;
}

.result_search_container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 600px) {
    .floating-error,
    .floating-success {
        display: none;
        position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        padding: 15px;
        text-align: center;
    }
}
