/* Bulk Change Request UI - Custom Styles */

/* Root Variables for Brand Colors (optional - customize as needed) */
:root {
    --primary-color: #0d6efd;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

/* Body and Layout */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Authentication Container */
#auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#auth-container .card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Navigation Bar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card Styling */
.card {
    border: none;
    border-radius: 0.5rem;
}

.card.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

/* Form Elements */
.form-label {
    font-weight: 500;
    color: #495057;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* Badge Styling for Row Counts */
.badge-count {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    display: inline-block;
    width: 100%;
}

/* Results Container */
#results-container .card {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error List Styling */
.error-list {
    max-height: 400px;
    overflow-y: auto;
}

.error-list .list-group-item {
    border-left: 3px solid var(--danger-color);
    margin-bottom: 0.5rem;
}

/* Loading Spinner */
#upload-spinner {
    vertical-align: middle;
}

/* Alert Styling */
.alert {
    border-radius: 0.5rem;
}

.alert-heading {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Download Button */
.btn-download {
    margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .badge-count {
        margin-bottom: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    #user-info {
        display: none;
    }
}

/* Accessibility Improvements */
.form-control:focus,
.form-select:focus,
.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* File Input Styling */
.form-control[type="file"] {
    cursor: pointer;
}

.form-control[type="file"]::-webkit-file-upload-button {
    cursor: pointer;
}

/* Success State */
.success-icon {
    color: var(--success-color);
    font-size: 3rem;
}

/* Processing Time Display */
.processing-time {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 1rem;
}

/* Okta Widget Container */
#okta-signin-widget {
    margin: 0 auto;
}

/* User Info Display */
#user-info {
    font-size: 0.9rem;
}

/* Logout Button */
#logout-btn {
    border-radius: 0.25rem;
}

/* Toast Notifications (optional) */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
}
