/**
 * Annual Leave Calculator Styling - Phase 3B Refinement
 */

.nzws-calculator-container {
    max-width: 600px;
    margin: 30px 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #2c3338;
}

.nzws-calculator-container h2 {
    margin-bottom: 20px;
    font-size: 1.75rem;
    color: #1d2327;
}

.nzws-calculator-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nzws-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .nzws-form-row {
        flex-direction: column;
        gap: 15px;
    }
}

.nzws-form-group {
    flex: 1;
    margin-bottom: 15px;
}

.nzws-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #50575e;
}

.nzws-form-group input,
.nzws-form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 1rem;
    color: #2c3338;
}

.nzws-btn-calculate {
    background-color: #2271b1;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: background 0.2s;
}

.nzws-btn-calculate:hover {
    background-color: #135e96;
}

.nzws-btn-calculate:disabled {
    background-color: #c3c4c7;
    cursor: not-allowed;
}

/* Results UX */
.nzws-results {
    margin-top: 24px;
}

.nzws-summary-card {
    background: #f0f6fa;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.nzws-summary-main {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.nzws-summary-label {
    font-size: 1rem;
    color: #50575e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nzws-summary-value {
    font-size: 3rem;
    font-weight: 800;
    color: #2271b1;
    line-height: 1;
    margin: 8px 0;
}

.nzws-summary-text {
    font-size: 1rem;
    color: #50575e;
    margin: 0;
}

.nzws-breakdown {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 20px;
}

.nzws-breakdown h4 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #1d2327;
}

.nzws-result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f1;
}

.nzws-result-item:last-child {
    border-bottom: none;
}

.nzws-result-value {
    font-weight: 700;
    color: #1d2327;
}

.nzws-seo-footer {
    margin-top: 15px;
    color: #646970;
    font-style: italic;
    line-height: 1.4;
}

.nzws-error {
    margin-top: 20px;
    padding: 12px 16px;
    background-color: #fcf0f1;
    border: 1px solid #d63638;
    border-radius: 4px;
    color: #d63638;
    font-weight: 500;
}

.nzws-loading {
    margin-top: 15px;
    font-weight: 500;
    color: #2271b1;
}

/* SEO Landing Page Content */
.nzws-landing-content {
    margin-top: 40px;
    border-top: 2px solid #f0f0f1;
    padding-top: 30px;
}

.nzws-regional-content {
    margin-bottom: 40px;
}

.nzws-regional-content h3 {
    font-size: 1.4rem;
    color: #1d2327;
    margin-bottom: 15px;
}

.nzws-regional-content p {
    line-height: 1.6;
    color: #50575e;
}

.nzws-faq-section h3 {
    font-size: 1.4rem;
    color: #1d2327;
    margin-bottom: 25px;
}

.nzws-faq-item {
    margin-bottom: 25px;
}

.nzws-faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3338;
    margin-bottom: 10px;
}

.nzws-faq-answer {
    line-height: 1.6;
    color: #50575e;
    margin: 0;
}

/* Breadcrumbs */
.nzws-breadcrumbs {
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.nzws-breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.nzws-breadcrumb-item:after {
    content: "/";
    margin-left: 10px;
    color: #c3c4c7;
}

.nzws-breadcrumb-item:last-child:after {
    content: "";
}

.nzws-breadcrumb-item.active {
    color: #646970;
}

/* Scenarios */
.nzws-scenarios {
    margin-top: 40px;
}

.nzws-scenario-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .nzws-scenario-grid {
        grid-template-columns: 1fr;
    }
}

.nzws-scenario-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 20px;
}

.nzws-scenario-card h5 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #2271b1;
}

.nzws-scenario-card p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Internal Links */
.nzws-internal-links {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f1;
}

.nzws-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.nzws-footer-link {
    font-size: 0.9rem;
    color: #2271b1;
    text-decoration: none;
}

.nzws-footer-link:hover {
    text-decoration: underline;
}

/* Recommendations */
.nzws-recommendations {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f1;
}

.nzws-recommendations h3 {
    font-size: 1.4rem;
    color: #1d2327;
    margin-bottom: 20px;
}

.nzws-recommendation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .nzws-recommendation-grid {
        grid-template-columns: 1fr;
    }
}

.nzws-recommendation-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nzws-recommendation-card h5 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #2271b1;
}

.nzws-recommendation-card p {
    font-size: 0.9rem;
    color: #50575e;
    line-height: 1.5;
    margin-bottom: 15px;
}

.nzws-rec-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1d2327;
    background: #f0f6fa;
    padding: 8px 12px;
    border-radius: 4px;
}

/* Long Weekend Guides */
.nzws-guide-container {
    max-width: 800px;
    margin: 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #2c3338;
}

.nzws-guide-header {
    margin-bottom: 40px;
}

.nzws-guide-header h1 {
    font-size: 2.5rem;
    color: #1d2327;
    margin-bottom: 15px;
    line-height: 1.2;
}

.nzws-lead {
    font-size: 1.25rem;
    color: #50575e;
    line-height: 1.5;
}

.nzws-strategic-alert {
    background: #fff8e5;
    border-left: 4px solid #ffb900;
    padding: 20px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    border-radius: 4px;
}

.nzws-opportunity-list {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.nzws-opportunity-item {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nzws-opportunity-item.high-value {
    border-color: #2271b1;
    background: #f0f6fa;
}

.nzws-opp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.nzws-opp-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #1d2327;
}

.nzws-badge {
    background: #2271b1;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.nzws-opp-meta {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    color: #50575e;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #c3c4c7;
}

.nzws-guide-tips {
    margin-top: 50px;
    background: #f6f7f7;
    padding: 30px;
    border-radius: 8px;
}

.nzws-guide-footer {
    margin-top: 60px;
    text-align: center;
    font-size: 1.1rem;
}

.hidden {
    display: none;
}
