/* Additional custom styles */
.criteria-item,
.option-item {
    transition: all 0.3s ease;
}

.card {
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color);
}

.card-title {
    color: var(--bs-primary);
}

.bi {
    margin-right: 0.5rem;
}

.navbar-brand .bi {
    color: var(--bs-warning);
}

.footer {
    margin-top: 2rem;
    padding: 1rem 0;
    background-color: var(--bs-dark);
}

/* Loading state styles */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Form validation styles */
.was-validated .form-control:invalid {
    border-color: var(--bs-danger);
}

.was-validated .form-control:valid {
    border-color: var(--bs-success);
}

/* Report Data Placeholder Styling */
.report-content [class*="placeholder"],
.report-placeholder {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    color: #856404;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px dashed #ffc107;
    font-style: italic;
    display: inline;
}

/* Style placeholders that look like [Your data: ...] */
.report-content {
    /* Ensure placeholders stand out in generated reports */
}

/* Highlight placeholder text patterns in report content */
.data-placeholder {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    color: #856404;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    border: 2px dashed #ffc107;
    font-weight: 500;
    margin: 0.25rem 0;
    display: inline-block;
}

.data-placeholder::before {
    content: "\26A0 ";
    font-size: 0.9em;
}

/* Info box for explaining placeholders */
.placeholder-info-box {
    background: #e7f3ff;
    border: 1px solid #b3d7ff;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.placeholder-info-box .info-icon {
    color: #0d6efd;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.placeholder-info-box .info-text {
    color: #0d6efd;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Professional report section styling */
.report-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.report-section:last-child {
    border-bottom: none;
}

.report-section h2 {
    color: #1a365d;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #f97316;
}

.report-section h3 {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

/* ============================================
   REPORT PAGE - Export & Toast Styles
   ============================================ */

/* Report Actions Container */
.report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.report-actions .btn {
    font-size: 0.875rem !important;
    padding: 0.5rem 0.875rem !important;
    min-height: auto !important;
}

/* Export Dropdown - Professional Style */
.export-dropdown {
    position: relative;
    display: inline-block;
}

.export-dropdown .dropdown-toggle {
    background: #fd7e14 !important;
    border: 1px solid #fd7e14 !important;
    color: white !important;
    font-size: 0.875rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
}

.export-dropdown .dropdown-toggle:hover,
.export-dropdown .dropdown-toggle:focus,
.export-dropdown .dropdown-toggle.show {
    background: #e56a0c !important;
    border-color: #e56a0c !important;
    color: white !important;
}

.export-dropdown .dropdown-menu {
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
    padding: 0.5rem 0;
    margin-top: 4px;
}

.export-dropdown .dropdown-item {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: auto !important;
}

.export-dropdown .dropdown-item:hover {
    background: #fff5eb;
}

.export-dropdown .dropdown-item i {
    font-size: 1rem;
    margin-right: 0 !important;
}

/* Toast Notification - Professional */
.axer-toast {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    max-width: 340px !important;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease !important;
    border: none !important;
    margin: 0 !important;
}

.axer-toast.show {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.axer-toast .toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.axer-toast .toast-content i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-right: 0 !important;
}

.axer-toast .toast-message {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.axer-toast .toast-close {
    background: rgba(255,255,255,0.2) !important;
    border: none !important;
    width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    color: inherit !important;
    flex-shrink: 0;
    padding: 0 !important;
}

.axer-toast.alert-success { background: #28a745 !important; color: white !important; }
.axer-toast.alert-warning { background: #fd7e14 !important; color: white !important; }
.axer-toast.alert-danger { background: #dc3545 !important; color: white !important; }
.axer-toast.alert-info { background: #17a2b8 !important; color: white !important; }

/* Mobile Report Actions */
@media (max-width: 576px) {
    .report-actions {
        flex-direction: column;
    }
    
    .report-actions .btn,
    .report-actions .export-dropdown {
        width: 100%;
    }
    
    .report-actions .export-dropdown .dropdown-toggle {
        width: 100%;
    }
    
    .export-dropdown .dropdown-menu {
        width: 100%;
    }
    
    .axer-toast {
        top: auto !important;
        bottom: 20px !important;
        left: 16px !important;
        right: 16px !important;
        max-width: none !important;
        transform: translateY(100%) !important;
    }
    
    .axer-toast.show {
        transform: translateY(0) !important;
    }
}
