/*

Theme Name: Flatsome Child

Theme URI: https://uxthemes.com/

Description: This is a child theme for Flatsome

Author: UX-Themes

Author URI: https://uxthemes.com/

Template: flatsome

Version: 3.0

*/

/*************************login css**************************/
/* --- Blue Card Container --- */
#loginform {
    background-color: #1e73be; /* Blue sampled from reference */
    border-radius: 28px;
    padding: 30px 28px 24px;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 16px;
}

#loginform p {
    margin: 0;
    padding: 0;
}

/* --- Full-Width Fields (Username & Password) --- */
#loginform .login-username,
#loginform .login-password {
    grid-column: 1 / -1;
    position: relative;
}

/* --- Labels --- */
#loginform label {
    display: block;
    font-size: 16px;
    color: #ffffff; /* White text to match reference image */
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.3;
}

/* --- Inputs --- */
#loginform input[type="text"],
#loginform input[type="password"] {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 12px !important;
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 2px !important;
    font-size: 16px !important;
    color: #333333 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    outline: none !important;
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus {
    border-color: #1e73be !important;
    background-color: #ffffff !important;
}

/* --- Remember Me (Bottom Left, Single Line) --- */
#loginform .login-remember {
    grid-column: 1;
    align-self: center;
    margin: 0;
}

#loginform .login-remember label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 16px;
    color: #ffffff; /* White text to match reference image */
    cursor: pointer;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

#loginform .login-remember input[type="checkbox"] {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    border-radius: 3px;
    border: 1px solid #ccc;
    background: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
}

/* --- Red Submit Button (Bottom Right) --- */
#loginform .login-submit {
    grid-column: 2;
    align-self: flex-end;
    margin: 0;
}

#loginform .login-submit input[type="submit"] {
    background-color: #dd3333 !important; /* Red sampled from reference */
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 20px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    height: 38px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    text-transform: none !important;
    transition: background-color 0.2s ease !important;
}

#loginform .login-submit input[type="submit"]:hover {
    background-color: #b82b2b !important; /* Slightly darker red hover */
}