/* General Styles for the Login Page */

body {
    margin: 0;
    padding: 0; /* Optional: Reset padding as well */
}

body.login {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: stretch;  /* Ensure both halves take full height */
    background: #fff;
}
.error-message {
    color:red;
    justify-items: center;
}
.error {
        margin: 0;
}
/* Split-screen layout: Container */
.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Half: Full-Height Background Image */
.login-left {
    width: 50%;
    background: url('https://yourimage.com/background.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

/* Centered Overlay Text on the Image */
.login-left .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: 'Arial', sans-serif;
}

.login-left .overlay h2 {
    font-family: 'Playfair Display', serif;'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 10px;
}

.login-left .overlay p {
    font-size: 18px;
    max-width: 300px;
}

/* Right Half: Login Form Area */
.login-right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

/* Login Form Container */
#loginform {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds space between form elements */
}

/* Adjust Login Form Appearance */
#login {
    border: none;
    box-shadow: none;
    background-color: transparent;  /* Removes background */
    padding: 0;
    width: 80%;
    max-width: 400px;
}

/* Input Fields Styling */
.form-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 12px;
    box-sizing: border-box;
}

.form-group input[type="submit" i] {
    background-color: #7b5cf5;
    color: white;
    border-radius: 30px;
    font-size: 1em;
}

.form-group input[type="submit" i]:hover {
    background-color: #7c3aed;
}

/* Adjust logo size while maintaining aspect ratio */
.login-logo {
    width: 120px;  /* Set the desired width */
    height: auto;  /* Maintain aspect ratio */
    margin: 10px 0;  /* Add space above and below */
    display: block;  /* Center the logo */
    margin-left: auto;
    margin-right: auto;
}

/* Input Placeholder Styling */
body.login input::placeholder {
    color: #AAAAAA;
    font-size: 1em;
}

/* Focus Effect for Input Fields */
body.login input:focus {
    border-color: #8b5cf6;
    transition: border-color 0.3s;
}

/* Remember Me Checkbox Alignment */
.remember-me-container {
    display: flex;
    align-items: center;
    margin-top: 5px;
    font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9em;
}


/* Social Login Buttons */
.social-login {
    display: block;
    justify-content: space-around;
    margin-top: 20px;
}

.social-login img {
    width: 30px;
    height: 30px;
}

/* MiniOrange Social Login Icons */
body.login .mo-openid-app-icons {
    display: grid;
    justify-content: space-around;
    margin-top: 10px;
    margin-bottom: 6px;
}

body.login .mo-openid-app-icons img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: transform 0.2s;
}

body.login .mo-openid-app-icons img:hover {
    transform: scale(1.1);
}

/* Footer Links Alignment */
.login #nav,
.login #backtoblog {
    margin-top: 15px;
    text-align: center;
}

.login #nav a,
.login #backtoblog a {
    color: #8b5cf6;
    text-decoration: none;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    text-decoration: underline;
}

/* Hide Labels (e.g., Username/Password labels) */
body.login label {
    display: none;
}

/* Text below the logo */
.welcome-header {
    font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    color: #000;
    display: grid;
    align-self:center;
    text-align:-webkit-center;
}

/* Text below the logo */
.welcome-header h4 {
    margin: 0;
    font-size: 20px;
    font-weight: normal;
   
    align-self: center;
}

.welcome-header p {
    font-size: 14px;
}

/* Signup link styling */
.welcome-header .signup-link {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: bold;
}

.welcome-header .signup-link:hover {
    text-decoration: underline;
}

/* Forgot Password Link */
.forgot-password {
    font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    margin:0;
}

.forgot-password a {
    color: #8b5cf6;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Separator Styling */
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    width: 100%;  /* Ensure it takes full width */
}

.separator::before,
.separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
    margin: 0 10px;
}
.separator span {
    font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #555;
    padding: 0 10px;  /* Add padding around the text */
}

/* miniOrange Social Icons */
.mo-openid-app-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    margin-bottom: 6px; 
}

.mo-openid-app-icons img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 5px;
    box-sizing: border-box;
}

.mo-openid-app-icons img:hover {
    transform: scale(1.1);
}

/* Back to Homepage Link */
.back-to-home {
    font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    margin-top: 10px;
}

.back-to-home a {
    color: #888;
    text-decoration: none;
}

.back-to-home a:hover {
    text-decoration: underline;
}

/* Submit Button Styling */
.button-primary {
    background-color: #8b5cf6;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px;
    width: 100%;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-primary:hover {
    background-color: #7c3aed;
}

.satek-oauth-login-btns{
   
    display: flex;
    justify-content: space-around;
    gap: 30px; /* Add some spacing between buttons */
    margin-top: 15px;
    text-align: -webkit-center;
}
.satek-oauth-button {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between the icon and text */
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s;
    text-decoration: none;
    color: black;
    font-weight: 500;
    width: 140px;
    justify-content: center;
  
}


/* Button Styling */
.satek-oauth-microsoft-button,
.satek-oauth-linkedin-button,
.google-login-button{
    display: grid;
    align-items: center;    
    padding: 4px 4px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s;
    text-decoration: none;
    color: black;
    font-weight: 500;
    justify-content: center;
    width: 25px;
    margin-bottom: 10px;
    height:25px;
    align-content: center;
}

.satek-oauth-microsoft-button:hover,
.satek-oauth-linkedin-button:hover {
    background-color: #f5f5f5;
}

/* Icon Styling */
.satek-oauth-microsoft-icon,
.satek-oauth-linkedin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    overflow: hidden;
}

/* SVG Icon Sizing */
.satek-oauth-microsoft-icon svg,
.satek-oauth-linkedin-icon svg, 
.google-login-icon svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
}
.oauth-text{
    font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px ;
}

.terms-text {
    font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    color: black;
    margin-top: 15px;
    margin-bottom: 0;
    line-height: 1.5;
}

.terms-link {
    font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    color: #8b5cf6; /* Purple color */
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}


.oauth-text {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    line-height: 1;
    white-space: nowrap; /* Prevents the text from wrapping */
}

.satek-oauth-login-btns .mobile-text {
    display: none;
}

.satek-oauth-login-btns .google-login {
    align-self: self-end;
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
    .oauth-text{
        display: none;
    }
    
    .satek-oauth-login-btns .mobile-text {
        display: inline; /* Show text on mobile */
    }
     .satek-oauth-login-btns {
        flex-direction: column;
        width: 100%;
    }

    .satek-oauth-login-btns div {
        width: 100%; /* Full width on mobile */
        justify-content: flex-start; /* Align text to the left */
        padding: 5px 0px; /* Increase padding */
        font-size: 16px;
        text-align: center;
    }

    /* Icon styling on mobile */
    .satek-oauth-login-btns div span {
        margin-right: 10px; /* Space between icon and text */
    }
    
    .login-container {
        height: inherit;
    }

    .login-left {
        display:none;
    }

    .login-right {
        width: 100%;
        height: auto;
    }

    /* Ensure login form fits */
    #loginform {
        width: 100%;
        max-width: 90%;
        padding: 1em;
    }

    /* Adjust button sizes */
    .button-primary {
        font-size: 14px;
        padding: 10px;
    }

    /* Make social login buttons bigger */
    .satek-oauth-login-btns {
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }

    /* Center logo and text */
    .welcome-header {
        text-align: center;
    }

    /* Reduce font sizes */
    .welcome-header h4 {
        font-size: 18px;
    }

    .form-group input {
        padding: 14px;
        font-size: 14px;
    }

    .forgot-password,
    .terms-text {
        font-size: 12px;
    }
    
    /* Button Styling */
    .satek-oauth-microsoft-button,
    .satek-oauth-linkedin-button,
    .google-login-button{    
        display: flex;
        width: -webkit-fill-available;
        padding: 1em;
        margin: 0;
    }
    .satek-oauth-login-btns .google-login {
        align-self: auto;
    }

}





