.repair-page {
    background: #f5f8fd;
    color: #13213b;
    padding-bottom: 34px
}

.repair-hero {
    min-height: 390px;
    background-size: cover;
    background-position: center right;
    border-bottom: 1px solid #e3ebf6
}

.repair-hero-inner {
    min-height: 390px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 560px;
    align-items: center;
    gap: 30px;
    position: relative
}

.repair-hero-copy h1 {
    color: #073aa8;
    font-size: 50px;
    line-height: 1.05;
    font-weight: 600;
    margin-bottom: 24px
}

.repair-hero-copy p {
    max-width: 560px;
    color: #18233d;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 600;
    margin-bottom: 28px
}

.repair-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: 16px 30px;
    max-width: 520px;
    margin-bottom: 30px
}

.repair-checks span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #18233d;
    font-size: 15px;
    font-weight: 600
}

.repair-checks i {
    color: #073aa8;
    font-size: 19px
}

.repair-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px
}

.repair-badges span {
    min-height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600
}

.repair-badges .urgent {
    background: #eaf2ff;
    color: #073aa8;
    border: 1px solid #c9dbfb
}

.repair-badges .day {
    background: #eaf8ef;
    color: #168a45;
    border: 1px solid #bfe8cd
}

.repair-hero-stats {
    align-self: end;
    margin-bottom: 32px;
    background: #fff;
    border: 1px solid #dbe4f2;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(10, 35, 81, .12);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden
}

.repair-hero-stats div {
    min-height: 122px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 18px;
    text-align: center;
    border-right: 1px solid #e6edf7
}

.repair-hero-stats div:last-child {
    border-right: 0
}

.repair-hero-stats i {
    color: #0a4ad2;
    font-size: 30px
}

.repair-hero-stats strong {
    color: #073aa8;
    font-size: 22px;
    line-height: 1;
    font-weight: 600
}

.repair-hero-stats span {
    color: #3f4d68;
    font-size: 12px;
    font-weight: 600
}

.repair-request-card {
    background: #fff;
    border: 1px solid #dbe4f2;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(10, 35, 81, .08);
    margin-top: 28px;
    padding: 26px 30px
}

.repair-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px
}

.repair-form-head h2,
.repair-process h2,
.repair-section-head h2 {
    color: #073aa8;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600
}

.repair-form-head span {
    min-height: 42px;
    border: 1px solid #9dbdff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: #073aa8;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap
}

.repair-form {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.12fr);
    gap: 46px
}

.repair-form-left,
.repair-form-right {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.repair-field,
.repair-machine-group,
.repair-priority {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.repair-field>span:first-child,
.repair-label,
.repair-upload>span {
    color: #1f2d49;
    font-size: 13px;
    font-weight: 600
}

.repair-field b,
.repair-label b {
    color: #d33a2c
}

.input-icon {
    height: 48px;
    border: 1px solid #d5deec;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    background: #fff
}

.input-icon i {
    color: #0a4ad2;
    font-size: 19px
}

.input-icon input,
.machine-grid input[type="text"],
.repair-field textarea {
    width: 100%;
    border: 0;
    outline: 0;
    color: #34435d;
    font-family: inherit;
    font-size: 13px
}

.input-icon input::placeholder,
.machine-grid input[type="text"]::placeholder,
.repair-field textarea::placeholder {
    color: #8b98ad
}

.repair-location-field label {
    display: grid;
    gap: 8px
}

.repair-gps-button {
    width: max-content;
    max-width: 100%;
    min-height: 38px;
    border: 1px solid #bfd0ec;
    border-radius: 6px;
    background: #f7fbff;
    color: #0a4ad2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer
}

.repair-gps-button:hover {
    border-color: #0a4ad2;
    background: #eef5ff
}

.repair-gps-button:disabled {
    cursor: wait;
    opacity: .75
}

.repair-gps-button.is-loading i {
    animation: repair-submit-spin .8s linear infinite
}

.repair-gps-status {
    min-height: 18px;
    margin: -2px 0 0;
    color: #62708a;
    font-size: 12px;
    line-height: 1.45
}

.repair-gps-status.is-success {
    color: #138a4b
}

.repair-gps-status.is-error {
    color: #c0392b
}

.repair-upload-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px
}

.repair-upload-field {
    min-width: 0
}

.repair-upload {
    min-height: 130px;
    border: 1px dashed #9bb0ce;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 16px;
    position: relative
}

.repair-upload strong {
    color: #073aa8;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600
}

.repair-upload strong i {
    font-size: 34px
}

.repair-upload small {
    color: #66758f;
    font-size: 11px;
    font-weight: 500
}

.repair-upload input[type="file"] {
    width: 1px;
    height: 1px;
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.repair-upload-progress {
    height: 6px;
    border-radius: 999px;
    background: #e8eef8;
    margin-top: 10px;
    overflow: hidden
}

.repair-upload-progress span {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #0a4ad2;
    display: block;
    transition: width .25s ease
}

.repair-upload-preview {
    display: grid;
    gap: 10px;
    margin-top: 10px
}

.repair-upload-preview.is-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.repair-upload-preview-item {
    border: 1px solid #dbe4f2;
    border-radius: 6px;
    background: #f8fbff;
    min-width: 0;
    overflow: hidden;
    position: relative
}

.repair-upload-preview-item img,
.repair-upload-preview-item video {
    width: 100%;
    aspect-ratio: 1.1;
    display: block;
    object-fit: cover;
    background: #e8eef8
}

.repair-upload-preview-item.is-video video {
    aspect-ratio: 16 / 9
}

.repair-upload-preview-item span,
.repair-upload-preview-item small {
    display: block;
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.repair-upload-preview-item span {
    color: #1f2d49;
    font-size: 11px;
    font-weight: 600;
    margin-top: 7px
}

.repair-upload-preview-item small {
    color: #66758f;
    font-size: 10px;
    margin: 2px 0 8px
}

.repair-upload-remove {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: rgba(7, 23, 52, .76);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    position: absolute;
    right: 6px;
    top: 6px
}

.repair-upload-message {
    color: #176b3a;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    margin: 8px 0 0
}

.repair-upload-message:empty {
    display: none
}

.repair-upload-message.is-error {
    color: #d33a2c
}

.repair-form-success,
.repair-login-required {
    border: 1px solid #bfe8cd;
    border-radius: 8px;
    background: #eaf8ef;
    color: #146c38;
    margin-bottom: 18px;
    padding: 14px 16px
}

.repair-login-required {
    border-color: #c9dbfb;
    background: #eaf2ff;
    color: #073aa8
}

.repair-form-success strong,
.repair-login-required strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px
}

.repair-form-success p,
.repair-login-required p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0
}

.repair-login-required a {
    min-height: 40px;
    border-radius: 6px;
    background: #073aa8;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600
}

.repair-form-error {
    grid-column: 1 / -1;
    border: 1px solid #ffc5b8;
    border-radius: 6px;
    background: #fff0ec;
    color: #b42318;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
    padding: 10px 12px;
    text-align: center
}

.machine-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 28px;
    align-items: center
}

.machine-grid label,
.repair-priority label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #2c3952;
    font-size: 13px;
    font-weight: 500
}

.machine-grid input[type="checkbox"],
.repair-priority input {
    width: 17px;
    height: 17px;
    accent-color: #073aa8;
    flex: 0 0 auto
}

.machine-grid input[type="text"] {
    height: 42px;
    border: 1px solid #d5deec;
    border-radius: 6px;
    padding: 0 12px
}

.repair-field textarea {
    min-height: 144px;
    border: 1px solid #d5deec;
    border-radius: 6px;
    resize: vertical;
    padding: 14px;
    line-height: 1.5
}

.repair-priority {
    gap: 14px
}

.repair-priority em {
    border-radius: 4px;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    padding: 4px 7px
}

.urgent-tag {
    color: #d33a2c;
    background: #fff0ec;
    border: 1px solid #ffc5b8
}

.day-tag {
    color: #0a4ad2;
    background: #edf4ff;
    border: 1px solid #b9cffb
}

.plan-tag {
    color: #168a45;
    background: #eaf8ef;
    border: 1px solid #bfe8cd
}

.repair-submit {
    grid-column: 1 / -1;
    min-height: 54px;
    border: 0;
    border-radius: 5px;
    background: #073aa8;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(10, 51, 161, .24);
    cursor: pointer
}

.repair-submit i {
    font-size: 25px
}

.repair-submit:disabled {
    cursor: wait;
    opacity: .86
}

.repair-submit.is-loading i {
    animation: repair-submit-spin .8s linear infinite
}

@keyframes repair-submit-spin {
    to {
        transform: rotate(360deg)
    }
}

.repair-note {
    color: #66758f;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.45;
    margin: 12px 0 0
}

.repair-process {
    padding: 34px 0 30px
}

.repair-process h2 {
    text-align: center;
    margin-bottom: 22px
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 54px;
    position: relative
}

.process-grid article {
    min-height: 126px;
    background: #fff;
    border: 1px solid #dbe4f2;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(10, 35, 81, .04);
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 20px 24px;
    position: relative
}

.process-grid article:not(:last-child)::after {
    content: '';
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    width: 30px;
    border-top: 2px dashed #0a4ad2
}

.process-grid span {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #073aa8;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600
}

.process-grid i {
    color: #073aa8;
    font-size: 58px;
    justify-self: center
}

.process-grid h3 {
    color: #073aa8;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px
}

.process-grid p {
    color: #3f4d68;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 500
}

.repair-techs {
    padding-bottom: 8px
}

.repair-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px
}

.repair-section-head a {
    color: #073aa8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600
}

.repair-tech-wrap {
    position: relative
}

.repair-tech-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px
}

.repair-tech-card {
    background: #fff;
    border: 1px solid #dbe4f2;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(10, 35, 81, .05);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px
}

.repair-tech-main {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px
}

.repair-tech-photo {
    position: relative;
    height: 136px;
    border-radius: 6px;
    overflow: hidden;
    background: #edf2f8
}

.repair-tech-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.repair-tech-photo span,
.repair-tech-photo b {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #27ae60;
    border: 3px solid #fff
}

.repair-tech-photo span {
    top: 8px;
    left: 8px
}

.repair-tech-photo b {
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px
}

.repair-tech-card h3 {
    color: #17213b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 6px
}

.repair-tech-vip {
    display: flex;
    margin: -2px 0 7px
}

.repair-tech-vip .smm-technician-vip-badge {
    min-height: 22px;
    padding: 0 8px;
    font-size: 10px
}

.repair-rating {
    color: #17213b !important;
    font-size: 12px !important;
    margin-top: 0 !important
}

.repair-rating span {
    color: #ff9f0a
}

.repair-rating small {
    display: block;
    color: #596174;
    font-weight: 500;
    margin-top: 2px
}

.repair-tech-card p {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #596174;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
    margin-top: 7px
}

.repair-tech-card p i {
    color: #c24c64;
    font-size: 14px;
    margin-top: 1px
}

.repair-tech-card .skill {
    display: block;
    color: #17213b;
    font-size: 12px;
    font-weight: 600
}

.repair-tech-card .status {
    color: #18a558;
    font-weight: 600
}

.repair-tech-card .status i {
    color: #18a558
}

.repair-tech-card>a {
    min-height: 38px;
    margin-top: auto;
    border-radius: 5px;
    background: #073aa8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(10, 51, 161, .18)
}

.repair-slider-btn {
    position: absolute;
    top: 50%;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #073aa8;
    border: 1px solid #dbe4f2;
    box-shadow: 0 8px 20px rgba(10, 35, 81, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    z-index: 2
}

.repair-slider-btn.left {
    left: -18px
}

.repair-slider-btn.right {
    right: -18px
}

.repair-slider-btn:disabled {
    opacity: .35;
    cursor: not-allowed
}

@media (max-width: 1199px) {
    .repair-hero-inner {
        grid-template-columns: 1fr;
        padding: 40px 0
    }

    .repair-hero-stats {
        align-self: auto;
        max-width: 620px;
        margin-bottom: 0
    }

    .repair-form {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .machine-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .process-grid {
        gap: 18px
    }

    .process-grid article:not(:last-child)::after {
        display: none
    }

    .repair-tech-track {
        display: flex;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory
    }

    .repair-tech-card {
        flex: 0 0 330px;
        scroll-snap-align: start
    }
}

@media (max-width: 767px) {
    .repair-hero,
    .repair-hero-inner {
        min-height: auto
    }

    .repair-hero {
        background-position: center
    }

    .repair-hero-inner {
        padding: 26px 12px 22px
    }

    .repair-hero-copy h1 {
        font-size: 28px;
        line-height: 1.12;
        margin-bottom: 14px
    }

    .repair-hero-copy p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 18px
    }

    .repair-checks {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 18px
    }

    .repair-checks span {
        font-size: 13px
    }

    .repair-checks i {
        font-size: 17px
    }

    .repair-badges {
        gap: 9px
    }

    .repair-badges span {
        width: 100%;
        justify-content: center;
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px
    }

    .repair-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        margin-top: 8px
    }

    .repair-hero-stats div {
        min-height: 86px;
        gap: 5px;
        padding: 12px 6px;
        border-right: 1px solid #e6edf7;
        border-bottom: 0
    }

    .repair-hero-stats div:last-child {
        border-right: 0
    }

    .repair-hero-stats i {
        font-size: 23px
    }

    .repair-hero-stats strong {
        font-size: 16px
    }

    .repair-hero-stats span {
        font-size: 10px;
        line-height: 1.3
    }

    .repair-request-card {
        margin-top: 18px;
        padding: 16px;
        border-radius: 10px
    }

    .repair-form-head {
        align-items: flex-start;
        flex-direction: column
    }

    .repair-form-head h2,
    .repair-process h2,
    .repair-section-head h2 {
        font-size: 18px
    }

    .repair-upload-row,
    .machine-grid,
    .process-grid {
        grid-template-columns: 1fr
    }

    .repair-upload-preview.is-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .machine-grid {
        gap: 12px
    }

    .repair-submit {
        min-height: 48px;
        font-size: 15px
    }

    .process-grid article {
        grid-template-columns: 56px minmax(0, 1fr);
        padding: 18px 16px
    }

    .process-grid i {
        font-size: 42px
    }

    .repair-section-head {
        align-items: flex-start;
        flex-direction: column
    }

    .repair-tech-card {
        flex-basis: 300px
    }

    .repair-tech-main {
        grid-template-columns: 100px minmax(0, 1fr)
    }

    .repair-tech-photo {
        height: 122px
    }

    .repair-slider-btn {
        display: none
    }
}

@media (max-width: 359px) {
    .repair-hero-stats {
        grid-template-columns: 1fr
    }

    .repair-hero-stats div {
        border-right: 0;
        border-bottom: 1px solid #e6edf7
    }

    .repair-hero-stats div:last-child {
        border-bottom: 0
    }
}

.repair-location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.repair-location-grid select {
    width: 100%;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: inherit;
    outline: 0;
}

@media (max-width: 640px) {
    .repair-location-grid {
        grid-template-columns: 1fr;
    }
}
