html {
    font-size: 14px;
}

@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%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.logo {
    height: 48px;
    width: auto;
}

.dh-footer {
    font-size: 0.95rem;
    line-height: 1.4;
}

.dh-footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
}

.dh-footer-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #b02a37;
    font-size: 0.92rem;
    max-width: 900px;
}

.dh-footer-warning-icon {
    flex: 0 0 auto;
    line-height: 1.2;
}

.notification-read {
    background-color: #f8f9fa;
    color: #6c757d;
}

    .notification-read strong {
        font-weight: 500;
    }

    .notification-read .btn {
        opacity: 0.85;
    }

.notification-unread {
    background-color: #fff;
}

.notification-unread {
    background-color: #fff;
    border-left: 3px solid #0d6efd;
}

.notification-dropdown-menu {
    width: min(24rem, calc(100vw - 2rem));
    max-height: 32rem;
    overflow-y: auto;
}

.notification-dropdown-form {
    transition: background-color 0.15s ease-in-out;
}

    .notification-dropdown-form:hover,
    .notification-dropdown-form:focus-within {
        background-color: #f0f6ff;
    }

.notification-dropdown-item {
    padding: 0.75rem 1rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.notification-dropdown-message {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 991.98px) {
    .notification-dropdown-menu {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 576px) {
    .dh-footer {
        font-size: 0.88rem;
    }

    .dh-footer-top {
        gap: 0.1rem;
    }

    .dh-footer-warning {
        font-size: 0.85rem;
    }
}

/* Banner */
.dh-cookie-banner {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    background: #111;
    color: #eee;
    padding: 16px;
    border-top: 2px solid #333;

    width: auto;
    max-width: 100vw;
    box-sizing: border-box;
    z-index: 99999;
}

.dh-cookie-text {
    font-size: 14px;
    max-width: 60%;
}

.dh-cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .dh-cookie-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .dh-cookie-text {
        max-width: none;
    }

    .dh-cookie-buttons {
        justify-content: flex-end;
    }

        .dh-cookie-buttons button,
        .dh-cookie-buttons .dh-btn-custom {
            margin: 0;
        }
}

.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Buttons */
.dh-btn-accept {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
}

.dh-btn-reject {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
}

.dh-btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #444;
    color: #eee;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}
    .dh-btn-custom:hover {
        color: white;
        background: #555;
    }

.dh-cookie-policy-link {
    margin-left: 8px;
    color: #ff7b00;
    font-size: 0.85rem;
    text-decoration: underline;
    opacity: 0.85;
}

    .dh-cookie-policy-link:hover {
        opacity: 1;
    }

.dh-cookie-gear {
    margin-left: 6px;
    color: #666;
    font-size: 1.1rem;
    text-decoration: none;
}

    .dh-cookie-gear:hover {
        color: #ff7b00;
    }
