#otp-step-1, #otp-step-2 {
    direction: rtl;
    text-align: right;
}

.colleague-form-box {
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .07);
    padding: 1.5rem;
    border-radius: 15px;
}

.t-btn {
    font-family: inherit;
    height: 54px;
    background-color: #5498fa;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: none;
    outline: none;
}

.text-danger {
    color: #d00;
}

.text-success {
    color: #090;
}

#otp-phone {
    direction: ltr;
}

.field-wrapper {
    margin-bottom: 1rem;
}

.colleague-form-wrapper {
    position: relative;
}

.otp-back-btn {
    cursor: pointer;
    display: none;
    margin-bottom: 1rem;
    color: #000000;
}

.t-text {
    font-size: 14px;
    color: #94a3b8;
    line-height: 2;
    margin-bottom: 15px;
    text-align: justify;
}

.t-text p {
    margin: 0;
}

.colleague-form-wrapper h5 {
    display: block;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.step-2-message {
    font-size: 14px;
    color: #94a3b8;
    line-height: 2;
    margin-bottom: 15px;
    text-align: justify;
}

.colleague-form-wrapper input {
    transition: 0.3s;
    font-family: inherit;
    background: #f1f5f9;
    border-radius: 10px !important;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 54px;
    padding: 0 12px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    outline: none;
}

#otp-code {
    text-align: center;
}

.colleague-form-wrapper input.invalid {
    border-color: #ef4444 !important;
}

.lds-ellipsis,
.lds-ellipsis div {
    box-sizing: border-box;
}

.lds-ellipsis {
    display: flex;
    position: relative;
    width: 80px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.lds-ellipsis div {
    position: absolute;
    top: 19.333px;
    width: 12.333px;
    height: 12.333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

.file-drop {
    position: relative;
    font-family: inherit;
}

.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-drop-inner {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 18px;
    border: 1.5px dashed rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(250, 250, 250, 0.95));
    transition: border-color .18s ease, box-shadow .18s ease, transform .06s ease;
    color: #222;
    user-select: none;
}

.file-drop-inner:hover,
.file-drop-inner:focus {
    border-color: rgba(0, 123, 255, 0.8);
    box-shadow: 0 6px 18px rgba(6, 64, 128, .06);
    transform: translateY(-1px);
    outline: none;
}

.file-drop-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(0, 123, 255, 0.08);
    color: #007bff;
}

.file-drop-text strong {
    display: block;
    font-size: 14px;
}

.file-drop-sub {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.file-preview {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.file-preview-img {
    width: 78px;
    height: 70px;
    object-fit: cover;
    border-radius: 100%;
    box-shadow: 0 2px 4px rgb(0 0 0 / 31%);
}

.file-preview-info {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    width: 100%;
}

.file-name {
    font-size: 13px;
    color: #111;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}

.file-remove {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.file-remove:hover {
    background: rgba(0, 0, 0, 0.03);
}


.t-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;

    > * {
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
    }
}

.t-col-md-6 {
    width:100%;
}

@media only screen and (min-width: 768px) {
    .t-col-md-6 {
        flex: 0 0 auto;
        width: calc(50% - 0.25rem);
    }

    .colleague-form-box {
        padding: 1rem;
    }

    .file-name{
        max-width: 220px;
    }
}