body {
    background: linear-gradient(120deg, #ece6fa 0%, #f8fafc 100%);
    min-height: 100vh;
}

.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.register-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* Center horizontally */
}
.heading{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.register-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px 0 rgba(127,0,255,0.10), 0 2px 8px rgba(60,60,120,0.06);
    color: rgb(18, 71, 66);
    border: none;
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 2.2rem 2.2rem 2.2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.register-card::before {
    position: absolute;
    content: "";
    width: 340px;
    height: 340px;
    background-color: rgb(193, 249, 255);
    transform: rotate(45deg);
    left: -180px;
    bottom: 30px;
    z-index: 1;
    border-radius: 30px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.082);
}

.register-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 24px;
    background: transparent !important; /* Ensure no background */
}

.register-visual lottie-player {
    background: transparent !important; /* Remove any background */
    box-shadow: none !important;
    border: none !important;
}

.register-body {
    padding: 0;
    z-index: 2;
    position: relative;
    width: 100%;
}

.heading2 .mb-1,
.register-header,
.text-center.mb-4 h2 {
    text-align: center;
    font-size: 2em;
    font-weight: 700;
    color: rgb(0, 174, 255);
    background: none;
    padding: 0;
    margin-bottom: 0.5rem;
    z-index: 2;
    position: relative;
}

.text-muted {
    color: rgb(75, 141, 182) !important;
    z-index: 2;
    position: relative;
    text-align: center;
}

.user-type-toggle {
    display: flex;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(127,0,255,0.03);
    background: #f4f4f8;
    justify-content: center;
}

.user-type-btn {
    flex: 1;
    padding: 13px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: rgb(18, 71, 66);
    background: transparent;
    border: none;
    font-size: 1rem;
}

.user-type-btn.active {
    background: #ece6fa;
    color: rgb(0, 174, 255);
    font-weight: 700;
}

.user-type-btn:first-child {
    border-right: 1px solid #e0e0e0;
}

.progress {
    height: 18px;
    margin-bottom: 1.2rem;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(127,0,255,0.04);
}

.progress-bar {
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, rgb(0, 174, 255) 0%, rgb(0, 255, 187) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.4s cubic-bezier(.4,2,.6,1), background 0.4s;
    box-shadow: 0 1px 4px rgba(127,0,255,0.08);
    letter-spacing: 1px;
}

.form-label {
    display: block;
    color:rgb(18, 71, 66);
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 600;
}

.form-control, .form-select {
    width: 100%;
    border-radius: 8px;
    border: none;
    border-bottom: 2px solid #adadad;
    outline: 0;
    background-color: #f8f9fa;
    padding: 0.75rem 1rem 0.75rem 2.2rem;
    color: rgb(18, 71, 66);
    font-size: 1.08rem;
    margin-bottom: 1.1rem;
    transition: border-color 0.2s;
    box-shadow: none;
    position: relative;
}

.form-control:focus, .form-select:focus {
    border-color:gb(139, 222, 250);
    background: #f4f0ff;
}

.form-control::placeholder, .form-select::placeholder {
    color: #888;
    font-size: 1em;
    font-weight: 500;
}

.input-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.input-group .form-select {
    max-width: 80px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    height: 48px;
    margin-bottom: 0;
}

.input-group .form-control {
    padding-left: 1rem;
    margin-bottom: 0;
}

.btn-register, form button, #button {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, rgb(0, 174, 255), rgb(0, 255, 187));
    padding: 0.75rem;
    text-align: center;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(127,0,255,0.08);
    text-transform: none;
}

.btn-register:hover, form button:hover, #button:hover {
    background: linear-gradient(90deg, rgb(0, 255, 187), rgb(0, 174, 255));
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 20px rgba(127,0,255,0.10);
    color: #fff;
}

.account-links {
    text-align: center;
    font-size: 0.95rem;
    color: rgb(75, 141, 182);
    margin-top: 18px;
}

.account-links a {
    color: rgb(0, 174, 255);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.account-links a:hover {
    text-decoration: none;
    color:rgb(18, 71, 66);
}

.errorlist {
    color: #d72660;
    font-size: 0.98em;
    margin-bottom: 10px;
    padding-left: 1.2rem;
}

.helptext, .form-text, .text-muted {
    color: #888 !important;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.cont{
    display: flex;
    flex-direction: row;
}

@media (max-width: 600px) {
    .register-card {
        padding: 1.2rem 0.5rem;
        border-radius: 0.5rem;
        max-width: 98vw;
    }
    .register-card::before {
        width: 180px;
        height: 180px;
        left: -80px;
        bottom: 10px;
    }
    .input-group {
        flex-direction: column;
        gap: 0;
    }
}
@keyframes float {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(-8px);}
}

@media (max-width: 991px) {
    .register-card {
        flex-direction: column;
        min-height: unset;
        max-width: 98vw;
    }
    .register-visual, .register-body {
        border-radius: 0;
        min-width: unset;
        padding: 32px 12px;
    }
}

@media (max-width: 600px) {
    .register-body {
        padding: 20px 4px;
    }
}
@media (width>=320px) and (width<=480px){
    .heading{
        display: flex;
        flex-direction: column;
    }
}
