* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif;
    background: linear-gradient(135deg, #F8F6F2 0%, #E8E6E3 100%);
    min-height: 100vh;
    padding-top: 5vh;
    color: #4A4A4A;
    text-align: center;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(122, 155, 142, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(143, 168, 196, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(196, 165, 123, 0.05) 0%, transparent 50%);
    z-index: -1;
}

#login {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    padding: 3rem 2.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    animation: slideUp 0.6s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.wp-login-logo a {
    background: linear-gradient(135deg, #7A9B8E 0%, #8FA8C4 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.system-title {
    color: #7A9B8E;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.system-subtitle {
    color: #A8A8A8;
    font-size: 0.9rem;
    line-height: 1.4;
}

#loginform {
    margin-bottom: 2rem;
}

#loginform p,
.user-pass-wrap {
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease-out both;
}

label {
    display: block;
    color: #7A9B8E;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #E8E6E3;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #F8F6F2;
}

.input:focus {
    outline: none;
    border-color: #7A9B8E;
    background: white;
    box-shadow: 0 4px 15px rgba(122, 155, 142, 0.2);
    transform: translateY(-1px);
}

.input::placeholder {
    color: #A8A8A8;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #A8A8A8;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #7A9B8E;
}

.forgot-password {
    color: #8FA8C4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #7A9B8E;
}

.button.button-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #7A9B8E 0%, #8FA8C4 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.button.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 155, 142, 0.4);
}

.button.button-primary:active {
    transform: translateY(0);
}

.button.button-primary:disabled {
    background: #A8A8A8;
    cursor: not-allowed;
    transform: none;
}

.loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-footer {
    text-align: center;
    color: #A8A8A8;
    font-size: 0.85rem;
    line-height: 1.4;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

.forgetmenot {
	width: 100%;
	margin-bottom: 10px !important;
}

@media (max-width: 480px) {
    #login {
        margin: 1rem auto;
        padding: 2rem 1rem;
        width: 90%;
    }

	.login form {
		padding: 26px 16px;
	}

    .system-title {
        font-size: 1.2rem;
    }

    .wp-login-logo a {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .input {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .button.button-primary {
        padding: 0.9rem;
        font-size: 1rem;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#language-switcher {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #4A4A4A;
}

#language-switcher form {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

#language-switcher label {
    margin: 0;
    color: #7A9B8E;
}

#language-switcher select {
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #F8F6F2;
    font-size: 0.9rem;
}

#language-switcher input[type="submit"] {
    background: linear-gradient(135deg, #7A9B8E 0%, #8FA8C4 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#language-switcher input[type="submit"]:hover {
    background: linear-gradient(135deg, #6e8f83 0%, #7b91af 100%);
}

.privacy-policy-page-link {
    display: none !important;
}

#backtoblog {
    display: none !important;
}

body.login div#login h1 a {
	width: 80px;
}