/* Custom CSS for Business Idea Validator */

/* General Styling */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.navbar-brand {
    font-weight: 600;
}

/* Card Styling */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* Statistics Cards */
.card.text-center .card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card.text-center .card-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Table Styling */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
    font-size: 0.875rem;
}

.table td {
    vertical-align: middle;
}

.idea-text {
    line-height: 1.4;
    max-width: 400px;
}

/* Badge Styling */
.badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* Button Styling */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-group-sm > .btn, .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Progress Bar Styling */
.progress {
    border-radius: 0.5rem;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Form Styling */
.form-control {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Alert Styling */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Status Badge Colors */
.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #000;
}

.badge.bg-success {
    background-color: #198754 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

/* Job Progress Styling */
.mb-4.p-3.border.rounded {
    background-color: #fff;
    border-color: #dee2e6 !important;
    border-radius: 0.5rem !important;
}

/* Report Content Styling */
.report-content {
    line-height: 1.6;
}

.report-content h1,
.report-content h2,
.report-content h3,
.report-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.report-content h1 {
    font-size: 1.75rem;
    color: #212529;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.report-content h2 {
    font-size: 1.5rem;
    color: #495057;
}

.report-content h3 {
    font-size: 1.25rem;
    color: #6c757d;
}

.report-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.report-content li {
    margin-bottom: 0.25rem;
}

.report-content p {
    margin-bottom: 1rem;
}

.report-content strong {
    font-weight: 600;
    color: #212529;
}

/* Responsive Design */
@media (max-width: 768px) {
    .d-flex.gap-2 {
        flex-direction: column;
    }
    
    .btn {
        margin-bottom: 0.5rem;
    }
    
    .card.text-center .card-title {
        font-size: 1.5rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .idea-text {
        max-width: 200px;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Hover Effects */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.025);
}

.btn:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Custom Utilities */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.border-start-success {
    border-left: 4px solid #198754 !important;
}

.border-start-warning {
    border-left: 4px solid #ffc107 !important;
}

.border-start-danger {
    border-left: 4px solid #dc3545 !important;
}

.border-start-info {
    border-left: 4px solid #0dcaf0 !important;
}

/* Score Display */
.score-excellent {
    color: #198754;
    font-weight: 700;
}

.score-good {
    color: #fd7e14;
    font-weight: 700;
}

.score-fair {
    color: #ffc107;
    font-weight: 700;
}

.score-poor {
    color: #dc3545;
    font-weight: 700;
}
