:root {
    --primary-color: #06a6f1;
    --secondary-color: #91d7f8;
}

#returno {
    width: 900px;
    margin: 0 auto;
    padding: 30px 0;
    color: #10172b;
    font-size: 15px;
}


#returno .panel-heading {
    text-align: left;
}

#returno .form-group .col-sm-3 {
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: block !important;
}

#returno label {
    text-align: left !important;
}

#returno input.form-control {
    text-align: left !important;
    width: 100%;
    max-width: 100%;
    display: block;
}





/* title */
#returno .page-title {
    text-align: center;
    margin: 30px 0;
}

#returno .page-title h1 {
    font-weight: 700;
}

#returno .page-title p {
    font-weight: 500;
    font-size: 15px;
}

#returno .form-group .control-label {
    max-width: 100%;
}


#returno h3 {
    text-align: left !important;
}


/* cards */
#returno .panel {
    margin: 0 0 30px;
}
#returno .text-right {
  text-align: right !important;
}

#returno .panel-heading {
    background: #f8f9fc;
    padding: 15px 15px !important;
    font-size: 15px;
    font-weight: 600;
}
#returno-agree-text {
    padding-left: 27px;
    margin-top: 10px !important;
    text-align: left !important;
    font-weight: 400 !important;
}
#returno-agree-text input {
    float: left;
    margin-left: -22px;
}

#returno .panel-heading .step {
    float: right;
    opacity: 0.8;
    font-weight: 400;
}

#returno .panel-heading .icon {
    color: var(--primary-color);
}

#returno .panel-info {
    background: #f9fbfc;
    border: none !important;
    color: #2a3139;
    padding: 15px;
}

#returno .panel-info h2 {
    color: #10172b;
    font-size: 20px;
    font-weight: 600;
}

#returno .panel-info strong {
    color: #1a365c;
    font-size: 16px;
    font-weight: 600;
}

/* forms */
#returno label {
    font-size: 14px;
    font-weight: 600;
}

#returno small {
    color: #666;
    font-style: italic;
}

#returno .form-check label {
    font-weight: 400;
    text-align: left;
}

/* buttons / icons */
#returno .btn-icon {
    margin-right: 8px;
}

#returno .btn-icon-2 {
    margin-left: 8px;
}

/* ajax / validation */
#returno .alert-info {
    padding: 5px 10px;
}

#returno .form-control.error {
    border-color: #da4f49;
    padding-right: calc(1.8em + 0.7rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23da4f49'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23da4f49' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.45em + 0.175rem) center;
    background-size: calc(0.9em + 0.35rem) calc(0.9em + 0.35rem);
}

#returno .form-control.error:focus {
    border-color: #da4f49;
    box-shadow: 0 0 0 0.25rem rgba(218, 79, 73, 0.25);
}

#returno .error-text {
    color: #da4f49 !important;
}

/* steps */
#returno .returno-steps {
    --step-width: 125px;
    --circle-size: 46px;
    --line-height: 3px;

    width: 100%;
    max-width: 780px;
    margin: 0 auto 45px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#returno .returno-step {
    width: var(--step-width);
    min-width: var(--step-width);
    text-align: center;
    position: relative;
    z-index: 2;
}

#returno .returno-step-circle {
    width: var(--circle-size);
    height: var(--circle-size);
    margin: 0 auto 11px;
    border-radius: 50%;
    background: #d7dde6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 0 0 6px #eef3f8;
    transition: 0.25s ease;
}

#returno .returno-step-circle span {
    line-height: 1;
}

#returno .returno-step-title {
    color: #10172b;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

#returno .returno-step-line {
    flex: 1;
    height: var(--line-height);
    max-width: 260px;
    margin-top: calc((var(--circle-size) / 2) - (var(--line-height) / 2));
    margin-left: calc((var(--circle-size) - var(--step-width)) / 2);
    margin-right: calc((var(--circle-size) - var(--step-width)) / 2);
    background: #d7dde6;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

#returno .returno-step.is-done .returno-step-circle {
    background: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(145, 215, 248, 0.35);
}

#returno .returno-step.is-done .returno-step-title {
    color: #1a365c;
}

#returno .returno-step-line.is-done {
    background: var(--primary-color);
}

#returno .returno-step.is-active .returno-step-circle {
    background: #1a365c;
    box-shadow: 0 0 0 6px rgba(145, 215, 248, 0.45);
}

#returno .returno-step.is-active .returno-step-title {
    color: #1a365c;
}

#returno .returno-step:not(.is-done):not(.is-active) .returno-step-title {
    color: #8a94a3;
}

/* step 2 products */
#returno .returno-products {
    width: 100%;
}

#returno .returno-products-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 120px 170px;
    gap: 14px;
    align-items: center;
    padding: 0 16px 10px;
    color: #7b8794;
    font-size: 13px;
    font-weight: 600;
}

#returno .returno-col-title {
    text-align: center;
}

#returno .returno-product-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 120px 170px;
    gap: 14px;
    align-items: center;
    padding: 15px 16px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

#returno .returno-product-row:hover {
    border-color: var(--primary-color);
}

#returno .returno-product-row.checked {
    border-color: var(--primary-color);
    background: #f8fbff;
}

#returno .returno-check {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#returno .returno-check input {
    display: none;
}

#returno .returno-check span {
    width: 22px;
    height: 22px;
    display: block;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    position: relative;
}

#returno .returno-check input:checked + span {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

#returno .returno-check input:checked + span::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#returno .returno-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

#returno .returno-product-image {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

#returno .returno-product-image img {
    max-width: 54px;
    max-height: 54px;
    display: block;
}

#returno .returno-product-text {
    min-width: 0;
}

#returno .returno-product-name {
    display: inline-block;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
}

#returno .returno-product-name:hover {
    color: var(--primary-color);
    text-decoration: none;
}

#returno .returno-product-options {
    margin-top: 3px;
    color: #7b8794;
    font-size: 13px;
}

#returno .returno-product-bought {
    text-align: center;
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
}

#returno .returno-qty {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#returno .returno-qty-btn,
#returno .returno-qty input {
    height: 38px;
    border: 1px solid #cbd5e1;
    background: #fff;
}

#returno .returno-qty-btn {
    width: 40px;
    color: #1f2937;
    font-size: 9px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

#returno .returno-qty-btn:first-child {
    border-radius: 8px 0 0 8px;
    margin-right: 1px;
}

#returno .returno-qty-btn:last-child {
    border-radius: 0 8px 8px 0;
    margin-left: 1px;
}

#returno .returno-qty-btn:hover {
    background: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

#returno .returno-qty input {
    width: 48px;
    margin: 0 -1px;
    text-align: center;
    border-left: none;
    border-right: none;
    color: #000;
    font-weight: 500;
    font-size: 15px;
    outline: none;
}

#returno .returno-qty input[type="number"]::-webkit-outer-spin-button,
#returno .returno-qty input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#returno .returno-qty input[type="number"] {
    -moz-appearance: textfield;
}

#returno .returno-qty input:focus {
    position: relative;
    z-index: 2;
    outline: none;
    box-shadow: none;
}

#returno .returno-products-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

#returno .returno-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #475569;
    font-size: 14px;
}

#returno .returno-summary strong {
    color: var(--primary-color);
}

/* step 3 success */
#returno .returno-success {
    max-width: 880px;
    margin: 0 auto 30px;
}

#returno .returno-success-card {
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    margin-bottom: 16px;
}

#returno .returno-success-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 24px 34px;
}

#returno .returno-success-number {
    padding: 0 34px;
}

#returno .returno-success-number:first-child {
    border-right: 1px solid #dbe3ec;
    padding-left: 0px;
}

#returno .returno-success-number span {
    display: block;
    margin-bottom: 8px;
    color: #42526b;
    font-size: 14px;
    font-weight: 500;
}

#returno .returno-success-number strong {
    display: block;
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

#returno .returno-success-products {
    padding: 24px 28px 18px;
}

#returno .returno-success-products h3 {
    margin: 0 0 18px;
    color: #10172b;
    font-size: 18px;
    font-weight: 700;
}

#returno .returno-success-products-head,
#returno .returno-success-product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    align-items: center;
    gap: 16px;
}

#returno .returno-success-products-head {
    padding-bottom: 10px;
    color: #42526b;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

#returno .returno-success-products-head div:last-child {
    text-align: right;
}

#returno .returno-success-product-row {
    min-height: 60px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #10172b;
    font-size: 15px;
}

#returno .returno-success-product-row:last-child {
    border-bottom: none;
}

#returno .returno-success-product-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

#returno .returno-success-product-image {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#returno .returno-success-product-image img {
    max-width: 42px;
    max-height: 42px;
    display: block;
}

#returno .returno-success-product-text {
    min-width: 0;
}

#returno .returno-success-product-name {
    color: #10172b;
    font-weight: 600;
    line-height: 1.3;
}

#returno .returno-success-product-value {
    text-align: right;
    color: #10172b;
    font-weight: 500;
}

/* responsive */
@media (max-width: 1000px) {
    #returno {
        width: 100%;
    }
}

@media (max-width: 767px) {
    #returno .buttons .col-md-6 {
        width: 50%;
        float: left;
    }

    #returno .returno-steps {
        --step-width: 100px;
        --circle-size: 40px;
        --line-height: 2px;

        max-width: 100%;
        margin-bottom: 35px;
        padding: 0 10px;
    }

    #returno .returno-step-circle {
        margin-bottom: 9px;
        font-size: 16px;
        box-shadow: 0 0 0 5px #eef3f8;
    }

    #returno .returno-step.is-done .returno-step-circle {
        box-shadow: 0 0 0 5px rgba(145, 215, 248, 0.35);
    }

    #returno .returno-step.is-active .returno-step-circle {
        box-shadow: 0 0 0 5px rgba(145, 215, 248, 0.45);
    }

    #returno .returno-step-title {
        font-size: 12px;
    }

    #returno .returno-products-head {
        display: none;
    }

    #returno .returno-product-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 12px;
        padding: 18px 14px;
        text-align: center;
    }

    #returno .returno-check {
        order: 1;
        width: 100%;
        justify-content: center;
    }

    #returno .returno-product-info {
        order: 2;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    #returno .returno-product-image {
        width: 62px;
        height: 62px;
        flex: 0 0 62px;
    }

    #returno .returno-product-image img {
        max-width: 52px;
        max-height: 52px;
    }

    #returno .returno-product-text {
        width: 100%;
        text-align: center;
    }

    #returno .returno-product-name {
        font-size: 15px;
        text-align: center;
    }

    #returno .returno-product-options {
        font-size: 13px;
        text-align: center;
    }

    #returno .returno-product-bought {
        order: 3;
        width: 100%;
        text-align: center;
        font-size: 14px;
        color: #475569;
    }

    #returno .returno-product-bought::before {
        content: "Zakoupeno: ";
        font-weight: 600;
        color: #1f2937;
    }

    #returno .returno-qty {
        order: 4;
        width: 100%;
        justify-content: center;
    }

    #returno .returno-products-footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        text-align: center;
    }

    #returno .returno-summary {
        justify-content: center;
        text-align: center;
        gap: 10px 18px;
    }

    #returno .returno-products-footer .btn,
    #returno .returno-products-footer button {
        width: 100%;
    }

    #returno .returno-success {
        max-width: 100%;
    }

    #returno .returno-success-numbers {
        grid-template-columns: 1fr;
        padding: 0;
    }

    #returno .returno-success-number {
        padding: 18px 20px;
        text-align: center;
    }

    #returno .returno-success-number:first-child {
        border-right: none;
        border-bottom: 1px solid #dbe3ec;
    }

    #returno .returno-success-number strong {
        font-size: 21px;
    }

    #returno .returno-success-products {
        padding: 20px 18px 14px;
    }

    #returno .returno-success-products h3 {
        text-align: center;
    }

    #returno .returno-success-products-head {
        display: none;
    }

    #returno .returno-success-product-row {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 16px 0;
        text-align: center;
        min-height: auto;
    }

    #returno .returno-success-product-main {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 9px;
        text-align: center;
    }

    #returno .returno-success-product-image {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    #returno .returno-success-product-image img {
        max-width: 48px;
        max-height: 48px;
    }

    #returno .returno-success-product-name {
        color: var(--primary-color);
        font-size: 15px;
        font-weight: 700;
    }

    #returno .returno-success-product-value {
        text-align: center;
        font-size: 14px;
        color: #475569;
    }

    #returno .returno-success-product-value::before {
        content: "Vrátit: ";
        color: #10172b;
        font-weight: 600;
    }
}

@media (max-width: 575px) {
    #returno label {
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    #returno .returno-steps {
        --step-width: 76px;
        --circle-size: 34px;
        --line-height: 2px;

        margin-bottom: 30px;
        padding: 0;
    }

    #returno .returno-step-circle {
        margin-bottom: 8px;
        font-size: 14px;
        box-shadow: 0 0 0 4px #eef3f8;
    }

    #returno .returno-step.is-done .returno-step-circle {
        box-shadow: 0 0 0 4px rgba(145, 215, 248, 0.35);
    }

    #returno .returno-step.is-active .returno-step-circle {
        box-shadow: 0 0 0 4px rgba(145, 215, 248, 0.45);
    }

    #returno .returno-step-title {
        font-size: 11px;
        line-height: 1.2;
    }

    #returno .returno-product-row {
        padding: 16px 12px;
        border-radius: 9px;
    }

    #returno .returno-check span {
        width: 21px;
        height: 21px;
    }

    #returno .returno-check input:checked + span::after {
        left: 7px;
        top: 3px;
        width: 6px;
        height: 10px;
    }

    #returno .returno-product-image {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
        border-radius: 7px;
    }

    #returno .returno-product-image img {
        max-width: 48px;
        max-height: 48px;
    }

    #returno .returno-product-name {
        font-size: 14px;
        line-height: 1.25;
    }

    #returno .returno-product-options {
        font-size: 12px;
    }

    #returno .returno-product-bought {
        font-size: 13px;
    }

    #returno .returno-qty-btn,
    #returno .returno-qty input {
        height: 36px;
    }

    #returno .returno-qty-btn {
        width: 38px;
    }

    #returno .returno-qty input {
        width: 46px;
        font-size: 14px;
    }

    #returno .returno-products-footer {
        padding: 14px;
    }

    #returno .returno-summary {
        display: block;
        font-size: 13px;
    }

    #returno .returno-summary > * {
        display: block;
        margin-bottom: 6px;
    }

    #returno .returno-summary > *:last-child {
        margin-bottom: 0;
    }

    #returno .returno-success-number strong {
        font-size: 19px;
    }
}