@import url('https://cdn.jsdelivr.net/npm/@fontsource/mona-sans@5.0.0/300.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/mona-sans@5.0.0/400.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/mona-sans@5.0.0/500.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/mona-sans@5.0.0/600.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/mona-sans@5.0.0/700.css');

* {
    font-family: 'Mona Sans', sans-serif !important;
}

.dashicons,
.dashicons-before:before,
.wp-hide-pw .dashicons,
.wp-cancel-pw .dashicons {
    font-family: dashicons !important;
}

body.login {
    font-family: 'Mona Sans', sans-serif !important;
}
#rememberme {
    height: 20px !important;
}
.login-background-content {
    position: fixed;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    gap: 0;
    z-index: 1;
}
.login-background-content img {
    min-width: 100%;
}

.content-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
}

.content-box h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.content-box p {
    font-size: 16px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.content-box.blue {
    background: #1E90FF;
}
.login form {
    margin: 0 !important;
    padding: 10px !important;
}
#login {
    position: fixed !important;
    right: 0;
    top: 0;
    min-width: 50%;
    height: 100vh;
    display: flex !important;
    align-items: center !important;;
    flex-direction: column !important;;
    justify-content: center !important;;
    background: white;
    z-index: 10;
    padding: 0 !important;
}

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

.login h1 a {
    background-image: none !important;
    width: auto !important;
    height: auto !important;
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

#loginform input {
    height: 50px;
}
#loginform,
#registerform,
#lostpasswordform {
    background: white;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100%;
    max-width: 550px;
    overflow-y: scroll !important;
}

.custom-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.custom-form-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 2px solid #1A1A1A;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.custom-form-title {
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #1A1A1A;
}

.custom-form-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #1A1A1A;
    margin: 0;
}

.login label {
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A80;
    margin-bottom: 8px;
    display: block;
}

.login input[type="text"],
.login input[type="email"],
.login input[type="password"] {
    background: #F2F2F2;
    border-radius: 5px;
    padding: 14px 16px;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.3s;
    color: #1A1A1A80;
    font-size: 16px;
    font-weight: 300;
    border: 0;
    height: 50px;
    font-family: 'Mona Sans', sans-serif !important;
}

/*.login input[type="text"]:focus,*/
/*.login input[type="email"]:focus,*/
/*.login input[type="password"]:focus {*/
/*    border: 0;*/
/*}*/

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.custom-remember-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0 30px 0;
}
.custom-remember-me span {
    font-weight: 400;
    color: #1A1A1A80;
}

.custom-remember-me label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.custom-remember-me input[type="checkbox"] {
    margin: 0 8px 0 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.custom-forgot-password {
    font-size: 14px;
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 500;
}

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

.login .button-primary {
    background: #000;
    border: none;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
    text-shadow: none;
    box-shadow: none;
    height: 50px;
    padding: 0;
    border-radius: 5px;
    margin-top: 32px;
    font-weight: 500;
}

.login .button-primary:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-form-footer {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.custom-form-footer a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.custom-form-footer a:hover {
    text-decoration: underline;
}

.custom-terms {
    display: flex;
    align-items: center;
}

.custom-terms input[type="checkbox"] {
    margin: 0 8px 0 0;
    width: 18px;
    height: 18px;
}

.custom-terms label {
    font-size: 14px;
    margin: 0;
    color: #1A1A1A80;
}

.custom-terms a {
    color: #1A1A1A;
    text-decoration: none;
}

.custom-terms a:hover {
    text-decoration: underline;
}

.custom-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.custom-back-button:hover {
    color: #2196F3;
}

.custom-back-button svg {
    width: 20px;
    height: 20px;
}

.custom-progress-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.progress-step {
    height: 4px;
    flex: 1;
    background: #E0E0E0;
    border-radius: 2px;
}

.progress-step.active {
    background: #000;
}

.login .message,
.login #login_error {
    background: #FFE6E6;
    border-left: 4px solid #F44336;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #D32F2F;
}

.login .message {
    background: #E8F5E9;
    border-left-color: #4CAF50;
    color: #2E7D32;
}

.custom-close-button {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.custom-close-button:hover {
    opacity: 1;
}

.custom-close-button svg {
    width: 24px;
    height: 24px;
}
#backtoblog,
#nav {
    display: none;
}

.forgetmenot {
    display: none;
}

.message.register,
.notice.notice-info.message {
    display: none !important;
}

body.login-action-lostpassword h1 {
    display: none;
}

.login a[href*="lostpassword"]:not(.custom-forgot-password) {
    display: none !important;
}

.custom-remember-me ~ .custom-forgot-password {
    display: none !important;
}

@media (max-width: 1024px) {
    .login-background-content {
        width: 100%;
    }

    #login {
        width: 60%;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .login-background-content {
        display: none;
    }

    #login {
        width: 100%;
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}