/* Import global CSS variables */
@import url('../../assets/css/global.css');

/* Base styles for the tool container */
.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

h1 {
    font-size: 2.25rem; /* 36px */
    font-weight: 700;
    color: #222;
    text-align: center;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.125rem; /* 18px */
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Card styles */
.info-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.info-card.highlight {
    background-color: #f0f7ff;
    border-color: #0077cc;
    border-width: 2px;
}

.info-card h2 {
    font-size: 1.75rem; /* 28px */
    font-weight: 600;
    color: #222;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* Lists (steps, requirements, documents, benefits) */
.steps-list, .requirements-list, .documents-list, .benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li, .requirements-list li, .documents-list li, .benefits-list li {
    background-color: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.steps-list li:last-child, .requirements-list li:last-child, 
.documents-list li:last-child, .benefits-list li:last-child {
    margin-bottom: 0;
}

.steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: #0077cc;
    color: white;
    font-weight: 700;
    border-radius: 50%;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.steps-list {
    counter-reset: step-counter;
}

.requirements-list li::before, .documents-list li::before, .benefits-list li::before {
    content: '✓';
    background-color: #10b981; /* Green checkmark */
    color: white;
    font-weight: 700;
    border-radius: 50%;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Buttons */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-primary, .btn-secondary {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #0077cc;
    color: white;
}

.btn-primary:hover {
    background-color: #005fa3;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: white;
    color: #0077cc;
    border: 1px solid #0077cc;
}

.btn-secondary:hover {
    background-color: #e0f2fe; /* Light blue hover */
    transform: translateY(-1px);
}

/* Status Table */
.status-table {
    overflow-x: auto;
    margin-top: 1rem;
}

.status-table table {
    width: 100%;
    border-collapse: collapse;
}

.status-table th, .status-table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: left;
    font-size: 0.9375rem;
    color: var(--text-color);
}

.status-table th {
    background-color: #f3f4f6;
    font-weight: 600;
    color: #222;
}

.status-table td strong {
    color: #0077cc;
}

/* Contact Info */
.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-color);
}

.contact-info a {
    color: #0077cc;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Mock Form */
.mock-form {
    margin-top: 1.5rem;
}

.mock-form .form-group {
    margin-bottom: 1rem;
}

.mock-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.mock-form input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 1rem;
    box-sizing: border-box;
}

.mock-status-box {
    background-color: #e0f2fe; /* Light blue background */
    border: 1px solid #90cdf4; /* Blue border */
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.mock-status-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0077cc;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.mock-status-box p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.demo-warning {
    font-size: 0.875rem;
    color: #dc2626;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0;
}

.demo-note {
    font-size: 0.875rem;
    color: #dc2626;
    font-style: italic;
    margin-bottom: 1rem;
}

.legal-notice {
    background-color: #fffbe0; /* Light yellow background */
    border: 1px solid #fcd34d; /* Yellow border */
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #92400e; /* Darker yellow text */
}

.legal-notice p {
    margin: 0;
}

/* Ad Slot */
.ad-slot {
    margin-top: 2rem;
    padding: 1rem;
    text-align: center;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .button-group {
        flex-direction: row;
    }
    .btn-primary, .btn-secondary {
        width: auto;
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .container {
        margin: 3rem auto;
    }
    h1 {
        font-size: 2.5rem;
    }
    .intro-text {
        font-size: 1.25rem;
    }
    .info-card h2 {
        font-size: 2rem;
    }
}

