/* Custom Login Page Styles */

body.login {
	display: block;
    justify-items: center;
    min-height: 100vh;
    background-color: #fff;
    margin: 0;
    padding: 20px;
}

.custom-login-container {
    display: flex;
    width: 100%;
    max-width: 1300px;
    min-height: 600px;
    background: #fff;
    overflow: hidden;
    padding: 50px;
}

.custom-login-image {
    flex: 1;
    background-image: url('https://learn.rana-academy.site/wp-content/uploads/2025/06/online-learning-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: none; /* Hidden by default, shown in media query */
}

.custom-login-form {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.custom-login-form-inner {
    width: 100%;
    max-width: 80%;
}

#login {
    width: 100%;
    padding: 0;
    margin: 0;
    background: none;
    box-shadow: none;
}

.login h1 a {
    background-image: none;
    width: auto;
    height: auto;
    text-indent: 0;
    color: #2271b1;
    font-size: 24px;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    text-indent: -9999px;
}

/* Form styles */
.login form {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

/* Desktop styles - show image on left */
@media (min-width: 769px) {
    .custom-login-image {
        display: block;
    }
    
    .login form {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .custom-login-container {
        min-height: auto;
        padding:0px;
    }
    
    .custom-login-form {
        padding: 20px;
    }
    .custom-login-form-inner{
    max-width:100%
    }
    .googlesitekit-sign-in-with-google__frontend-output-button{
        margin-bottom: 20px;
        }
    #nav{
    display:grid
    }
    .login form {
        margin-top: 0;
    }
}

#loginform {
border-radius: 8px;
background: #fff !important;
border: 2px solid #AA1945 !important;
}
.language-switcher {
display: none;
}
input[type="text"], input[type="password"], textarea {

  background-color :#fff4f7 !important; 
  background: #fff4f7 !important;

}
  input:-webkit-autofill,
  input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
    color:#fff4f7 !important; 
  }
    #loginform input[type=text], 
  #loginform input[type=password] {
  border: 1px solid #AA1945;
  }
  .wp-core-ui .button-primary {
  background: #AA1945 !important;
  border-color: #AA1945 !important;
  }

#nav a{
    border: 1px solid #AA1945;
    padding: 5px 20px;
    border-radius: 4px;
    background: #fff4f7;
    font-size: 14px;
}

  .googlesitekit-sign-in-with-google__frontend-output-button{
  justify-items: center;
  }