/* ========================================
   DEVELOPER PORTAL STYLES
   ======================================== */

/* Dashboard Cards */
.stat-card {
    transition: transform 0.2s;
    border: none;
    border-radius: 12px;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.7;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold;
}

/* Mini-App Cards */
.app-card {
    transition: all 0.2s;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.app-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.app-card .app-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.app-card .app-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.app-card .app-category {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Status Badges */
.badge-draft { background-color: #6c757d; }
.badge-pending { background-color: #ffc107; color: #000; }
.badge-in_review { background-color: #0dcaf0; }
.badge-approved { background-color: #198754; }
.badge-rejected { background-color: #dc3545; }
.badge-suspended { background-color: #212529; }

/* Form Styles */
.form-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-section h4 {
    margin-bottom: 1rem;
    color: #0d6efd;
}

/* Preview Image */
.preview-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* Transaction Table */
.transaction-table td {
    vertical-align: middle;
}

.transaction-credit {
    color: #198754;
    font-weight: 600;
}

.transaction-debit {
    color: #dc3545;
    font-weight: 600;
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-card .stat-value {
        font-size: 1.5rem;
    }

    .app-card .app-icon {
        width: 60px;
        height: 60px;
    }
}
