/* =========================================
       Reewall Register - Turquoise Modern UI
       ========================================= */

#register-hero {
    direction: rtl;
    min-height: 680px;
    padding: 65px 15px;
    background:
        radial-gradient(circle at 8% 15%, rgba(20, 184, 166, .12), transparent 30%),
        radial-gradient(circle at 92% 85%, rgba(13, 148, 136, .10), transparent 30%),
        linear-gradient(135deg, #f5fbfa 0%, #ffffff 50%, #f0fdfa 100%);
}

.register-wrapper {
    width: 100%;
    max-width: 500px;
    margin: auto;
}

/* Header */
.register-intro {
    text-align: center;
    margin-bottom: 25px;
}

.register-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    background: linear-gradient(135deg,
            #0f766e,
            #0d9488,
            #14b8a6);
    box-shadow: 0 15px 35px rgba(20, 184, 166, .25);
}

.register-intro h2 {
    margin: 0 0 7px;
    color: #134e4a;
    font-size: 25px;
    font-weight: 800;
}

.register-intro p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* Card */
.register-card {
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(20, 184, 166, .15);
    border-radius: 25px;
    overflow: hidden;
    box-shadow:
        0 25px 65px rgba(15, 118, 110, .11),
        0 5px 20px rgba(0, 0, 0, .04);
    transition: .3s ease;
}

.register-card:hover {
    box-shadow:
        0 30px 75px rgba(15, 118, 110, .15),
        0 5px 25px rgba(0, 0, 0, .05);
}

/* Card Header */
.register-card-header {
    position: relative;
    overflow: hidden;
    padding: 25px 30px;
    color: #fff;
    background: linear-gradient(135deg,
            #0f766e,
            #0d9488,
            #14b8a6);
}

.register-card-header::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    left: -60px;
    top: -95px;
}

.register-card-header::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    right: -35px;
    bottom: -60px;
}

.register-card-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
}

.step-number {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .25);
    font-size: 17px;
    font-weight: 800;
}

.register-card-header h5 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.register-card-header small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
}

/* Body */
.register-card-body {
    padding: 30px;
}

/* Terms */
.register-terms {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 14px 15px;
    border-radius: 13px;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    color: #475569;
    font-size: 12px;
    line-height: 2;
}

.register-terms i {
    color: #0d9488;
    font-size: 17px;
    margin-top: 3px;
}

.register-terms a {
    color: #0f766e;
    font-weight: 800;
    text-decoration: none;
}

.register-terms a:hover {
    color: #14b8a6;
}

/* Form */
.register-form-group {
    margin-bottom: 21px;
}

.register-form-group label {
    display: block;
    margin-bottom: 9px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.register-input {
    width: 100%;
    height: 53px;
    border: 1px solid #d9e8e5;
    border-radius: 13px;
    padding: 0 16px;
    outline: none;
    background: #fbfefe;
    color: #1e293b;
    font-size: 15px;
    transition: .25s ease;
    direction: rtl;
}

.register-input:focus {
    border-color: #14b8a6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .10);
}

.register-input::placeholder {
    color: #94a3b8;
}

.register-input.is-invalid {
    border-color: #ef4444;
    background: #fffafa;
}

.register-error {
    margin-top: 7px;
    color: #dc2626;
    font-size: 12px;
}

/* Buttons */
.register-primary-btn {
    height: 53px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg,
            #0f766e,
            #0d9488,
            #14b8a6);
    box-shadow: 0 9px 23px rgba(20, 184, 166, .20);
    transition: .25s ease;
}

.register-primary-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(20, 184, 166, .28);
}

.register-success-btn {
    height: 53px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg,
            #047857,
            #0d9488,
            #14b8a6);
    box-shadow: 0 9px 23px rgba(13, 148, 136, .20);
    transition: .25s ease;
}

.register-success-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

.register-outline-btn {
    height: 47px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
    background: #fff;
    color: #475569;
    border: 1px solid #d9e8e5;
    transition: .25s ease;
}

.register-outline-btn:hover {
    color: #0f766e;
    border-color: #14b8a6;
    background: #f0fdfa;
}

.register-info-btn {
    height: 53px;
    border: 1px solid #99f6e4;
    border-radius: 13px;
    background: #ecfdf9;
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
    transition: .25s ease;
}

.register-info-btn:hover {
    color: #fff;
    background: #0d9488;
    border-color: #0d9488;
}

/* Footer */
.register-card-footer {
    display: flex;
    gap: 10px;
    padding: 20px 25px;
    background: #f8fdfc;
    border-top: 1px solid #edf5f3;
}

.register-card-footer>* {
    flex: 1;
}

/* OTP */
.otp-wrapper {
    text-align: center;
}

.otp-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border-radius: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    background: #ccfbf1;
    font-size: 27px;
}

.otp-title {
    margin-bottom: 8px;
    color: #134e4a;
    font-size: 16px;
    font-weight: 800;
}

.otp-description {
    margin-bottom: 25px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.9;
}

.otp-input {
    text-align: center;
    direction: ltr;
    letter-spacing: 9px;
    font-size: 22px;
    font-weight: 800;
}

.otp-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.otp-actions>* {
    flex: 1;
}

.otp-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 95px;
    height: 40px;
    margin-top: 15px;
    padding: 0 15px;
    border-radius: 10px;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
    direction: ltr;
}

/* Step Indicator */
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    direction: ltr;
}

.step-item {
    display: flex;
    align-items: center;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dff7f3;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

.step-line {
    width: 45px;
    height: 2px;
    background: #dff7f3;
}

.step-circle.active {
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    box-shadow: 0 5px 14px rgba(20, 184, 166, .25);
}

.step-line.active {
    background: #14b8a6;
}

/* Responsive */
@media (max-width: 575px) {

    #register-hero {
        padding: 40px 12px;
    }

    .register-intro h2 {
        font-size: 22px;
    }

    .register-card {
        border-radius: 20px;
    }

    .register-card-header {
        padding: 22px;
    }

    .register-card-body {
        padding: 23px 20px;
    }

    .register-card-footer {
        padding: 17px;
    }

    .otp-actions {
        flex-direction: column;
    }

    .step-line {
        width: 30px;
    }
}
