* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            min-height: 100vh;
               display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }

        body::before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            background: rgba(230, 57, 89, 0.1);
            border-radius: 50%;
            top: -150px;
            left: -150px;
                   }

        body::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: rgba(192, 57, 43, 0.08);
            border-radius: 50%;
            bottom: -200px;
            right: -200px;   }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(50px, 50px) scale(1.1); }
        }

        .login-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            max-width: 1000px;
            width: 100%;
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            direction: rtl;
            position: relative;
            z-index: 1;
        }

        /* צד ימין - טופס הלוגין */
        .login-form-side {
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 50px 40px;
            position: relative;
        }

        .login-form-wrapper {
            width: 100%;
            max-width: 420px;
        }

        .logo {
            text-align: center;
            margin-bottom: 40px;
        }

        .logo h1 {
            font-size: 32px;
            color: var(--brand-primary);
            font-weight: 700;
            margin-bottom: 8px;
        }
		
		.logo img {
            width: 200px;
        }

        .logo p {
            color: #666;
            font-size: 14px;
        }

        .welcome-text {
            text-align: center;
            margin-bottom: 32px;
        }

        .welcome-text h2 {
            font-size: 24px;
            color: #1a1a1a;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .welcome-text p {
            color: #666;
            font-size: 14px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-size: 14px;
            font-weight: 500;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper input {
            width: 100%;
            padding: 14px 50px 14px 45px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            font-size: 15px;
            transition: all 0.3s ease;
            background: #ffffff;
            backdrop-filter: blur(10px);
            color: #333;
        }

        .input-wrapper input:focus {
            outline: none;
            border-color: rgba(230, 57, 89, 0.6);
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 0 0 4px rgba(230, 57, 89, 0.1);
        }

        .input-wrapper input::placeholder {
            color: rgba(0, 0, 0, 0.4);
        }

        .input-icon {
			z-index: 99999;
            position: absolute;
            right: 5px;
            top: 5px;
            transform: translateY(-50%);
            color: rgba(230, 57, 89, 0.8);
            font-size: 18px;
        }
		
		 .input-icon.username:before
 {
	    background-image: url(../images/user-icn.png);
		
 }
 		 .input-icon.password:before
 {
	    background-image: url(../images/pass-icn.png);
		
 }
 .input-icon:before
 {
	  
    background-repeat: no-repeat;
    background-position: center center; 
	     background-repeat: no-repeat;
    background-position: center center;
    content: '';
    position: absolute;
    top: 5px;
   
    background-color: var(--brand-primary) ;
    width: 29px;
    height: 29px;
    line-height: 28px;
    border-radius: 50%;
    display: inline-block;
 }
        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            font-size: 14px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .remember-me input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #555;
        }

        .remember-me label {
            color: #555;
            cursor: pointer;
            margin: 0;
        }

        .forgot-link {
            color: #555;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .forgot-link:hover {
            color: var(--brand-primary);
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary) 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(230, 57, 89, 0.4);
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(230, 57, 89, 0.5);
            background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary) 100%);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        /* צד שמאל - תמונת רקע */
        .image-side {
            background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary) 100%);
            position: relative;
            overflow: hidden;
        }

        .image-side::before {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            top: -50px;
            right: -50px;
            animation: float 15s infinite ease-in-out;
        }

        .image-side::after {
            content: '';
            position: absolute;
            width: 150px;
            height: 150px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            bottom: 50px;
            left: 30px;
            animation: float 20s infinite ease-in-out reverse;
        }

        .image-content {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            padding: 60px 40px;
            text-align: center;
            color: white;
        }
		
		.image-content img {
            width: 400px;
        }

        .image-content h1 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 24px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }

        .image-content p {
            font-size: 18px;
            line-height: 1.6;
            opacity: 0.95;
        }

        .version {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: #999;
            font-size: 12px;
        }

        /* Responsive */
      @media (min-width: 1024px) {

    body {
        padding: 20px 10px 0 10px;
        margin: 0 auto;
        max-width: 750px;
        min-width: 750px;
    }
	
}

	  @media (max-width: 968px) {
			
			body::before
			{
				height: unset;
			}
            .login-container {
                grid-template-columns: 1fr;
                max-width: 450px;
                margin: 20px;
                background: rgba(255, 255, 255, 0.35);
            }

            .image-side {
                display: none;
            }

            .login-form-side {
                padding: 40px 30px;
                background: rgba(255, 255, 255, 0.5);
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 15px;
				min-height: 50px;
            }

            .login-container {
                margin: 0;
                border-radius: 20px;
                max-width: 350px;
            }

            .login-form-side {
                padding: 35px 25px;
            }

            .logo h1 {
                font-size: 28px;
            }

            .logo p {
                font-size: 13px;
            }

            .input-wrapper input {
                padding: 13px 50px 13px 42px;
                font-size: 14px;
            }

            .input-icon {
                right: 14px;
                font-size: 16px;
            }

            .submit-btn {
                padding: 15px;
                font-size: 15px;
            }

            .remember-forgot {
                font-size: 13px;
            }
        }
		
		
	.errorMsg {
		color: var(--brand-primary);
	}	
	
	.text-center { text-align: center}
	
	.security-info {
		color: var(--brand-primary);
	}	

/* ========================================
   LTR (Left-to-Right) Support
   Add dir="ltr" to <html> or <body> tag
   ======================================== */

[dir="ltr"] .login-container {
    direction: ltr;
}

[dir="ltr"] body::before {
    left: auto;
    right: -150px;
}

[dir="ltr"] body::after {
    right: auto;
    left: -200px;
}

[dir="ltr"] .input-wrapper input {
    padding: 14px 45px 14px 50px;
}

[dir="ltr"] .input-icon {
    right: auto;
    left: 16px;
}

[dir="ltr"] .image-side::before {
    right: auto;
    left: -50px;
}

[dir="ltr"] .image-side::after {
    left: auto;
    right: 30px;
}

/* LTR Responsive adjustments */
@media (max-width: 480px) {
    [dir="ltr"] .input-wrapper input {
        /* padding: 13px 42px 13px 14px; */
    }
    
    [dir="ltr"] .input-icon {
        right: auto;
        left: 14px;
    }
}
.grecaptcha-badge {
    visibility: hidden;
}