﻿#logo img {
    max-height: 80px;
    width: auto;
    margin-top: 4px;
}

#logo .logo-mobile {
    max-height: 60px;
}

input,
select,
textarea,
.form-control,
.form-select,
.search-input {
    font-size: 16px !important;
    line-height: 1.4;
}

.logout-button {
    background-color: #2b659f;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    display: block;
}

.logout-button:hover {
    background-color: #1f589d;
}

.logout-item {
    padding: 5px 10px;
    margin-top: 10px;
}

#mainmenu li {
    list-style-type: none;
    counter-increment: none;
}

#mainmenu li::before {
    content: none !important;
}

.modal-glass-admin {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    padding: 0;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.1);
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.modal-body {
    padding: 20px;
}

.list-group-item {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: background-color 0.2s ease;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
}

.list-group-item a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 1px 3px;
}

.list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body > br:last-of-type {
    display: none;
}

.modern-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.5;
}

.footer-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    /*margin-bottom: 10px;*/
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2b659f;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.newsletter-form .form-control {
    flex: 3;
    border-radius: 20px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.newsletter-form .btn-submit {
    flex: 1;
    background: #2b659f;
    border: none;
    color: #fff;
    border-radius: 20px;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.newsletter-form .btn-submit:hover {
    background: #1f589d;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icons a i {
    background: #2b659f;
    color: white;
}

.social-icons a {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background-color: #2b2b2b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #2b659f;
    transform: scale(1.1);
}

.subfooter {
    background: rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/*Line around has-modal item in menu */

#mainmenu {
    --menu-underline-inset-left: calc(1em + 0px);
    --menu-underline-inset-right: 0px;
}

#mainmenu, #mainmenu li, #mainmenu a {
    overflow: visible;
}

#mainmenu li {
    list-style: none;
}

#mainmenu a.menu-item {
    position: relative;
    padding: 0 0;
    white-space: nowrap;
    text-decoration: none;
}

#mainmenu a.has-modal::after {
    content: "";
    position: absolute;
    left: var(--menu-underline-inset-left);
    right: var(--menu-underline-inset-right);
    bottom: -6px;
    height: 2px;
    background: #2b659f;
    border-radius: 2px;
    opacity: .95;
}

#mainmenu a.has-modal:hover::after {
    opacity: 1;
}

/* Mobiles Line around has-modal item in menu  */

@media (max-width: 768px) {

    #mainmenu a.menu-item {
        display: block;
        position: relative;
    }

    #mainmenu a.has-modal {
        box-shadow: inset 0 -4px 0 0 #A67C00 !important;
        padding-bottom: 14px;
        border-radius: 14px;
    }

    #mainmenu, #mainmenu li, #mainmenu a {
        overflow: visible !important;
    }
}

@media (max-width: 991.98px) {

    .modern-footer .container > .row.gx-5 {
        row-gap: 24px;
    }

    .modern-footer .col-lg-4 .row {
        row-gap: 16px;
    }

    .modern-footer .footer-title {
        margin-bottom: 12px;
    }

    .modern-footer .newsletter-form {
        margin-top: 14px;
    }
}

@media (max-width: 991.98px) {
    .modern-footer .col-lg-4 .row > [class*="col-"]:not(:last-child) {
        margin-bottom: 16px;
    }
}