:root {
    --bgPattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%236c757d' fill-opacity='0.025'%3E%3Cpolygon fill-rule='evenodd' points='8 4 12 6 8 8 6 12 4 8 0 6 4 4 6 0 8 4'/%3E%3C/g%3E%3C/svg%3E");

    --bg: #f5f7fa;
    --text: #1e1e1e;
    --textSecond: #5C6670;
    --muted: #7c6f66;
    --border: #e7e5e7;

    --primary: #4361EE ;
    --primary-hover: #a6641d;

    --accent: #1f4fff ;
    --accentHover: #3A0CA3;

    --card-bg: #1e1e1e;
    --cart-bg2: #f0f2f5;
    --input-bg: #fffaf5;

    --badge: #f6e2ed;

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadowHover: 0 4px 50px rgba(0, 0, 0, 0.3);



    --fontLogo: 'Sora';
    --fontMain: 'Inter';

}

a {
    text-decoration: none;
}


.bg-persis1 {
    background-image: var(--bgPattern);
    background-color: var(--bg);
}



.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(50px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* stay on top */
}



/* HTML: <div class="loader"></div> */
.loader {
    width: 80px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 1;
     --c: linear-gradient(#5C6670 0 0);
     --m: radial-gradient(farthest-side,#5C6670 92%,#0000);
    background:
      var(--m) center               /24px 24px,
      var(--c) left 50% top    -40px/16px 32px,
      var(--c) left 50% bottom -40px/16px 32px,
      var(--c) top  50% left   -40px/32px 16px,
      var(--c) top  50% right  -40px/32px 16px;
    background-repeat: no-repeat;
    animation:
      l18-1 1.5s infinite,
      l18-2 1.5s infinite;
}
@keyframes l18-1 {
    30%,
    70% {background-position:
          center,
          left 50% top    calc(50% - 8px),
          left 50% bottom calc(50% - 8px),
          top  50% left   calc(50% - 8px),
          top  50% right  calc(50% - 8px)}
}
@keyframes l18-2 {
    0%, 40%   { transform: translate(-50%, -50%) rotate(0deg); }
    60%, 100% { transform: translate(-50%, -50%) rotate(90deg); }
}




.register {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    min-height: 700px;
    height: max-content;
    border-radius: 20px;
    border: 2px var(--border) solid;
    background-color: var(--bg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    padding-bottom: 30px;
}



.logo {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
}



.signup {
    font-family: var(--fontLogo);
    color: var(--textSecond);
    font-weight: 900;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 2.5rem;
}



.signupText {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 600;
    display: flex;
    justify-content: center;
}



.registerThirdP {
    width: 350px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}



.googleButton {
    width: 350px;
    background-color: var(--bg);
    height: 38px;
    border: 1px var(--text) solid;
    border-radius: 8px;
    color: var(--text);
    font-family: var(--fontMain);
    margin-top: 10px;
    font-size: .9rem;
}


.googleButton:hover {
    background-color: var(--cart-bg2) !important;
    border: 1px var(--text) solid;
    border-radius: 8px;
    color: var(--text);
}


.googleButtonIcon {
    width: 20px;
    height: 20px;
    margin-bottom: 1px;
    margin-right: 3px;
}



.linkedinButton {
    width: 350px;
    background-color: #0077b5;
    height: 38px;
    border: 1px #0077b5 solid;
    border-radius: 8px;
    color: var(--bg);
    font-family: var(--fontMain);
    margin-top: 10px;
    font-size: .9rem;
}


.linkedinButton:hover {
    background-color: var(--accentHover) !important;
    border: 1px var(--accentHover) solid;
    border-radius: 8px;
    color: var(--bg);
}


.linkedinButtonIcon {
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
}


.registerFields {
    width: 350px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.or {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}


.orInner {
    display: flex;
    justify-content: space-between;
    width: 300px;
}


.orHr {
    height: 1px !important;
    width: 100px;
    background-color: var(--textSecond);
    border: none;
    opacity: 1;
    margin-top: .8rem;
}



.orText {
    font-family: var(--fontLogo);
    color: var(--textSecond);
    font-weight: 700;
}




.registerLabel {
    color: var(--text);
    display: block;
    margin-right: auto;
    font-family: var(--fontLogo);
    font-weight: 600;
    font-size: 1rem;
    margin-left: 5px;
    margin-bottom: 2px;
}



.input {
    height: 84px;
}


.registerInput {
    width: 350px;
    height: 40px;
    background-color: var(--bg);
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 400;
    transition: all ease-in-out 0.2s;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    border-radius: 10px;
    outline: none;
    border: 2px var(--border) solid;
    padding-left: 10px;
    padding-right: 10px;
}


.registerInput:focus {
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.registerInputError {
    font-family: var(--fontLogo);
    color: var(--textSecond);
    font-weight: 500;
    font-size: .7rem;
}



.registerButton {
    width: 355px;
    background-color: var(--textSecond);
    color: var(--bg);
    font-family: var(--fontLogo);
    font-weight: 600;
    border: 1px var(--textSecond) solid;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 5px;
}



.registerButton:hover {
    background-color: var(--bg);
    color: var(--accentHover);
    border: 1px var(--accentHover) solid;
}

.alreadyText {
    font-size: .8rem;
    font-family: var(--fontLogo);
    color: var(--textSecond);
    font-weight: 500;
}
















.registerOtp {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    height: max-content;
    border-radius: 20px;
    border: 2px var(--border) solid;
    background-color: var(--bg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    padding-bottom: 30px;
}



.logoOtp {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
}



.signupOtp {
    font-family: var(--fontLogo);
    color: var(--textSecond);
    font-weight: 900;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 2.5rem;
}



.signupTextOtp {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 600;
    display: flex;
    justify-content: center;
}




.otpSection {
    margin-top: 40px;
    width: max-content;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.otp-fields {
    width: max-content;
    margin: 20px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.registerLabelOtp {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 600;
    font-size: .9rem;
    display: flex;
    justify-content: center;
    width: 360px;
    text-align: center;
}



.otp-field {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--fontLogo);
    font-weight: 600;
    width: 46.5px;
    height: 46.5px;
    text-align: center;
    font-size: 20px;
    margin: 0 5px;
    border: 1px solid var(--textSecond);
    border-radius: 10px;
    transition: all ease-in-out 0.3s;
}

.otp-field:focus {
    outline: none;
    box-shadow: var(--shadow);
}



.registerButtonOtp {
    width: 350px;
    background-color: var(--textSecond);
    color: var(--bg);
    font-family: var(--fontLogo);
    font-weight: 600;
    border: 1px var(--textSecond) solid;
    border-radius: 8px;
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}



.registerButtonOtp:hover {
    background-color: var(--bg);
    color: var(--accentHover);
    border: 1px var(--accentHover) solid;
}

























.userTypeSection {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 800px;
    height: max-content;
    min-height: 350px;
    border-radius: 20px;
    border: 2px var(--border) solid;
    background-color: var(--bg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    padding-top: 10px;
}



.logoUserTypes {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 700;
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
}



.userTypes {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
}


.userType1 {
    background-color: var(--bg);
    border-radius: 10px;
    border: 2px var(--border) solid;
    width: 340px;
    height: 200px;
    transition: all ease-in-out 0.3s;
}

.userType2 {
    background-color: var(--bg);
    border-radius: 10px;
    border: 2px var(--border) solid;
    width: 340px;
    height: 200px;
    transition: all ease-in-out 0.3s;
}


.userTypeActive1 {
    cursor: pointer;
    box-shadow: var(--shadowHover);
    border: 1px var(--text) solid;
    .userTypeIcon1 {
        width: 235px;
        height: 235px;
        left: 152.5px;
    }
}

.userTypeActive2 {
    cursor: pointer;
    box-shadow: var(--shadowHover);
    border: 1px var(--text) solid;
    .userTypeIcon2 {
        width: 235px;
        height: 235px;
        right: 22.5px;
    }
}


.userTypeInner {
    display: flex;
}


.userTypeTitle {
    font-family: var(--fontMain);
    color: var(--text);
    font-weight: 600;
    font-size: 1.5rem;
    padding-top: 15px;
    padding-left: 20px;
}


.userTypeIcon1 {
    width: 220px;
    height: 220px;
    position: absolute;
    left: 160px;
    bottom: 80px;
    transition: all ease-in-out 0.3s;
}


.userTypeIcon2 {
    width: 220px;
    height: 220px;
    position: absolute;
    right: 30px;
    bottom: 80px;
    transition: all ease-in-out 0.3s;
}



.userTypesButton {
    width: 200px;
    display: block;
    margin-left: auto;
    margin-top: 20px;
    margin-right: 21px;
    background-color: var(--textSecond);
    font-family: var(--fontSecond);
    font-weight: 600;
    border-radius: 8px;
    color: var(--bg);
}


.userTypesButton:hover {
    background-color: var(--bg);
    color: var(--textSecond);
    border: 1px var(--textSecond) solid;
}


.userTypesButton:disabled {
    background-color: var(--textSecond);
    color: var(--bg);
    cursor: not-allowed;
    opacity: 0.2;
}