/* Receivables Dashboard styles */
.ff-receivables-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Fallback message styling */
.ff-receivables-dashboard.ff-receivables-error {
    grid-template-columns: 1fr;
}
.ff-receivables-notice {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px 20px;
    color: #6c757d;
}
.ff-receivables-icon {
    font-size: 20px;
    margin-right: 12px;
}

/* Card styling */
.ff-receivables-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ff-receivables-card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.04);
}

.ff-receivables-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.ff-receivables-title {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #555 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

.ff-receivables-body {
    margin-bottom: 12px;
}

.ff-receivables-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

/* Danger text state */
.ff-receivables-value.text-danger {
    color: #d63638;
}

.ff-receivables-footer {
    display: flex;
}

.ff-receivables-status {
    font-size: 13px;
    color: #8c8f94;
}

/* Status dots */
.ff-receivables-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
    display: inline-block;
}
.ff-receivables-dot.is-success {
    background-color: #46b450;
    box-shadow: 0 0 0 3px rgba(70, 180, 80, 0.2);
}
.ff-receivables-dot.is-danger {
    background-color: #d63638;
    box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.2);
}
.ff-receivables-dot.is-neutral {
    background-color: #d1d4d7;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ff-receivables-dashboard {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .ff-receivables-card {
        padding: 20px;
    }
}
