/* Custom WordPress Login Page Styles */

/* Animated Background Canvas */
#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Place it behind everything */
}

body.login {
    background-color: #111827 !important;
}

/* Custom Title */
.login-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff !important;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#login h1 a, .login h1 a {
    background-image: url('https://el-koriem.com/wp-content/uploads/2025/08/logo.png'); /* <-- ضع رابط شعارك هنا */
    width: 200px; /* <-- عدّل عرض الشعار حسب الحاجة */
    height: 100px; /* <-- عدّل ارتفاع الشعار حسب الحاجة */
    background-size: contain;
    background-repeat: no-repeat;
    padding-bottom: 20px;
}

#login form {
    background: rgba(31, 41, 55, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#login form .input,
.login input[type="text"],
.login input[type="password"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    border-radius: 4px;
}

#login form .input:focus,
.login input[type="text"]:focus,
.login input[type="password"]:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
}

.wp-core-ui .button-primary {
    background: #fbbf24 !important;
    border-color: #fbbf24 !important;
    color: #111827 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.wp-core-ui .button-primary:hover {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
}

.login #nav a,
.login #backtoblog a {
    color: #9ca3af !important;
    transition: color 0.3s ease;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #fbbf24 !important;
}

.login label {
    color: #d1d5db !important;
}

.login .message, .login .success, .login #login_error {
    border-right: 4px solid #fbbf24 !important;
    border-left: none !important;
    background: rgba(31, 41, 55, 0.9) !important;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}