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

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

/* Form Styles */
.calculator-form {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group select {
    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;
    background-color: white;
}

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

/* Button Styles */
.btn-primary {
    width: 100%;
    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;
    display: inline-block;
    text-align: center;
}

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

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

.btn-external {
    margin-top: 1rem;
}

/* Info Box */
.info-box {
    background-color: #f0f7ff;
    border: 1px solid #b3d9ff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* 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;
}

/* 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;
}

/* 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 Info */
.contact-info {
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

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

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

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #0077cc;
    text-decoration: none;
    font-size: 0.875rem;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Error Card */
.error-card {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.error-card h2 {
    color: #c53030;
    margin-top: 0;
}

.error-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* 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;
    }

    .calculator-form {
        padding: 2.5rem;
    }

    .info-card {
        padding: 2rem;
    }
}

