/* LOGIN FORM */
    .alert{
        font-size: 14px;
    }
    .registerr-section {
        width: 100%;
        padding: 50px 0;
    }

    .registerr-card {
        background: #fcfcfc;
        border: 1px solid #e1e5e9;
        position: relative;
        transition: all 0.3s ease;
        height: 100%;
        width: 100%;
        padding: 50px 100px;
    }

    .registerr-card .registerr-card-logo img {
        display: flex;
        max-width: 150px;
        margin: 0 auto;
    }

    .registerr-header {
        text-align: start;
        margin: 40px 0 30px 0;
    }

    .logo-icon {
        display: inline-block;
        width: 64px;
        height: 64px;
        background: linear-gradient(135deg, #70b0c0, #3b82f6);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: white;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

    .registerr-header h2 {
        color: #232324;
        font-size: 24px;
        letter-spacing: -0.025em;
        font-family: 'Switzer-Medium';
    }

    .registerr-header p {
        color: #64748b;
        font-size: 17px;
        font-weight: 400;
        font-family: var(--default-font);
    }

    .registerr-right-side {
        position: relative;
        overflow: hidden;
        background: #000;

        display: flex;
        height: 100%;
    }

    .video-hero {
        position: absolute;
        inset: 0;

    }

    .video-hero video {
        position: absolute;
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;
        z-index: 2;
        object-fit: cover;
    }

    .registerr-right-side .content {
        position: relative;
        z-index: 2;
    }

    .registerr-side .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.616);
        z-index: 3;
    }
    .registerr-side .overlay img {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: absolute;
        width: 150px;
        align-self: center;
        justify-self: center;
        text-align: center;
    }
    .registerr-side .overlay h3 {

        display: block;
        top: 25px;
        color: #fff;
        white-space: nowrap;
        font-family: 'Switzer-Extralight';
        opacity: 0.7;
        width: 100%;
        position: absolute;
        align-self: center;
        justify-self: center;
        text-align: center;
    }
    .registerr-side .overlay h4 {
        display: block;
        bottom: 25px;
        color: #fff;
        white-space: nowrap;
        font-family: 'Switzer-ExtralightItalic';
        opacity: 0.7;
        width: 100%;
        position: absolute;
        align-self: center;
        justify-self: center;
        text-align: center;
    }

    /* Form Group & Input Styles */
    .regform-group {
        margin-bottom: 24px;
        position: relative;
    }

    .reginput-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .reginput-wrapper input {
        background: #f8fafc;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        /*padding: 16px 16px;*/
        padding: 20px 16px;
        color: #1e293b;
        font-size: 13px;
        transition: all 0.3s ease;
        width: 100%;
        outline: none;
        font-family: var(--default-font);
    }

    .reginput-wrapper input:focus {
        background: #ffffff;
        border-color: #3c7a8d;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

    .reginput-wrapper input:focus+label,
    .reginput-wrapper input:not(:placeholder-shown)+label {
        transform: translateY(-36px) translateX(4px) scale(0.85);
        color: #3c7a8d;
        font-weight: 600;
        background: #ffffff;
        padding: 0 8px;
        gap: 5px;
    }

    .select2-container .select2-selection--single {
        height: 42px !important;
        color: #1e293b !important;
        background: #f8fafc !important;
        border: 2px solid #e2e8f0 !important;
        border-radius: 8px !important;
        font-family: 'Switzer-Regular';
        padding: 13px 16px !important;

        font-size: 14px !important;
        font-family: var(--default-font) !important;

        display: flex !important;
        align-items: center !important;

        transition: all 0.3s ease;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #1e293b !important;
        font-family: 'Switzer-Regular';
        line-height: normal !important;
        padding-left: 0 !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 100% !important;
        right: 10px !important;
    }

    .select2-container--default.select2-container--focus .select2-selection--single,
    .select2-container .select2-selection--single:focus {
        border-color: #3c7a8d !important;
        box-shadow: 0 0 0 3px rgba(60, 122, 141, 0.1) !important;
    }

    /* dropdown container */
.select2-dropdown {
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden;
}

/* svaka opcija */
.select2-results__option {
    padding: 12px 16px !important;

    font-size: 14px;
    font-family: 'Switzer-Regular';

    color: #1e293b !important;

    transition: all 0.2s ease;
}

/* hover */
.select2-results__option--highlighted {
    background: #4e96a9 !important;
    color: #fff !important;
}

/* selected */
.select2-results__option[aria-selected="true"] {
    background: #eef6f8 !important;
    color: #2c5360 !important;
}

/* search input gore */
.select2-search__field {
    border: 2px solid #e2e8f0 !important;
    border-radius: 6px !important;

    padding: 10px !important;

    font-size: 14px !important;

    outline: none !important;
}

/* focus search */
.select2-search__field:focus {
    border-color: #4e96a9 !important;
}

    .reginput-wrapper label {
        position: absolute;
        display: inline-flex;
        align-items: center;
        gap: 15px;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #3c7a8d;
        font-size: 15px;
        font-family: 'Switzer-Light';
        transition: all 0.3s ease;
        pointer-events: none;
        transform-origin: left top;
    }

    .reginput-border {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #70b0c0, #548794);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .reginput-wrapper input:focus~.reginput-border {
        width: 100%;
    }

    .reginput-icon {
        font-size: 18px;
        color: #3c7a8d;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .reginput-wrapper label span {
        line-height: 16px;
    }


    /* Password Toggle */
    .password-wrapper input {
        padding-right: 50px;
    }

    .password-toggle {
        position: absolute;
        top: 50%;
        right: 15px;

        transform: translateY(-50%);

        border: none;
        background: transparent;

        cursor: pointer;

        color: #70b0c0;
        font-size: 18px;

        display: flex;
        align-items: center;
        justify-content: center;

        transition: color 0.2s ease;
    }

    .password-toggle:hover {
        color: #2c5360;
    }

    .toggle-icon {
        display: block;
        width: 18px;
        height: 18px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='1.5'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3e%3c/svg%3e");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: background-image 0.3s ease;
    }

    .password-toggle:hover .toggle-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234e96a9' stroke-width='1.5'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3e%3c/svg%3e");
    }

    .toggle-icon.show-password {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='1.5'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 11-4.243-4.243m4.242 4.242L9.88 9.88'/%3e%3c/svg%3e");
    }

    /* Form Options */
    .form-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 28px;
        flex-wrap: wrap;
        gap: 16px;
    }

    .remember-wrapper {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        
    }

    /* hide default checkbox */
    .remember-wrapper input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        
        position: relative;
        width: 18px;
        height: 18px;
        margin: 0;
        
        border: 2px solid #cbd5e1;
        border-radius: 3px;
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-block;
    }

    /* checked state */
    .remember-wrapper input[type="checkbox"]:checked {
        background-color: #4e96a9;
        border-color: #4e96a9;
    }

    /* checkmark */
    .remember-wrapper input[type="checkbox"]::after {
        content: "";
        position: absolute;
        top: 1px;
        left: 4px;
        width: 4px;
        height: 8px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .remember-wrapper input[type="checkbox"]:checked::after {
        opacity: 1;
    }

    /* label */
    .remember-wrapper label {
        margin-top: 5px;
        cursor: pointer;
        font-size: 14px;
        color: #475569;
        user-select: none;
        transition: color 0.2s ease;
        font-family: 'Switzer-Light';
    }

    .remember-wrapper:hover input[type="checkbox"] {
        border-color: #4e96a9;
    }

    /* focus */
    .remember-wrapper input[type="checkbox"]:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }


    .forgoten-pass a {
        color: #70b0c0;
        font-size: 14px;
        transition: color 0.3s ease;
        position: relative;
    }

    .forgoten-pass a:hover {
        color: #316373;
    }

    /* Login Button */
    .login-btn {
        width: 100%;
        background: #000;
        border: 1px solid #000;
        padding: 10px 0;
        color: white;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .login-btn:hover {
        background: none;
        color: #000;
    }

    .login-btn:active {
        transform: translateY(0);
    }

    /* Loading State */
    .login-btn.loading {
        pointer-events: none;
        background: #94a3b8;
    }

    .btn-text {
        transition: opacity 0.3s ease;
    }

    .btn-loader {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 18px;
        height: 18px;
        border: 2px solid transparent;
        border-top: 2px solid white;
        border-radius: 50%;
        opacity: 0;
        animation: spin 1s linear infinite;
        transition: opacity 0.3s ease;
    }

    .login-btn.loading .btn-text {
        opacity: 0;
    }

    .login-btn.loading .btn-loader {
        opacity: 1;
    }

    /* Divider */
    .divider {
        text-align: center;
        margin: 24px 0;
        position: relative;
    }

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e2e3e6;
        transform: translateY(-50%);
    }

    .divider span {
        background: #ffffff;
        color: #64748b;
        padding: 0 20px;
        font-size: 13px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: relative;
        z-index: 1;
    }

    /* SSO Options */
    .sso-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .loginbuttom {
        background-color: #000;
        color: #fff;
        border: 1px solid #000;
        padding: 10px 0;
        width: 100%;
        font-family: "Helvetica", sans-serif;
        transition: background 0.3s ease-in-out,
            color 0.3s ease-in-out;
    }

    .loginbuttom:hover {
        background-color: #00000000;
        color: #000000;
    }

    .google-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        font-size: 14px;
        background-color: #ffffff;
        border: 1px solid #dfdfdf;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .google-btn a {
        color: #2c5360;
        text-decoration: none;
    }

    .google-btn:hover {
        background-color: #f1f1f1;
    }


    .sso-icon {
        width: 20px;
        height: 20px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .azure-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='%230078d4' d='M13.55 4.615L8.326 15.632 2.11 17.706l14.805-1.923L13.55 4.615zm4.234 12.83L5.813 19.389 12.095 6.85l5.689 10.595z'/%3e%3c/svg%3e");
    }

    .okta-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='%2300297a' d='M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 16c-3.314 0-6-2.686-6-6s2.686-6 6-6 6 2.686 6 6-2.686 6-6 6z'/%3e%3c/svg%3e");
    }

    /* Footer Links */

    .login-footer-links {
        color: #64748b;
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 300;
        transition: color 0.3s ease;
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #e9e9e9;
    }

    .login-footer-links a {
        color: #64748b;
        text-decoration: none;
        font-family: 'Switzer-Light';
    }

    .login-footer-links a:hover {
        color: #293538;
    }

    .login-footer-links span {
        margin: 0 5px;
    }

    .separator {
        color: #cbd5e1;
        margin: 0 8px;
        font-size: 12px;
    }

    /* Error States */
    .error-message {
        color: #dc2626;
        font-size: 12px;
        font-weight: 500;
        margin-top: 6px;
        margin-left: 4px;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        background: rgba(220, 38, 38, 0.05);
        padding: 4px 8px;
        border-radius: 4px;
        border-left: 3px solid #dc2626;
    }

    .error-message.show {
        opacity: 1;
        transform: translateY(0);
    }

    .form-group.error .input-wrapper input {
        border-color: #dc2626;
        background: rgba(220, 38, 38, 0.05);
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }

    /* Success Message */
    .success-message {
        display: none;
        text-align: center;
        padding: 36px 20px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
    }

    .success-message.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .success-icon {
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, #059669, #10b981);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: white;
        margin: 0 auto 20px;
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    }

    .success-message h3 {
        color: #1e293b;
        font-size: 1.375rem;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .success-message p {
        color: #64748b;
        font-size: 15px;
    }


    .regform-referal .input {
    color: #fff;
    font-size: 2.9rem;
    background-color: transparent;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 0.5em;
    padding-block: 0.7em;
    border: none;
    border-bottom: var(--border-height) solid var(--border-before-color);
    }
    /* styling of animated border */
    .regform-referal .input-border {
    position: absolute;
    background: var(--border-after-color);
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    transition: 0.3s;
    }
    /* Hover on Input */
    .regform-referal input:hover {
    background: var(--input-hovered-color);
    }

    .regform-referal input:focus {
    outline: none;
    }
    /* here is code of animated border */
    .regform-referal input:focus ~ .input-border {
    width: 100%;
    }

@media only screen and (max-width: 991px) {

	.registerr-card {
        padding: 50px 30px;
    }
}