/* LOGIN FORM */
    .alert{
        font-size: 14px;
    }
    .login-section {
        width: 100%;
        padding: 50px 0;
    }

@media and screen (max-width: 991px){

    .login-card {
        padding: 50px 20px !important;
    }

}

    .login-card {
        background: #fcfcfc;
        border: 1px solid #e1e5e9;
        padding: 50px 100px;
        position: relative;
        transition: all 0.3s ease;
        height: 100%;
        width: 100%;
    }

    .login-card .login-card-logo img {
        display: flex;
        max-width: 150px;
        margin: 0 auto;
    }

    .login-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);
    }

    .login-header h2 {
        color: #232324;
        font-size: 24px;
        letter-spacing: -0.025em;
        font-family: 'Switzer-Medium';
    }

    .login-header p {
        color: #64748b;
        font-size: 17px;
        font-weight: 400;
        font-family: var(--default-font);
    }

    .login-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;
    }

    .login-right-side .content {
        position: relative;
        z-index: 2;
    }

    .loginr-side .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.616);
        z-index: 3;
    }
    .loginr-side .overlay img {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: absolute;
        width: 150px;
        align-self: center;
        justify-self: center;
        text-align: center;
    }

    /* Form Group & Input Styles */
    .form-group {
        margin-bottom: 24px;
        position: relative;
    }

    .logininput-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .logininput-wrapper input {
        background: #f8fafc;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        /*padding: 16px 16px;*/
        padding: 28px 16px;
        color: #1e293b;
        font-size: 15px;
        transition: all 0.3s ease;
        width: 100%;
        outline: none;
        font-family: var(--default-font);
    }

    .logininput-wrapper input:focus {
        background: #ffffff;
        border-color: #3c7a8d;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

    .logininput-wrapper input:focus+label,
    .logininput-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;
    }

    .logininput-wrapper label {
        position: absolute;
        display: inline-flex;
        align-items: center;
        gap: 15px;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #3c7a8d;
        font-size: 16px;
        font-family: 'Switzer-Light';
        transition: all 0.3s ease;
        pointer-events: none;
        transform-origin: left top;
    }

    .input-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;
    }

    .logininput-wrapper input:focus~.input-border {
        width: 100%;
    }

    .input-icon {
        font-size: 18px;
        color: #3c7a8d;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logininput-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 .logininput-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;
    }