/* Past-Due Banner Component
 * Warning banner shown when a subscription has an overdue invoice
 * Displayed at the top of the app content area for all team members
 */

.past-due-banner {
    background-color: #fef3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
}

.past-due-banner-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.past-due-banner-icon {
    flex-shrink: 0;
    color: #856404;
    display: flex;
    align-items: center;
    justify-content: center;
}

.past-due-banner-message {
    flex: 1;
    min-width: 200px;
}

.past-due-banner-title {
    font-weight: 600;
    color: #856404;
    display: block;
    margin-bottom: 0.125rem;
}

.past-due-banner-text {
    color: #664d03;
    font-size: 0.875rem;
}

.past-due-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Warning button variants for the banner */
.button-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.button-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    color: #212529;
}

.button-outline-warning {
    background-color: transparent;
    border: 1px solid #ffc107;
    color: #856404;
}

.button-outline-warning:hover {
    background-color: #ffc107;
    color: #212529;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .past-due-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .past-due-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .past-due-banner-actions .button {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
}
