/*==================================================
RAHBAN TIR
REQUEST PAGE
==================================================*/

.request-page {
    padding: 70px 0 90px;
    background: var(--rt-bg);
    direction: rtl;
}


/*==================================================
REQUEST INTRO
==================================================*/

.rt-request-intro {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.rt-request-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    color: var(--rt-accent);

    font-size: 14px;
    font-weight: 800;
}

.rt-request-intro h1 {
    margin: 0 0 18px;

    color: var(--rt-primary);

    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.3;
}

.rt-request-intro p {
    max-width: 720px;
    margin: 0 auto;

    color: var(--rt-text);

    font-size: 16px;
    line-height: 2;
}


/*==================================================
REQUEST CARD
==================================================*/

.rt-request-card {
    width: 100%;
    max-width: 1050px;

    margin: 0 auto;

    background: var(--rt-white);

    border: 1px solid var(--rt-border);
    border-radius: 20px;

    box-shadow:
        0 15px 45px rgba(14, 42, 71, .08);

    overflow: hidden;
}


/*==================================================
CARD HEADER
==================================================*/

.rt-request-card-header {
    padding: 35px 40px;

    border-bottom: 1px solid var(--rt-border);

    background:
        linear-gradient(
            135deg,
            rgba(14, 42, 71, .035),
            rgba(229, 57, 53, .025)
        );
}

.rt-request-form-label {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--rt-accent);

    font-size: 13px;
    font-weight: 800;
}

.rt-request-card-header h2 {
    margin: 0 0 10px;

    color: var(--rt-primary);

    font-size: 25px;
    font-weight: 800;
}

.rt-request-card-header p {
    max-width: 700px;

    margin: 0;

    color: var(--rt-text);

    font-size: 14px;
    line-height: 1.9;
}


/*==================================================
FORM
==================================================*/

.rt-shipping-request-form {
    width: 100%;
}

.rt-form-section {
    padding: 38px 40px;

    border-bottom: 1px solid var(--rt-border);
}

.rt-form-section:last-of-type {
    border-bottom: 0;
}


/*==================================================
SECTION TITLE
==================================================*/

.rt-form-section-title {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-bottom: 28px;
}

.rt-form-section-title > span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    background: var(--rt-primary);

    color: #fff;

    border-radius: 12px;

    font-size: 13px;
    font-weight: 800;
}

.rt-form-section-title h3 {
    margin: 0 0 5px;

    color: var(--rt-primary);

    font-size: 18px;
    font-weight: 800;
}

.rt-form-section-title p {
    margin: 0;

    color: #777;

    font-size: 13px;
}


/*==================================================
FORM GRID
==================================================*/

.rt-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.rt-form-field-full {
    grid-column: 1 / -1;
}


/*==================================================
FORM FIELD
==================================================*/

.rt-form-field {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.rt-form-field label {
    margin-bottom: 9px;

    color: var(--rt-primary);

    font-size: 13px;
    font-weight: 700;
}

.rt-form-field label span {
    margin-right: 3px;

    color: var(--rt-accent);
}


/*==================================================
INPUT / SELECT / TEXTAREA
==================================================*/

.rt-form-field input,
.rt-form-field select,
.rt-form-field textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid var(--rt-border);
    border-radius: 11px;

    background: #fff;

    color: var(--rt-primary);

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.rt-form-field input,
.rt-form-field select {
    height: 50px;

    padding: 0 15px;
}

.rt-form-field textarea {
    min-height: 145px;

    padding: 14px 15px;

    resize: vertical;

    line-height: 1.9;
}

.rt-form-field input::placeholder,
.rt-form-field textarea::placeholder {
    color: #a0a7ae;
}


/*==================================================
FOCUS
==================================================*/

.rt-form-field input:focus,
.rt-form-field select:focus,
.rt-form-field textarea:focus {

    border-color: var(--rt-accent);

    box-shadow:
        0 0 0 3px rgba(229, 57, 53, .09);

    background: #fff;
}


/*==================================================
ERROR
==================================================*/

.rt-form-field.has-error input,
.rt-form-field.has-error select,
.rt-form-field.has-error textarea {

    border-color: var(--rt-accent);

    box-shadow:
        0 0 0 3px rgba(229, 57, 53, .07);
}

.rt-form-error {
    display: block;

    min-height: 18px;

    margin-top: 5px;

    color: var(--rt-accent);

    font-size: 11px;
}


/*==================================================
INPUT UNIT
==================================================*/

.rt-input-with-unit {
    position: relative;

    width: 100%;
}

.rt-input-with-unit input {
    padding-left: 58px;
}

.rt-input-with-unit span {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: #7d8791;

    font-size: 12px;
    font-weight: 700;

    direction: ltr;
}


/*==================================================
ROUTE
==================================================*/

.rt-form-route {
    position: relative;
}

.rt-route-point {
    display: grid;

    grid-template-columns: 42px minmax(0, 1fr);

    gap: 16px;

    align-items: start;
}

.rt-route-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: rgba(229, 57, 53, .08);

    color: var(--rt-accent);

    border: 1px solid rgba(229, 57, 53, .15);
    border-radius: 50%;

    font-size: 13px;
    font-weight: 800;

    direction: ltr;
}

.rt-route-line {
    width: 2px;
    height: 24px;

    margin: 5px 20px;

    background:
        linear-gradient(
            to bottom,
            var(--rt-border),
            rgba(229, 57, 53, .35)
        );
}


/*==================================================
SUBMIT AREA
==================================================*/

.rt-request-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 30px 40px;

    background:
        linear-gradient(
            135deg,
            rgba(14, 42, 71, .035),
            rgba(229, 57, 53, .04)
        );
}

.rt-request-submit-text {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.rt-request-submit-text strong {
    color: var(--rt-primary);

    font-size: 15px;
    font-weight: 800;
}

.rt-request-submit-text span {
    color: #777;

    font-size: 12px;
    line-height: 1.8;
}

.rt-request-submit-button {
    flex: 0 0 auto;

    height: 54px;

    min-width: 165px;

    padding: 0 28px;

    border: 0;

    background: var(--rt-accent);

    color: #fff;

    border-radius: 12px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(229, 57, 53, .23);

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.rt-request-submit-button:hover {
    background: #C62828;

    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 11px 25px rgba(229, 57, 53, .28);
}

.rt-request-submit-button:active {
    transform: translateY(0);
}


/*==================================================
RESULT
==================================================*/

.rt-request-result {
    display: none;

    margin: 0 40px 30px;

    padding: 14px 18px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.8;
}


/*==================================================
MOBILE
==================================================*/

@media (max-width: 768px) {

    .request-page {
        padding: 45px 0 60px;
    }

    .rt-request-intro {
        margin-bottom: 30px;
        padding: 0 18px;
    }

    .rt-request-intro h1 {
        font-size: 30px;
    }

    .rt-request-intro p {
        font-size: 14px;
        line-height: 2;
    }

    .rt-request-card {
        border-radius: 15px;
    }

    .rt-request-card-header {
        padding: 27px 22px;
    }

    .rt-request-card-header h2 {
        font-size: 21px;
    }

    .rt-form-section {
        padding: 28px 22px;
    }

    .rt-form-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .rt-form-field-full {
        grid-column: auto;
    }

    .rt-form-section-title {
        margin-bottom: 22px;
    }

    .rt-form-section-title > span {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;
    }

    .rt-route-point {
        grid-template-columns: 38px minmax(0, 1fr);

        gap: 12px;
    }

    .rt-route-icon {
        width: 38px;
        height: 38px;
    }

    .rt-route-line {
        margin-right: 18px;
        margin-left: 18px;
    }

    .rt-request-submit {
        flex-direction: column;
        align-items: stretch;

        padding: 25px 22px;
    }

    .rt-request-submit-button {
        width: 100%;

        min-width: 0;
    }

    .rt-request-result {
        margin-right: 22px;
        margin-left: 22px;
    }
}


/*==================================================
SMALL MOBILE
==================================================*/

@media (max-width: 480px) {

    .request-page {
        padding-top: 35px;
    }

    .rt-request-intro h1 {
        font-size: 27px;
    }

    .rt-request-card-header {
        padding: 24px 18px;
    }

    .rt-form-section {
        padding: 25px 18px;
    }

    .rt-request-submit {
        padding: 22px 18px;
    }

    .rt-request-submit-button {
        height: 52px;

        font-size: 14px;
    }
}