/**
 * Herbarella Checkout – Styles
 */

/* ---- PLZ-Hinweis ---- */

.hbc-plz-hint {
    display: block;
    margin-top: 4px;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #856404;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 3px;
}


/* ---- Adress-Bestätigungsmodal ---- */

.hbc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hbc-modal {
    background: #fff;
    border-radius: 6px;
    max-width: 480px;
    width: 100%;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    animation: hbc-fade-in 0.2s ease;
}

@keyframes hbc-fade-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hbc-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding: 0;
    color: #333;
    line-height: 1.3;
}

.hbc-modal-address {
    padding: 16px 20px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 24px;
}

.hbc-modal-address-line {
    font-size: 15px;
    line-height: 1.6;
    color: #222;
}

.hbc-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.hbc-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1.4;
    transition: background 0.15s ease;
}

.hbc-btn-edit {
    background: #e8e8e8;
    color: #333;
}

.hbc-btn-edit:hover {
    background: #d8d8d8;
}

.hbc-btn-confirm {
    background: #333;
    color: #fff;
}

.hbc-btn-confirm:hover {
    background: #555;
}

/* Responsive */
@media (max-width: 480px) {
    .hbc-modal {
        padding: 24px 20px;
    }

    .hbc-modal-buttons {
        flex-direction: column-reverse;
    }

    .hbc-btn {
        width: 100%;
        text-align: center;
    }
}
