/* Enhanced LocalTaxCut.com Styles - Content Preserving */
/* Builds on existing pure-styles.css with visual enhancements */


/* ===== ENHANCED VISUAL COMPONENTS (SITE-WIDE) ===== */

/* Enhanced Property Lookup Card */
.lookup-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.lookup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Enhanced Content Cards */
.enhanced-content-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Enhanced Problem/Solution Alerts */
.problem-alert {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid #ef4444;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.problem-alert:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.15);
}

.success-highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #22c55e;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.success-highlight:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

/* Enhanced Step Cards */
.step-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
}

/* Enhanced Appeal Process Cards */
.appeal-process-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.process-stage {
    padding: 2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.process-stage:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

/* Enhanced Timeline Table */
.timeline-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.timeline-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    transform: translateX(8px);
}

/* ===== NEW STYLES FOR RESULTS PAGE (v20.0.0) ===== */

/* Main Results Wrapper */
.results-wrapper {
    background-color: #f8fafc; /* A very light gray, almost white */
    border-radius: var(--radius-3xl);
    padding: var(--space-8) var(--space-6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
}
@media(min-width: 768px) {
    .results-wrapper {
        padding: var(--space-12) var(--space-10);
    }
}

/* Stylized Information Card (Core Component) */
.stylized-info-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.stylized-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(199, 210, 224, 0.9);
    background: white;
}

.stylized-info-card .card-label {
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-1);
    transition: color var(--transition-fast);
}

.stylized-info-card:hover .card-label {
    color: var(--blue-600);
}

.stylized-info-card .card-value {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.3;
}

/* Section Styling */
.results-section {
    background: linear-gradient(145deg, #f9fafb, #f1f5f9);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.results-section-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--gray-200);
}

.results-section-header .header-icon-container {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-500), var(--purple-500));
    color: white;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Assessment Summary Section */
.summary-hero-card {
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--purple-50) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    border: 1px solid var(--blue-100);
    box-shadow: var(--shadow-lg);
}

.summary-stat {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.summary-stat:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.summary-stat.important-stat {
    background: var(--blue-100);
    border-color: var(--blue-200);
}

.summary-stat .stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: var(--space-2);
}

.summary-stat.important-stat .stat-label {
    color: var(--blue-800);
    font-weight: 600;
}

.summary-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.summary-stat.important-stat .stat-value {
    color: var(--blue-900);
}

/* Factors Analysis Section */
.factor-section {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.factor-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
}

.factor-title.positive-title {
    color: var(--green-700);
    border-bottom: 2px solid var(--green-200);
}

.factor-title.negative-title {
    color: var(--red-700);
    border-bottom: 2px solid var(--red-200);
}

.factor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    transition: background-color var(--transition-fast);
}

.factor-item:hover {
    background-color: var(--gray-50);
}

.factor-item.factor-positive {
    background-color: #f0fdf4; /* green-50 */
    border-left: 4px solid var(--green-500);
}
.factor-item.factor-positive:hover {
    background-color: #dcfce7; /* green-100 */
}

.factor-item.factor-negative {
    background-color: #fef2f2; /* red-50 */
    border-left: 4px solid var(--red-500);
}
.factor-item.factor-negative:hover {
    background-color: #fee2e2; /* red-100 */
}

.factor-item .factor-name {
    font-weight: 500;
    color: var(--gray-800);
}

.factor-item .factor-value {
    font-weight: 700;
    font-size: 1.125rem;
}

.factor-item.factor-positive .factor-value {
    color: var(--green-600);
}

.factor-item.factor-negative .factor-value {
    color: var(--red-600);
}

/* Enhanced Loading Animation Styles */
#loadingIndicator {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 400px;
    margin: 2rem auto;
}

.loading-content {
    text-align: center;
}

.loading-spinner-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.loading-spinner {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 4px solid #e5e7eb;
    border-radius: 50%;
}

.loading-spinner-animated {
    border-top-color: #3b82f6;
    border-right-color: #8b5cf6;
    animation: spin 1.5s linear infinite;
}

.loading-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.loading-subtext {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.loading-steps {
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
}

.loading-step {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    opacity: 0.4;
    font-size: 0.875rem;
}

.loading-step.active {
    opacity: 1;
    color: #3b82f6;
    font-weight: 600;
}

.loading-step.completed {
    opacity: 0.7;
    color: #22c55e;
}

.loading-step-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.loading-step.active .loading-step-icon {
    background: #3b82f6;
    color: white;
}

.loading-step.completed .loading-step-icon {
    background: #22c55e;
    color: white;
}

.loading-step.completed .loading-step-icon::after {
    content: '✓';
    font-size: 0.625rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

