

/* Toolbar - Matching Existing Style */
.status-toolbar {
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.status-title {
    font-weight: 600;
    font-size: 18px;
}

.back-button {
    color: white !important;
}

/* Loading Indicators - Matching Existing */
.status-loader {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    height: 3px;
}



@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Pull to Refresh - Matching Existing */
.status-refresh {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 12px 0;
    background-color: var(--background-light);
}

/* Main Content */
.status-content {
    padding: 16px;
    max-width: 800px;
    margin: 0 auto;
}

/* Status Header */
.status-header {
    margin-bottom: 20px;
    padding: 0 8px;
}

.status-count {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
}

.status-count i {
    margin-right: 10px;
    color: var(--primary-color);
}

.status-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Application Cards */
.application-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.application-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Lender Header */
.lender-header {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.lender-icon-container {
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.lender-icon {
    color: var(--primary-color);
    font-size: 18px;
}

.lender-details {
    flex: 1;
}

.lender-name {
    font-size: 16px;
    color: var(--text-primary);
    margin: 0 0 2px 0;
    font-weight: 600;
}

.application-id {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.status-indicator {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.status-indicator.success {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.status-indicator.warning {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning-color);
}

.status-indicator.danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.status-indicator.info {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
}

/* Status Progress */
.status-progress {
    display: flex;
    justify-content: space-between;
    margin: 0 0 20px 0;
    position: relative;
}

.status-progress::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 auto 5px;
    position: relative;
}

.progress-step.active .step-marker {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.step-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.progress-step.active .step-label {
    color: var(--text-primary);
    font-weight: 500;
}

/* Application Dates */
.application-dates {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.date-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.date-item i {
    margin-right: 6px;
    color: var(--primary-color);
}

/* Lender Message */
.lender-message {
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
}

.message-icon {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 16px;
}

.message-text {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

/* Offer Details */
.offer-details {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.details-title {
    font-size: 16px;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
}

.details-title i {
    margin-right: 8px;
    color: var(--primary-color);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.detail-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Empty State */
.empty-status {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.empty-icon-container {
    width: 60px;
    height: 60px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.empty-icon {
    color: var(--primary-color);
    font-size: 24px;
}

.empty-title {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.empty-message {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}


.detail-row-expired {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
}

.detail-row-expired i {
    margin-right: 1px;
    color: #7f8c8d;
    width: 16px;
    text-align: center;
}

.loan-actions {
    text-align: right;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .details-grid {
        grid-template-columns: 1fr 1fr;
    }

    .application-dates {
        flex-direction: column;
        gap: 8px;
    }

    .status-progress {
        margin-bottom: 16px;
    }
}

@media (max-width: 400px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .lender-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-indicator {
        margin-top: 8px;
        align-self: flex-start;
    }
}