.login-section,
.register-section {
    border: 1px solid #dfdfdf;
}

.login-section button, .login-section a,
.register-section button,
.register-section a {
    font-size: 16px;
}


.login_subject {
    color: #333;
    font-weight: bold;
    font-size: 18px;
}

.login-section label {
    font-size: 13px;
}

.forgot_password {
    display: inline-block;
    color: #0531e2;
}
.forgot_password:hover {
    text-decoration: underline;
}

.login-section button {
    padding: 9px 22px;
    margin-bottom: 0;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 2px;
    color: #fff;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top,#6198d3,#437db9);
    background-image: -ms-linear-gradient(top,#6198d3,#437db9);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#6198d3),color-stop(100%,#437db9));
    background-image: -webkit-linear-gradient(top,#6198d3,#437db9);
    background-image: -o-linear-gradient(top,#6198d3,#437db9);
    background-image: linear-gradient(top,#6198d3,#437db9);
    line-height: 1.3em;
    outline: 0;
    background: #489ae9;
    box-shadow: 1px 0 2px 0 rgba(0,0,0,0.13), 0 0 4px 0 rgba(0,0,0,0.11), 0 2px 3px 0 rgba(0,0,0,0.16);
    border: 0;
    text-shadow: none;
    height: 50px;
    font-size: 16px;
    width: 100%;
    display: block;
}
.login-section button:hover {
    color: #fff;
    background: #4594de;
    text-decoration: none;
}

.remember_me { 
    display: inline-block;
    color: #a0a6bd;
    font-size: 13px;
}

.remember_me input {
    margin: 0;
    vertical-align: 1px;
    font: 12px "Lucida Grande","LucidaGrande",Arial,sans-serif;
}

.register-section h3 {
    font-size: 18px;
    margin: 0 0 43px 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    color: #333;
    font-weight: bold;
}

.register-section p {
    color: #36454d;
    margin-bottom: 20px;
    font-size: 13px;
}

.register-section a {
    background: #fafafa;
    box-shadow: 1px 0 2px 0 rgba(0,0,0,0.13), 0 0 4px 0 rgba(0,0,0,0.11), 0 2px 3px 0 rgba(0,0,0,0.16);
    border-radius: 2px;
    border: 0;
    font-weight: bold;
    height: 50px;
    font-size: 16px;
    text-shadow: 0 2px 11px #fff;
    display: block;
    width: 100%;
    padding: 15px 22px;
    color: #489ae8;
}

.register-section a:hover {
    background: #fafafa;
    color: #489ae8;
}
@media only screen and (min-width: 470px) {
    .login-section {
        padding: 70px 30px 148px;
    }

    .register-section {
        padding-top: 143px;
        padding-left: 80px;
        padding-right: 85px;
        background-color: #fff;
    }
}
@media only screen and (min-width: 1200px) {
    .login-section {
        padding: 70px 78px 148px 77px;
    }
}

/* start new css  */
.login-card {
    width: 480px;  
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 34px 114px rgba(0, 0, 0, 0.08);
    padding: 32px;
    display: flex;
    margin: auto;
    flex-direction: column;    
}

.welcome-title {
    font-size: 24px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 44px;
    text-align: center;
    color: #1c2634;
    margin-bottom: 8px;
}

.welcome-subtitle {
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    line-height: 18px;
    text-align: center;
    color: #1c2634;
    margin-bottom: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    text-align: right;
    color: #a0a6bd;
    margin: 0px !important;
}

.form-input {
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    border: 1px solid #a0a6bd;
    border-radius: 15px;
    padding: 0 20px;
    font-size: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    color: #5e688f;
    text-align: right;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #0062ff;
}

.form-input::placeholder {
    color: #5e688f;
    text-align: right;
}

.password-container {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    border: 1px solid #a0a6bd;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 12px;
}

.password-toggle {
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.password-toggle:hover {
    opacity: 1;
}

.password-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    color: #090909;
    text-align: right;
    background: transparent;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    line-height: 18px;
    color: #1a1c1e;
    cursor: pointer;
}

.google-button {
    width: 100%;
    height: 48px;
    background-color: transparent;
    border: 1px solid #5e688f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.google-button:hover {
    background-color: #f8f9fa;
    border-color: #0062ff;
}

.google-icon {
    width: 24px;
    height: 24px;
}

.google-text {
    font-size: 16px;
    font-family: 'Cairo'
    font-weight: 500;
    line-height: 24px;
    color: #5a5a5a;
}

.login-button {
    width: 100%;
    height: 48px;
    background-color: #0062ff;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Cairo';
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 16px;
}

.login-button:hover {
    background-color: #0052cc;
    color: #ffffff;
}

.login-button:disabled {
    background-color: #a0a6bd;
    cursor: not-allowed;
}

.login-link {
    font-size: 12px;
    font-family: 'Cairo';
    font-weight: 400;
    line-height: 23px;
    text-align: center;
    color: #000000;
    margin-top: 16px;
}

.login-link a {
    color: #0062ff;
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.remember-me-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/* Responsive styles for mobile */
@media (max-width: 600px) {
    .login-card {
        width: 100%;
        min-width: unset;
        max-width: 100vw;
        padding: 16px;
        border-radius: 0;
        box-shadow: none;
    }
    .welcome-title {
        font-size: 18px;
        line-height: 32px;
    }
    .welcome-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }
    .form-input,
    .password-container {
        height: 44px;
        font-size: 12px;
        padding: 0 10px;
    }
    .form-label {
        font-size: 11px;
    }
    .login-button,
    .google-button {
        height: 40px;
        font-size: 14px;
        margin-bottom: 12px;
    }
    .login-link {
        font-size: 11px;
        margin-top: 10px;
    }
    .checkbox-label {
        font-size: 11px;
    }
    .checkbox-container {
        gap: 8px;
        margin: 10px 0;
    }
    .remember-me-container {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}
/* end new css */