/* Landlord Notice Generator - Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #1B2A4A;
    border-radius: 4px;
}

/* Form wizard progress bar */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    transform: translateY(-50%);
    z-index: 0;
}

.wizard-progress .progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: #10B981;
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.3s ease;
}

.wizard-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.wizard-step .step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    background: #e5e7eb;
    color: #6b7280;
    transition: all 0.3s ease;
}

.wizard-step.active .step-circle {
    background: #1B2A4A;
    color: white;
}

.wizard-step.completed .step-circle {
    background: #10B981;
    color: white;
}

.wizard-step .step-label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    white-space: nowrap;
}

.wizard-step.active .step-label {
    color: #1B2A4A;
    font-weight: 600;
}

.wizard-step.completed .step-label {
    color: #10B981;
}

/* State grid */
.state-grid a {
    transition: all 0.2s ease;
}
.state-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Notice type cards */
.notice-card {
    transition: all 0.2s ease;
}
.notice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* CTA pulse animation */
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
.cta-pulse {
    animation: pulse-green 2s infinite;
}

/* FAQ accordion */
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
}
.faq-item .faq-icon {
    transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

/* PDF preview container */
.pdf-preview {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.pdf-preview .watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.15);
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #10B981;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}
.toast.success { background: #10B981; }
.toast.error { background: #EF4444; }
.toast.warning { background: #F59E0B; }

/* Print styles */
@media print {
    nav, footer, .no-print { display: none !important; }
    body { font-size: 12pt; }
}

/* Breadcrumbs */
.breadcrumbs a {
    transition: color 0.2s ease;
}
.breadcrumbs a:hover {
    color: #10B981;
}

/* Responsive table */
.responsive-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #10B981;
    outline-offset: 2px;
}

/* Skip to main content */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #1B2A4A;
    color: white;
    padding: 0.5rem 1rem;
    z-index: 100;
}
.skip-link:focus {
    top: 0;
}
