/* Driver registration wizard — Iran Bano brand overrides on serviceForm */

.landingHeader.servicePage.driverRegPage > .headerContent .contentSteps {
    grid-template-columns: repeat(3, 1fr);
}

.landingHeader.servicePage.driverRegPage.agentRegPage > .headerContent .contentSteps {
    grid-template-columns: repeat(3, 1fr);
}

.driverRegPage .agentAvatarUpload {
    grid-column: span 12;
    margin-bottom: 8px;
}

.driverRegPage .groupMap .mapSearchBox {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    z-index: 1000;
    max-width: 520px;
    margin-inline: auto;
}

.driverRegPage .groupMap .mapSearchInputWrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 14px;
    padding: 6px 6px 6px 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.driverRegPage .groupMap .mapSearchInputWrap > i {
    color: #e50087;
    flex-shrink: 0;
}

.driverRegPage .groupMap .mapSearchInput {
    flex: 1;
    border: none;
    outline: none;
    height: 38px;
    font-size: 0.9rem;
    background: transparent;
    color: #222;
}

.driverRegPage .groupMap .mapSearchBtn {
    border: none;
    background: #e50087;
    color: #fff;
    border-radius: 10px;
    height: 38px;
    min-width: 72px;
    padding: 0 14px;
    font-size: 0.875rem;
    font-weight: 650;
    cursor: pointer;
}

.driverRegPage .groupMap .mapSearchBtn:disabled {
    opacity: 0.7;
    cursor: default;
}

.driverRegPage .groupMap .mapSearchResults {
    margin-top: 8px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.06);
    max-height: 220px;
    overflow-y: auto;
}

.driverRegPage .groupMap .mapSearchResultItem {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: right;
    border: none;
    background: #fff;
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    color: #333;
    font-size: 0.85rem;
    line-height: 1.5;
}

.driverRegPage .groupMap .mapSearchResultItem:last-child {
    border-bottom: none;
}

.driverRegPage .groupMap .mapSearchResultItem:hover {
    background: #fff5fa;
}

.driverRegPage .groupMap .mapSearchResultItem i {
    color: #e50087;
    margin-top: 3px;
    flex-shrink: 0;
}

.driverRegPage .agentAvatarUpload .uploadThumb {
    color: #e50087;
    background: #fff8fb;
    border-color: #e50087;
}

.driverRegPage .agentContractBox {
    max-height: 260px;
    overflow-y: auto;
    white-space: pre-wrap;
}

.driverRegPage .agentSignatureBlock {
    margin-top: 28px;
}

.driverRegPage .agentSignatureBlock .signatureLabel {
    font-size: 0.9375rem;
    font-weight: 650;
    margin-bottom: 10px;
    color: #333;
}

.driverRegPage .agentSignatureBlock .signatureLabel span {
    color: #e50087;
}

.driverRegPage .agentSignaturePad {
    width: 100%;
    max-width: 420px;
    height: 180px;
    border: 1.5px dashed #f0a0c8;
    border-radius: 16px;
    background: #fff;
    touch-action: none;
    cursor: crosshair;
    display: block;
}

.driverRegPage .signatureClearBtn {
    margin-top: 10px;
    border: none;
    background: transparent;
    color: #e50087;
    font-size: 0.875rem;
    text-decoration: underline;
    cursor: pointer;
}

.driverRegPage .mainRules .alertCheck.checked .checkBox {
    background: #e50087 !important;
    border-color: #e50087 !important;
}

.landingHeader.servicePage.driverRegPage
    > .headerContent
    .contentSteps
    .stepThumb.active::before {
    border-color: #e50087 !important;
}

.landingHeader.servicePage.driverRegPage
    > .headerContent
    .contentSteps
    .stepThumb.active
    .thumbIcon {
    background: #e50087 !important;
}

.landingHeader.servicePage.driverRegPage
    > .headerContent
    .contentSteps
    .stepThumb.active
    .thumbTitle {
    color: #e50087 !important;
}

.driverRegPage .headerMain .mainContainer .containerheader .headerIcon {
    color: #e50087 !important;
    background: #fce4f1 !important;
}

.driverRegPage
    .headerMain
    .mainContainer
    .containerMain
    .mainForm
    .formContainer
    .containerGroup
    .groupInput:hover,
.driverRegPage
    .headerMain
    .mainContainer
    .containerMain
    .mainForm
    .formContainer
    .containerGroup
    .groupTextarea:hover,
.driverRegPage .el-select .el-input__inner:hover {
    border-color: rgba(229, 0, 135, 0.25) !important;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.05),
        0 0 0 3px rgba(229, 0, 135, 0.06);
}

.driverRegPage
    .headerMain
    .mainContainer
    .containerMain
    .mainForm
    .formContainer
    .containerGroup
    .groupInput:focus,
.driverRegPage
    .headerMain
    .mainContainer
    .containerMain
    .mainForm
    .formContainer
    .containerGroup
    .groupTextarea:focus,
.driverRegPage .el-select .is-focus .el-input__inner {
    border-color: #e50087 !important;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 10px 26px rgba(229, 0, 135, 0.15),
        0 0 0 4px rgba(229, 0, 135, 0.18);
}

.driverRegPage .headerMain .mainContainer .containerFooter .footerOption.maionOption {
    background: #e50087 !important;
}

.driverRegPage
    .headerMain
    .mainContainer
    .containerMain
    .mainForm
    .formContainer
    .containerGroup.focused
    .groupLabel,
.driverRegPage
    .headerMain
    .mainContainer
    .containerMain
    .mainForm
    .formContainer
    .containerGroup
    .groupInput:focus
    ~ .groupLabel,
.driverRegPage
    .headerMain
    .mainContainer
    .containerMain
    .mainForm
    .formContainer
    .containerGroup
    .groupTextarea:focus
    ~ .groupLabel {
    color: #e50087 !important;
}

.driverRegPage .el-select-dropdown__item.selected {
    color: #e50087;
}

.driverRegPage .driverAlert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    margin-bottom: 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff5fa 0%, #fce4f1 100%);
    border: 1px solid #f5b6d6;
}

.driverRegPage .driverAlert .alertIcon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    color: #e50087;
}

.driverRegPage .driverAlert .alertIcon i {
    font-size: 1.1rem;
}

.driverRegPage .driverAlert .alertText {
    font-size: 0.9375rem;
    color: #5a3a4a;
    line-height: 1.7;
    padding-top: 6px;
}

.driverRegPage .fileUploadGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    grid-column: span 12;
}

.driverRegPage .fileUploadCard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.driverRegPage .fileUploadCard .cardLabel {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3a3a3a;
}

.driverRegPage .fileUploadCard .cardLabel span {
    color: #e50087;
}

.driverRegPage .fileUploadCard .cardThumb {
    position: relative;
    height: 140px;
    border-radius: 16px;
    border: 1.5px dashed #f0a0c8;
    background: #fff8fb;
    display: grid;
    place-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.driverRegPage .fileUploadCard .cardThumb:hover {
    border-color: #e50087;
    background: #fff0f7;
}

.driverRegPage .fileUploadCard .cardThumb.hasImage {
    border-style: solid;
    border-color: #e5e5e5;
}

.driverRegPage .fileUploadCard .cardThumb input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.driverRegPage .fileUploadCard .cardThumb .thumbPlaceholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #e50087;
    font-size: 0.8125rem;
    pointer-events: none;
}

.driverRegPage .fileUploadCard .cardThumb .thumbPlaceholder i {
    font-size: 1.5rem;
}

.driverRegPage .fileUploadCard .cardThumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.driverRegPage .fileUploadCard .cardRemove {
    position: absolute;
    top: 36px;
    left: 10px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(229, 0, 135, 0.92);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    border: none;
}

.driverRegPage .pelakRow {
    grid-column: span 12;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.75fr) minmax(0, 1.4fr) minmax(0, 0.9fr) 56px;
    align-items: stretch;
    direction: rtl;
    overflow: hidden;
    border: 2px solid #263746;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.driverRegPage .pelakRow > .containerGroup {
    grid-column: auto !important;
    min-width: 0;
    margin: 0;
    border-left: 1px solid #d5dce3;
}

.driverRegPage .pelakRow > .containerGroup .groupInput,
.driverRegPage .pelakRow > .containerGroup .el-input__inner {
    height: 64px !important;
    padding: 24px 6px 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    text-align: center;
    direction: ltr;
    font-size: 1.2rem;
    font-weight: 700;
}

.driverRegPage .pelakRow > .containerGroup .groupLabel {
    top: 14px !important;
    right: 50% !important;
    padding: 0 3px !important;
    transform: translate(50%, -50%) !important;
    white-space: nowrap;
    font-size: 0.7rem !important;
}

.driverRegPage .pelakRow > .containerGroup .groupLabel span {
    color: #e50087;
}

.driverRegPage .pelakRow > .containerGroup .el-select,
.driverRegPage .pelakRow > .containerGroup .el-input {
    width: 100%;
}

.driverRegPage .pelakRow > .containerGroup .el-input__suffix {
    display: none;
}

.driverRegPage .pelakRow .plateCountry {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: #1d5e9f;
    color: #fff;
}

.driverRegPage .pelakRow .plateFlag {
    width: 25px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    background: linear-gradient(to bottom, #239f40 0 33.3%, #fff 33.3% 66.6%, #da0000 66.6% 100%);
}

.driverRegPage .pelakRow .plateCountryCode {
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    direction: ltr;
}

.driverRegPage .authCodeBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 0 8px;
}

.driverRegPage .authCodeBox .authLabel {
    font-size: 1rem;
    font-weight: 650;
    color: #333;
}

.driverRegPage .authCodeBox .authDigits {
    display: flex;
    gap: 12px;
    direction: ltr;
}

.driverRegPage .authCodeBox .authDigits input {
    width: 54px;
    height: 58px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.driverRegPage .authCodeBox .authDigits input:focus {
    outline: none;
    border-color: #e50087;
    box-shadow: 0 0 0 4px rgba(229, 0, 135, 0.18);
}

.driverRegPage .successPanel {
    text-align: center;
    padding: 40px 20px;
}

.driverRegPage .successPanel .successIcon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    background: #fce4f1;
    color: #e50087;
    font-size: 1.75rem;
}

.driverRegPage .successPanel h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.driverRegPage .successPanel p {
    color: #767676;
    font-size: 0.9375rem;
}

@media (max-width: 991px) {
    .driverRegPage .fileUploadGrid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .driverRegPage .headerMain .mainContainer .containerMain .mainForm .formContainer > .containerGroup {
        grid-column: 1 / -1 !important;
        min-width: 0;
    }

    .driverRegPage .headerMain .mainContainer .containerMain .mainForm .formContainer > .pelakRow,
    .driverRegPage .headerMain .mainContainer .containerMain .mainForm .formContainer > .fileUploadGrid {
        grid-column: 1 / -1 !important;
        min-width: 0;
    }
}

@media (max-width: 575px) {
    .driverRegPage .fileUploadGrid {
        grid-template-columns: 1fr;
    }

    .driverRegPage .pelakRow {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.75fr) minmax(0, 1.4fr) minmax(0, 0.9fr) 42px;
    }

    .driverRegPage .pelakRow > .containerGroup .groupLabel {
        font-size: 0.55rem !important;
    }

    .driverRegPage .pelakRow .plateFlag {
        width: 20px;
        height: 13px;
    }

    .driverRegPage .authCodeBox .authDigits input {
        width: 44px;
        height: 48px;
    }
}
