/* ===========================================
   TRIAL BALANCE GENERATOR STYLES
   =========================================== */

/* Main Container */
.trial-balance-container {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Header with Modern Gradient */
.trial-balance-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    position: relative;
}

.trial-balance-header .calculator-icon {
    opacity: 0.9;
}

/* Upload Area */
.trial-balance-upload-area {
    border: 3px dashed #e9ecef;
    border-radius: 20px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.trial-balance-upload-area:hover {
    border-color: #6a11cb;
    background: linear-gradient(145deg, #f0f2ff, #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(106, 17, 203, 0.12);
}

/* Upload Icon */
.trial-balance-upload-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6a11cb 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Selected File Display */
.trial-balance-selected-file {
    border-radius: 12px;
}

.trial-balance-file-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Action Buttons */
.trial-balance-btn-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    border: none;
    font-weight: bold;
    padding: 12px 24px;
}

.trial-balance-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.trial-balance-btn-secondary {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
    border: none;
    font-weight: bold;
    padding: 12px 24px;
}

.trial-balance-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Processing Animation */
.trial-balance-processing-animation {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Results Cards */
.trial-balance-results-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.trial-balance-results-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.trial-balance-results-header {
    border-radius: 15px 15px 0 0;
    background: linear-gradient(135deg, #28a745, #20c997);
}

.trial-balance-success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Download Section */
.trial-balance-download-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 15px 15px 0 0;
}

.trial-balance-download-btn {
    width: 100%;
    padding: 12px 24px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trial-balance-download-btn:hover {
    transform: translateY(-2px);
}

.trial-balance-download-excel {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.trial-balance-download-excel:hover {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}


/* Analysis Cards */
.trial-balance-analysis-card {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 10px;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Progress Bar */
.trial-balance-progress {
    height: 6px;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.trial-balance-progress-bar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    animation: progressFill 2s ease-in-out;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .trial-balance-container {
        margin: 1rem;
        border-radius: 15px;
    }
    
    .trial-balance-header {
        padding: 1.5rem;
    }
    
    .trial-balance-upload-icon {
        width: 60px;
        height: 60px;
    }
    
    .trial-balance-file-icon {
        width: 40px;
        height: 40px;
    }
}
