.sgc-container {
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 20px;
}

.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
}

.card-header {
    border-bottom: none;
}

.form-control:focus {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25) !important;
}

#sgc-results .card-header {
    background-color: #28a745 !important;
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
}

.outcome-approved {
    color: #28a745;
    font-weight: bold;
}

.outcome-declined {
    color: #dc3545;
    font-weight: bold;
}

.outcome-pending {
    color: #ffc107;
    font-weight: bold;
}

/* Loading spinner */
.spinner-border {
    display: none !important;
    margin-left: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sgc-container {
        padding: 10px;
    }
    
    .table-responsive {
        margin: 0 -15px;
    }
}

/* Animation for results display */
#sgc-results.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.sassa-form-container {
    background-color: #fff9e6 !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    max-width: 800px !important;
    margin: 2rem auto !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.char-counter {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

.consent-checkbox {
    margin: 1.5rem 0;
}

.button-container {
    text-align: center;
    margin-top: 2rem;
}

.check-status-btn {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px !important;
}

.check-status-btn:hover {
    background-color: #e0a800 !important;
    transform: translateY(-1px);
}

.spinner-border {
    margin-left: 0.5rem;
    display: none;
}

/* Results styling */
.app-details {
    margin-top: 2rem;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 1000px !important;
    margin: 2rem auto !important;
}

.app-details h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.details-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list strong {
    margin-right: 1rem;
    min-width: 150px;
}

.sassa-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.sassa-table th {
    background-color: #ffc107;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.sassa-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.sassa-table tr:last-child td {
    border-bottom: none;
}

.outcome-approved {
    color: #28a745;
    font-weight: 600;
}

.outcome-declined {
    color: #dc3545;
    font-weight: 600;
}

.outcome-pending {
    color: #ffc107;
    font-weight: 600;
}

@media (max-width: 768px) {
    .sassa-form-container {
        margin: 1rem !important;
        padding: 1.5rem !important;
    }

    .details-list li {
        flex-direction: column;
    }

    .details-list strong {
        margin-bottom: 0.25rem;
    }

    .table-responsive {
        margin: 0 -1.5rem;
        padding: 0 1.5rem;
        overflow-x: auto;
    }

    .sassa-table {
        min-width: 600px;
    }

    .check-status-btn {
        width: 100% !important;
    }

    .list-group-item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .list-group-item span {
        margin-top: 0.25rem !important;
    }
}

.card-header.bg-warning {
    background-color: #ffc107 !important;
}

.table-warning {
    background-color: #fff3cd !important;
} 