/*
 * VRÁTKY — formulár na vrátenie tovaru (frontend, [formular_vratky]).
 * Farby/fonty/radius nadväzujú na zvyšok e-shopu (checkout.css, moj-ucet.css) —
 * plugin je ale nezávislý od témy, preto si tokeny nesie vlastné (vr-*),
 * nie zdieľané .ck-*/.mu-* triedy z témy.
 */

.vr-wrap {
    width: 100%;
    max-width: 640px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
}

/*-----------HEADER----------------*/
.vr-eyebrow {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 999px;
    background: #F1F1FB;
    color: #2F5FE0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
}
.vr-title {
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
}
.vr-sub {
    font-size: 15px;
    color: #7a7d8a;
    line-height: 1.5;
    margin: 0 0 26px;
}

/*-----------CARD----------------*/
.vr-card {
    background: #fff;
    border: 1px solid #EEF0FA;
    border-radius: 18px;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px -20px rgba(17, 24, 39, .15);
}
@media (max-width: 575px) {
    .vr-card {
        padding: 22px;
        border-radius: 14px;
    }
}

/*-----------NOTICES----------------*/
.vr-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
}
.vr-notice svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}
.vr-notice--error {
    background: #FEF2F2;
    color: #B91C1C;
}
.vr-notice--success {
    background: #DCEEE9;
    color: #12683F;
}
.vr-notice strong {
    display: block;
    margin-bottom: 2px;
}
.vr-notice-code {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.6);
    border-radius: 6px;
    padding: 1px 8px;
    font-weight: 700;
    letter-spacing: .5px;
}

/*-----------FORM----------------*/
.vr-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.vr-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 575px) {
    .vr-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
.vr-field {
    display: flex;
    flex-direction: column;
}
.vr-field label {
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #424654;
    margin-bottom: 7px;
}
.vr-field label .required {
    color: #B91C1C;
}
.vr-field .vr-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #9CA3AF;
}
.vr-form input[type="text"],
.vr-form input[type="date"],
.vr-form input[type="email"],
.vr-form input[type="tel"],
.vr-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #E5E7EB;
    background: #F9F9FB;
    border-radius: 10px;
    padding: 13px 14px;
    font-family: inherit;
    font-size: 15px;
    color: #111827;
    outline: none;
    transition: border-color .15s ease, background-color .15s ease;
}
.vr-form input:focus,
.vr-form textarea:focus {
    border-color: #2F5FE0;
    background: #fff;
}
.vr-form textarea {
    resize: vertical;
    min-height: 110px;
}

/*-----------CHECKBOX (súhlas)----------------*/
.vr-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13.5px;
    color: #424654;
    line-height: 1.5;
}
.vr-checkbox input {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: #2F5FE0;
    flex-shrink: 0;
    cursor: pointer;
}

/*-----------SUBMIT----------------*/
.vr-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: none;
    background: #2F5FE0;
    color: #fff;
    border-radius: 12px;
    padding: 15px;
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease;
    margin-top: 4px;
}
.vr-submit:hover {
    background: #2450c2;
}
.vr-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    color: #9CA3AF;
    font-size: 12px;
}
.vr-secure-note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/*-----------SUCCESS STATE (po odoslaní)----------------*/
.vr-done {
    text-align: center;
    padding: 20px 6px 6px;
}
.vr-done-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #DCEEE9;
    color: #12683F;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.vr-done-icon svg {
    width: 28px;
    height: 28px;
}
.vr-done-title {
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
}
.vr-done-text {
    font-size: 15px;
    color: #424654;
    line-height: 1.6;
    margin: 0;
}
.vr-done-code {
    display: inline-flex;
    align-items: center;
    background: #F1F1FB;
    color: #2F5FE0;
    border-radius: 8px;
    padding: 2px 10px;
    font-weight: 700;
    letter-spacing: .5px;
}
