/* Nowoczesne style dla formularza oceny sklepu */
.store-evaluation-form {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 768px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.store-evaluation-form h2 {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    text-align: center;
    margin-bottom: 15px;
}

.store-evaluation-form h3 {
    font-size: 22px;
    color: #343a40;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.store-evaluation-form .form-section {
    margin-bottom: 30px;
}

.store-evaluation-form .instruction {
    font-size: 15px;
    color: #6c757d;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.store-evaluation-form .question-group {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #dee2e6;
}

.store-evaluation-form .question-group p {
    font-weight: 600;
    font-size: 18px;
    color: #495057;
    margin-top: 0;
    margin-bottom: 20px;
}

.store-evaluation-form label {
    display: block;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

.store-evaluation-form input[type="text"],
.store-evaluation-form input[type="number"],
.store-evaluation-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.store-evaluation-form input[type="file"] {
    margin-top: 5px;
    font-size: 14px;
}

.store-evaluation-form input:focus,
.store-evaluation-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.store-evaluation-form textarea {
    min-height: 100px;
    resize: vertical;
}

.store-evaluation-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 30px;
}

.store-evaluation-form button[type="submit"]:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Style dla gwiazdek */
.star-rating-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    font-size: 2.5em;
    justify-content: center;
}
.star-rating input {
    display: none;
}
.star-rating label {
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}
.star-rating:not(:hover) input:checked ~ label,
.star-rating:hover input ~ label:hover,
.star-rating:hover input ~ label:hover ~ label {
    color: #f5b301;
}

/* Style dla etykiet komentarza i plików */
.comment-label, .file-label {
    margin-top: 15px;
    font-size: 14px;
    color: #6c757d;
}

/* =================================================================== */
/* DODATKI: TK PL/EN (przełącznik języka + 2 kolumny komentarzy)         */
/* =================================================================== */

.os-langbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 10px 0;
    padding: 12px 14px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
}

.os-langbar__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
}

.os-langbar__title strong {
    font-size: 14px;
    color: #343a40;
}

.os-langbar__title span {
    font-size: 13px;
    color: #6c757d;
}

.os-langbar__switch {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.os-lang-btn {
    appearance: none;
    border: 1px solid #ced4da;
    background: #fff;
    color: #343a40;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.os-lang-btn:hover {
    border-color: #007bff;
}

.os-lang-btn.is-active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.os-text--muted {
    color: #6c757d;
}

.os-only { display: none; }
.os-only.is-on { display: inline; }

.os-qtext {
    margin: 0 0 20px 0;
}

.os-qtext__pl,
.os-qtext__en {
    display: none;
}

.os-qtext__pl.is-on,
.os-qtext__en.is-on {
    display: block;
}

.os-comment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

@media (max-width: 740px) {
    .os-langbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .os-langbar__switch {
        width: 100%;
    }
    .os-lang-btn {
        width: 100%;
        text-align: center;
    }
    .os-comment-grid {
        grid-template-columns: 1fr;
    }
}

.os-comment-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.os-comment-box .comment-label {
    margin-top: 0;
}

/* =================================================================== */
/* Style dla Checklisty CHEESE (System 2)                               */
/* =================================================================== */

.cheese-checklist-form h2 {
    color: #8AB434;
}

.cheese-checklist-form h3 {
    border-bottom-color: #FDB913;
}

.question-group-switch {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.question-group-switch p {
    margin: 0;
    padding-right: 20px;
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.4;
    color: #495057;
    font-weight: 500;
}

.switch-field {
    display: flex;
    overflow: hidden;
    flex-shrink: 0;
}
.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
    background-color: #e4e4e4;
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    padding: 12px 25px;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
    min-width: 80px;
}

.switch-field label:hover {
    cursor: pointer;
    background-color: #dcdcdc;
}

.switch-field input:checked + label {
    box-shadow: none;
    color: #ffffff;
}

.switch-field input[value="tak"]:checked + label {
    background-color: #8AB434;
    border-color: #7A9F30;
}
.switch-field input[value="nie"]:checked + label {
    background-color: #D9534F;
    border-color: #C24A46;
}

.switch-field label:first-of-type {
    border-radius: 6px 0 0 6px;
    border-right-width: 0;
}
.switch-field label:last-of-type {
    border-radius: 0 6px 6px 0;
}

/* Crafted with ❤️ by PixelShark.eu */
