


html, body {
    font-size: 18px !important;
    height: 100%;
    margin: 0;
    padding: 0;
    /*overflow-x: hidden;*/
}

body {
    background-color: #efefef; /* zur Sicherheit */
    /*background-image: url('/img/bg-diagonal-noise.png');*/
    background-image: url('/img/bg4.png');
    background-repeat: repeat;
    background-size: auto;
}

.feda-web-nav-bar {
    border-bottom: 1px solid rgba(58,58,58, 0.3) !important;
    box-shadow: rgba(58, 58, 58, 1) 0px -8px 18px;
}

.feda-web-footer {
    border-top: 1px solid rgba(58,58,58, 0.3) !important;
    background-color: white !important;
    box-shadow: rgba(58, 58, 58, 1) 0px 12px 20px;
}

.landscape-warning-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.2rem;
    padding: 2rem;
    flex-direction: column;
}

body.landscape-blocked > *:not(.landscape-warning-overlay) {
    display: none !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

footer.footer {
    margin-top: auto;
    padding: 0.5rem 0;
}


.feda-modal-titletext {
    color: #3a3a3a;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.feda-modal-button {
    background-color: #3a3a3a !important;
    color: #fff;
    border: 1px solid rgba(58,58,58, 0.5);
    border-radius: 0.375rem;
    padding: 0.45rem 1.2rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 3D-Schatten */
    transition: all 0.15s ease-in-out;
}

    .feda-modal-button:hover {
        background-color: #2f2f2f !important;
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25);
    }

    .feda-modal-button:active {
        background-color: #2a2a2a !important;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
    }

.feda-web-flip-phone {
    width: 120px;
}


.btn-feda-primary {
    background-color: #3a6ea5;
    color: #fff;
    border: none;
}

    .btn-feda-primary:hover {
        background-color: #345f8f;
        color: #eee;
    }

.btn-feda-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

    .btn-feda-secondary:hover {
        background-color: #5a6268;
    }

.btn-feda-dark {
    background-color: #212529;
    color: #fff;
    border: none;
}

    .btn-feda-dark:hover {
        background-color: #16191c;
    }

.btn-feda-outline {
    border: 1px solid #3a6ea5;
    color: #3a6ea5;
    background-color: transparent;
}

    .btn-feda-outline:hover {
        background-color: #345f8f;
        color: #eee;
    }

.btn-feda-small {
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
}

.btn-feda-modules {
    background-color: #f8f9fa;
    color: #3a3a3a;
    border: 1px solid #3a3a3a;
    border-radius: 0.375rem;
    padding: 0.4rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

    .btn-feda-modules:hover {
        background-color: rgba(58, 110, 165, 0.35) !important;
        color: #3a3a3a;
    }

    .btn-feda-modules.active {
        background-color: #3a6ea5;
        color: #fff;
        border-color: #999;
    }


    .btn-feda-primary:focus,
    .btn-feda-secondary:focus,
    .btn-feda-modules:focus,
    .btn-feda-dark:focus {
        outline: none;
        box-shadow: none;
    }

.feda-web-page-logo {
    height: 15rem;
    border: 2px solid white;
    margin-bottom: 44px;
    box-shadow: 0px 0px 24px rgba(58, 58, 58, 0.7);
}

.feda-web-icon-img {
    border: 1px solid white;
    width: 64px;
    height: 64px;
    display: flex;
}


.feda-web-bg-primary {
    background-color: #5a99c5; /* ruhiges Blau */
    color: #fff;
}

.feda-web-bg-success {
    background-color: #28a745;
    color: #fff;
}

.feda-web-bg-warning {
    background-color: #ffc107;
    color: #212529;
}

.feda-web-bg-info {
    background-color: #17a2b8;
    color: #fff;
}

.feda-web-bg-secondary {
    background-color: #6c757d;
    color: #fff;
}

.feda-web-badge-income {
    background-color: cornflowerblue;
    color: #fff;
}

.feda-web-badge-check {
    background-color: darkcyan;
    color: #fff;
}

.feda-web-badge-production {
    background-color: mediumseagreen; /* helleres Grün für Produktion */
    color: #fff;
}

.feda-web-badge-shipping {
    background-color: rgba(30, 150, 30, 1);
    color: white;   
    border: 1px solid rgba(58, 58, 58, 0.1);
    box-shadow: 0px 1px 8px rgba(58, 58, 58, 0.4);
}

.feda-web-badge-reversal {
    background-color: #e0a800; /* warmes Bernstein-Gelb/Orange */
    color: #212529;
}


.feda-web-badge-unknown {
    background-color: #6c757d;
    color: #fff;
}

.feda-web-customer-line {
    position: absolute;
    right: 0;
    margin-top: -20px;
    font-size: 14px;
    color: rgba(58, 58, 58, 0.7);
}


@media(max-width: 1920px) {
    .feda-web-page-logo {
        height: 13rem;
    }
}

@media(max-width: 1440px) {
    .feda-web-page-logo {
        height: 12rem;
    }
}

/* Tablet: kleiner bei max. 768px */
@media (max-width: 768px) {
    .feda-web-icon-img {
        width: 48px;
        height: 48px;
    }

    .feda-web-page-logo {
        height: 10rem;
    }
}

@media screen and (orientation: portrait) {
    .landscape-warning {
        display: none;
    }
}


/* Mobil: noch kleiner bei max. 480px */
@media (max-width: 620px) {
    .feda-web-icon-img {
        width: 32px;
        height: 32px;
    }

    .feda-web-page-logo {
        height: 8rem;
    }
}

/* Mobil: noch kleiner bei max. 480px */
@media (max-width: 480px) {
    .feda-web-icon-img {
        width: 32px;
        height: 32px;
    }
}
