.swr-configurator {
    max-width: 800px;
    margin: 0 auto;
}

.swr-block--dark {
    background: #1b2a38;
    color: #fff;
    text-align: center;
    padding: 14px;
    margin: 20px 0 10px;
}

.swr-block--dark h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.swr-help {
    text-align: center;
    color: #2e7d32;
    font-size: 13px;
    margin: 6px 0;
}

.swr-note {
    font-size: 12px;
    color: #555;
    margin: 10px 0;
}

.swr-select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    background: #eee;
}

.swr-terminations {
    display: flex;
    align-items: center;
    gap: 10px;
}

.swr-terminations select {
    flex: 0 0 180px;
    width: 180px;
}

.swr-terminations__label {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: #333;
}

.swr-diagram {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.swr-diagram__rope {
    flex: 1;
    height: 60px;
    display: flex;
    align-items: center;
}

.swr-diagram__rope svg {
    width: 100%;
    height: 20px;
}

.swr-diagram__rope img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swr-diagram__end {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swr-diagram__end img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swr-length-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.swr-length-hint {
    flex: 1;
    background: #6b8ca3;
    color: #fff;
    font-size: 12px;
    padding: 10px;
    text-align: center;
}

.swr-length-input {
    width: 100px;
    padding: 8px;
    text-align: center;
}

.swr-form-row {
    display: flex;
    gap: 16px;
}

.swr-form-row label {
    flex: 1;
}

#swr-quote-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 10px 0 4px;
}

#swr-quote-form input,
#swr-quote-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    font-weight: normal;
}

.swr-submit-btn {
    display: block;
    width: 100%;
    background: #2ecc71;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 16px;
    cursor: pointer;
}

.swr-submit-btn:hover {
    background: #27ae60;
}

.swr-form-status {
    font-size: 13px;
    margin: 10px 0;
}

.swr-form-status--success {
    color: #2e7d32;
}

.swr-form-status--error {
    color: #c0392b;
}

@media (max-width: 600px) {
    .swr-terminations {
        flex-wrap: wrap;
        justify-content: center;
    }

    .swr-terminations select {
        flex: 0 0 calc(50% - 6px);
        width: calc(50% - 6px);
    }

    .swr-terminations__label {
        flex: 0 0 100%;
        order: -1;
    }

    .swr-diagram__end {
        width: 44px;
        height: 44px;
    }

    .swr-diagram__rope {
        height: 44px;
    }

    .swr-length-row {
        flex-wrap: wrap;
    }

    .swr-length-hint {
        flex: 0 0 100%;
    }

    .swr-length-input {
        flex: 0 0 100%;
        width: 100%;
    }

    .swr-form-row {
        flex-direction: column;
        gap: 0;
    }
}
