@import "https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css";
@import "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


select.form-select.quick-rechnung {
    background-color: var(--profection-blue) !important;
    color: rgba(255, 255, 255, 1) !important;
    border-color: rgba(222, 226, 230, 1) !important;

    &:hover {
        background-color: rgb(69 122 134 / 30%) !important;
    }

    &:focus {
        background-color: rgb(69 122 134 / 30%) !important;
        color: rgb(255, 255, 255) !important;
    }

    &:active {
        background-color: rgb(69 122 134 / 30%) !important;
        color: rgb(255, 255, 255) !important;
    }

    &:visited {
        background-color: rgb(69 122 134 / 30%) !important;
        color: rgb(255, 255, 255) !important;
    }

    &:disabled {
        background-color: rgb(69 122 134 / 30%) !important;
        color: rgb(255, 255, 255) !important;
    }

    &:checked {
        background-color: rgb(69 122 134 / 30%) !important;
        color: rgb(255, 255, 255) !important;
    }

    &:focus-visible {
        background-color: rgb(69 122 134 / 30%) !important;
        color: rgb(255, 255, 255) !important;
    }

    &:focus-within {
        background-color: rgb(69 122 134 / 30%) !important;
        color: rgb(255, 255, 255) !important;
    }
}

.ms-3 {
    margin-left: 0rem !important;
}


.mgl-left {
    border-left: 1px solid #ededed !important;

}


.hidden {
    display: none;
}

.navbar {
    background-color: rgb(69 122 134 / 18%) !important;

}

.profection-footer {
    background-color: var(--profection-anthracite) !important;
    z-index: 100000 !important;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px !important;
    color: white !important;
    padding: 10px 20px !important;
}

/* Custom styles */
.logo-placeholder {
    width: 150px;
    height: 75px;
    background-image: url("/assets/images/profection_logo-27949296c5946fee1879dd589423a616.svg?vsn=d");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    display: block;
}

/* Custom Bootstrap overrides */
:root {
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --profection-blue: #457a86 !important;
    --profection-mid-green: #90afa0 !important;
    --profection-anthracite: #344248 !important;
    --profection-gradient: #f0faff !important;
}

.heading-main {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--bs-dark);
}

.heading-sub {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bs-dark);
}

.text-main {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-dark);
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
}

.text-sub {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bs-dark);
}



.card {
    border-width: 0px !important;
}

.profection-anthracite {
    background-color: var(--profection-anthracite) !important;
}

.profection-mid-green {
    background-color: var(--profection-mid-green) !important;
}

.profection-gradient {
    background: linear-gradient(to right, var(--profection-mid-green), var(--profection-anthracite));
}

/* Enhanced Bootstrap Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--bs-primary) !important;
}

.navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* CTA Button in Navbar */
.navbar .btn-primary {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive navigation */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .navbar .btn-primary {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .navbar-collapse {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

/* Profile Dropdown (Microsoft-Style) */
.profile-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid #dee2e6;
}

.profile-avatar-lg {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid #dee2e6;
}

.profile-dropdown-menu {
    min-width: 280px;
    border-radius: 8px;
}

.profile-dropdown-header {
    border-radius: 8px 8px 0 0;
}

.profile-menu-icon {
    font-size: 1.1rem;
}

p,
span,
a,
button,
input,
select,
textarea {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--profection-blue) !important;
    font-family: 'Montserrat', sans-serif;
    font-style: bold;
    font-weight: 600;
}

.text-profection-blue {
    color: var(--profection-blue) !important;
}

.text-profection-mid-green {
    color: var(--profection-mid-green) !important;
}

.text-profection-anthracite {
    color: var(--profection-anthracite) !important;
}


.navbar-nav .nav-link.active {
    color: var(--profection-blue) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--profection-blue) !important;
}

.navbar-nav .nav-link:active {
    color: var(--profection-blue) !important;
}

.navbar-nav .nav-link:focus {
    color: var(--profection-blue) !important;
}

.navbar-nav .nav-link:visited {
    color: var(--profection-blue) !important;
}

.btn-mid-green {
    background-color: var(--profection-mid-green) !important;
    color: white !important;
    border-color: var(--profection-mid-green) !important;
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn-anthracite {
    background-color: var(--profection-anthracite) !important;
    color: white !important;
    border-color: var(--profection-anthracite) !important;
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn-blue {
    background-color: var(--profection-blue) !important;
    color: white !important;
    border-color: var(--profection-blue) !important;
    transition: all 0.3s ease;
}

.text-profection-blue {
    color: var(--profection-blue) !important;
}

.text-profection-mid-green {
    color: var(--profection-mid-green) !important;
}

.text-profection-anthracite {
    color: var(--profection-anthracite) !important;
}


.profection-blue-background {
    background-color: var(--profection-blue) !important;
}

.text-white {
    color: white !important;
}

input:focus {
    outline: none !important;
    box-shadow: none !important;
}

select:focus {
    outline: none !important;
    box-shadow: none !important;
}

.form-select:focus,
.form-select:hover,
.form-select:active {
    border-color: var(--profection-blue) !important;
    box-shadow: none !important;
}


.cta {
    padding: 2rem !important;
    border: 1px solid rgba(41, 41, 41, 0.12) !important;

    border-radius: 0.5rem;

    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

#rechnung-type {
    width: 100% !important;
    border: 1px solid rgba(41, 41, 41, 0.12) !important;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    background-color: white !important;
    color: var(--profection-blue) !important;
    margin-top: 1.5rem;
}

#rechnung-type:hover,
#rechnung-type:active,
#rechnung-type:focus,
.form-select:hover,
.form-select:active,
.form-select:focus {
    background-color: var(--profection-blue) !important;
    color: white !important;
    border-color: var(--profection-blue) !important;
    box-shadow: none !important;
    outline: none !important;
}

#rechnung-type option {
    background-color: white !important;
    color: var(--profection-blue) !important;
    padding: 0.5rem 1rem;
}

#rechnung-type option:hover {
    background-color: var(--profection-blue) !important;
    color: white !important;
}

#rechnung-type option:checked {
    background-color: var(--profection-blue) !important;
    color: white !important;
}