/* DeluxeTransmission Accounts CSS */

/* Color variables for consistency */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Custom buttons */
.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Statistics cards */
.stats-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

/* Request cards */
.request-card {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    overflow: hidden;
}

.request-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: #007bff;
}

.request-card .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* Status badges */
.status-badge {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    border-radius: 15px;
}

/* Progress bars */
.progress-bar-custom {
    background: linear-gradient(90deg, #007bff 0%, var(--success-color) 100%);
    transition: width 1.5s ease-in-out;
}

.progress {
    border-radius: 10px;
    overflow: hidden;
    background-color: #e9ecef;
}

/* Progress steps */
.progress-step {
    opacity: 0.4;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    text-align: center;
    padding: 0.5rem;
}

.progress-step.completed {
    opacity: 1;
    color: var(--success-color);
    font-weight: 600;
}

.progress-step i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    display: block;
}

/* Navigation tabs */
.nav-tabs .nav-link {
    border: none;
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    margin-right: 0.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.nav-tabs .nav-link.active {
    background: var(--primary-gradient);
    color: white;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow);
}

.card-header {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

/* Timeline styles */
.timeline-item {
    position: relative;
    padding: 1rem 0;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #dee2e6;
}

/* Alert styles */
.alert {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.alert-sm {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

/* Table styles */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead th {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    color: var(--dark-gray);
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .stats-card .card-body {
        padding: 1rem;
    }
    
    .request-card {
        margin-bottom: 1rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        margin-right: 0.25rem;
        font-size: 0.875rem;
    }
    
    .btn-primary-custom {
        padding: 8px 20px;
        font-size: 0.875rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: var(--progress-width);
    }
}

/* Loading states */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Status indicators */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.status-indicator.pending { background: var(--warning-color); }
.status-indicator.approved { background: var(--info-color); }
.status-indicator.in-progress { background: #007bff; }
.status-indicator.completed { background: var(--success-color); }
.status-indicator.declined { background: var(--danger-color); }

/* Dashboard specific styles */
.dashboard-header {
    background: var(--primary-gradient);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--dark-gray);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Print styles */
@media print {
    .btn, .nav-tabs, .navbar, footer {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
    
    .progress-bar-custom {
        background: #000 !important;
    }
}