@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}


.or {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .or .or-line {
        border-bottom: 1px solid var(--bs-body-color);
        width: 100%;
        opacity: 0.2;
    }

    .or .or-text {
        padding: 0 0.625rem 0px 0.625rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: var(--bs-body-color);
        opacity: 0.7;
    }

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;
        margin: 0 0.1875rem;
        border-radius: 50%;
        background-color: var(--bs-body-color);
        opacity: 0.7;
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary);
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .info-message.info-panel {
        margin-bottom: 0.625rem;
    }

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.icon-external-provider {
    width: 1rem;
    height: 1rem;
}

.icon-google {
    background-image: url("/images/account/providers/google-logo.svg")
}

.icon-facebook {
    background-image: url("/images/account/providers/facebook-logo.svg")
}

.icon-microsoft {
    background-image: url("/images/account/providers/microsoft-logo.svg")
}

.icon-twitter {
    background-image: url("/images/account/providers/x-logo.svg")
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}

/* Suchfeld kompakt */
.dxbl-textbox {
    max-width: 320px;
}

/* Lupe leicht transparent */
.oi.oi-magnifying-glass {
    opacity: 0.8;
}

/* Action Buttons etwas Abstand */
.btn-outline-primary:hover {
    background-color: rgba(13,110,253,0.15);
}

.btn-outline-danger:hover {
    background-color: rgba(220,53,69,0.15);
}

.search-icon {
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.row-abgeholt {
    background-color: #f2f2f2 !important; /* leicht grauer Hintergrund */
    color: #555 !important; /* dunkles Grau für Text */
}

    .row-abgeholt .badge {
        opacity: 0.8; /* Badge leicht absoften */
    }


.day-info-box {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}


.day-box {
    width: 100%;
    max-width: 680px;
    border-radius: 12px;
    padding: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, #4bb4a5 0%, #61b6e6 100%);
    box-shadow: 0 5px 16px rgba(0,0,0,0.2);
}



.day-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.day-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    width: 33%;
}

    .stat-item i {
        display: block;
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

.green {
    color: #c8ffd1;
}

.orange {
    color: #ffe3b3;
}

.day-button {
    background: rgba(255,255,255,0.2);
    padding: 0.8rem 1rem;
    text-align: center;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    backdrop-filter: blur(6px);
}

    .day-button:hover {
        background: rgba(255,255,255,0.3);
    }


/* ========= INFO-KARTEN (unter der Tagesbox) ========= */

.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.info-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    padding: 1.2rem 1.4rem;
    width: 260px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.info-icon {
    font-size: 2.0rem;
    margin-bottom: 0.4rem;
    color: #2d78c4;
}

.info-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #333;
}

.info-value {
    font-size: 1.0rem;
    font-weight: 500;
    color: #444;
    margin-top: 0.2rem;
}

/* Top-3-Liste */
.toplist {
    margin: 0;
    padding-left: 18px;
    font-size: 0.95rem;
}

    .toplist li {
        padding: 2px 0;
        color: #444;
    }

/* Bessere mobile Darstellung */
@media (max-width: 680px) {
    .info-card {
        width: 100%;
    }
}


/* ============================
   INFO-KARTEN (Darkmode Style)
   ============================ */

.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Dunklere, matte Karten – sanfter Look */
.info-card {
    background: rgba(255, 255, 255, 0.05); /* leicht transparent */
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    width: 260px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Icons farblich leicht hervorgehoben */
.info-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Unterschiedliche Icon-Farben */
.info-card:nth-child(1) .info-icon {
    color: #76d6b1;
}
/* letzter Abholtag */
.info-card:nth-child(2) .info-icon {
    color: #7cb7ff;
}
/* nächster Bestelltermin */
.info-card:nth-child(3) .info-icon {
    color: #ffd27f;
}
/* Top 3 Artikel */

.info-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #e8e8e8;
}

.info-value {
    font-size: 1rem;
    color: #d6d6d6;
}

/* Top 3 */
.toplist {
    padding-left: 20px;
    margin: 0;
    color: #d6d6d6;
}

    .toplist li {
        padding: 3px 0;
    }

/* Mobile */
@media (max-width: 680px) {
    .info-card {
        width: 100%;
    }
}
