/* حاسبة الحقوق العمالية — صفحة مستقلة نظيفة */

.lc-page {
    background: #f4f6f8;
    min-height: calc(100vh - var(--navbar-height, 72px));
    padding: 24px 16px 48px;
}

.lc-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.lc-card {
    background: #fff;
    border-radius: 12px;
    border-top: 4px solid #1a5f7a;
    box-shadow: 0 4px 24px rgba(15, 39, 68, 0.07);
    padding: 28px 24px 32px;
}

@media (min-width: 640px) {
    .lc-page {
        padding: 40px 24px 56px;
    }
    .lc-card {
        padding: 36px 40px 40px;
    }
}

.lc-card__head {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecf0;
}

.lc-card__title {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    font-weight: 800;
    color: #1a5f7a;
    margin: 0 0 6px;
    line-height: 1.4;
}

.lc-card__sub {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.lc-section {
    margin-bottom: 28px;
}

.lc-section__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a5f7a;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef2f6;
}

.lc-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 600px) {
    .lc-grid--2 {
        grid-template-columns: 1fr 1fr;
    }
}

.lc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lc-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lc-hint-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e8f4f8;
    color: #1a5f7a;
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: help;
    border: none;
    padding: 0;
    font-family: inherit;
}

.lc-input,
.lc-select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d9e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.2s;
}

.lc-input:focus,
.lc-select:focus {
    outline: none;
    border-color: #1a5f7a;
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.12);
}

.lc-input.is-error,
.lc-select.is-error {
    border-color: #dc2626;
}

.lc-error {
    font-size: 0.8rem;
    color: #dc2626;
}

.lc-submit {
    width: 100%;
    padding: 14px 20px;
    background: #1a5f7a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    min-height: 48px;
    transition: background 0.2s;
}

.lc-submit:hover {
    background: #154d63;
}

.lc-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* النتيجة */
.lc-result {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 2px solid #e8ecf0;
}

.lc-result__total {
    text-align: center;
    background: #f0f7fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.lc-result__total-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 4px;
}

.lc-result__total-amount {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 800;
    color: #1a5f7a;
}

.lc-result__total-unit {
    font-size: 0.9rem;
    color: #64748b;
}

.lc-result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.lc-result-table th,
.lc-result-table td {
    padding: 10px 8px;
    text-align: right;
    border-bottom: 1px solid #eef2f6;
}

.lc-result-table th {
    color: #64748b;
    font-weight: 600;
    font-size: 0.8rem;
}

.lc-result-table td:last-child {
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.lc-result-table tr.lc-result--note td {
    color: #b45309;
    font-weight: 500;
}

.lc-notes {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 16px;
}

.lc-notes p {
    margin: 0 0 8px;
}

.lc-disclaimer {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.85rem;
    color: #78350f;
    line-height: 1.65;
    margin: 20px 0;
}

.lc-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    background: #fff;
    color: #1a5f7a;
    border: 2px solid #1a5f7a;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    min-height: 48px;
    line-height: 1.4;
    transition: background 0.2s, color 0.2s;
}

.lc-cta:hover {
    background: #1a5f7a;
    color: #fff;
}

.mobile-nav__links a.active {
    color: #1a5f7a;
    font-weight: 700;
}
