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

/* Calculator Container */
.calculator-container {
    max-width: 800px;
    margin: 2rem auto;
}

/* Legal Notice */
.legal-notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.legal-notice p {
    margin: 0;
    color: #856404;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.intro-text {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Info Cards */
.info-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
}

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

.info-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #0077cc;
    font-size: 1.25rem;
}

.info-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.demo-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Preview Form */
.preview-form {
    margin-top: 1rem;
}

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

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

.preview-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.preview-form input:focus {
    outline: none;
    border-color: #0077cc;
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.1);
}

.preview-form input::placeholder {
    color: var(--text-secondary);
}

/* Mock Status Display */
.mock-status-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: #f0f7ff;
    border: 1px solid #0077cc;
    border-radius: 0.5rem;
}

.mock-status-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #0077cc;
    font-size: 1.125rem;
}

.status-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.status-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0077cc;
    margin-bottom: 0.75rem;
}

.status-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.demo-warning {
    font-size: 0.875rem;
    color: #dc2626;
    font-weight: 500;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid #0077cc;
}

/* Requirements List */
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background-color: #f9fafb;
    border-left: 3px solid #0077cc;
    border-radius: 0.25rem;
    color: var(--text-color);
}

/* Steps List */
.steps-list {
    padding-left: 1.5rem;
    margin: 0;
}

.steps-list li {
    padding: 0.75rem 0;
    color: var(--text-color);
    line-height: 1.6;
}

.steps-list li::marker {
    color: #0077cc;
    font-weight: bold;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    background-color: #0077cc;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    background-color: #005fa3;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: #6b7280;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

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

.status-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 0.375rem;
    overflow: hidden;
}

.status-table thead {
    background-color: #0077cc;
    color: white;
}

.status-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
}

.status-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.status-table tbody tr:hover {
    background-color: #f9fafb;
}

.status-table tbody tr:last-child td {
    border-bottom: none;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-item {
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 0.375rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

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

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

/* Ad Slot */
.ad-slot {
    text-align: center;
    padding: 2rem;
    background-color: #f3f4f6;
    border: 1px dashed var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* Responsive Design (Mobile-First) */
@media (min-width: 640px) {
    .calculator-container {
        margin: 3rem auto;
    }

    .info-card {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: row;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

