/* Journey Cost Calculator styles */

.jcc-calculator {
    max-width: 540px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-family: inherit;
}

.jcc-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.jcc-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.jcc-field input,
.jcc-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d5d7de;
    border-radius: 6px;
    font-size: 15px;
}

.jcc-submit {
    border: none;
    background: #0073aa;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.jcc-submit:hover,
.jcc-submit:focus {
    background: #005f87;
}

.jcc-results {
    margin-top: 25px;
    padding: 15px;
    border-radius: 8px;
    background: #f6f7fb;
    border: 1px solid #e1e4ec;
    min-height: 50px;
}

.jcc-results h3 {
    margin-top: 0;
}

.jcc-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.jcc-result-card {
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e3e4ea;
}

.jcc-result-card span {
    display: block;
    font-size: 13px;
    color: #6b6e76;
}

.jcc-note {
    margin-top: 15px;
    font-size: 13px;
    color: #5c5f66;
}

.jcc-error {
    color: #a8071a;
    background: #fff1f0;
    border: 1px solid #ffa39e;
    border-radius: 6px;
    padding: 12px;
}

/* Page content section */
.jcc-page-content {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e4ec;
}

.jcc-page-content p:last-child {
    margin-bottom: 0;
}

.jcc-page-content h1,
.jcc-page-content h2,
.jcc-page-content h3,
.jcc-page-content h4 {
    margin-top: 0;
}
