* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    background: #f5f5f5;
    background: url("https://ettqan.top/img/background.png") no-repeat center center fixed;
}


/* ===== LEFT SIDE ===== */
.login-wrap {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.login-left {
    width: 45%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-left-content {
    color: #fff;
    max-width: 340px;
}

.side-logo {
    height: 50px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.login-left-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.login-left-content p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 40px;
}

.side-stats {
    display: flex;
    gap: 20px;
}

.side-stat {
    text-align: center;
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    flex: 1;
}

.side-stat h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.side-stat p {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}

/* ===== RIGHT SIDE ===== */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 400px;
}

.login-logo {
    height: 45px;
    margin-bottom: 25px;
}

.login-box h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.login-box > p {
    font-size: 13px;
    color: #777;
    margin-bottom: 30px;
}

/* ===== FORM ===== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon svg {
    position: absolute;
    right: 12px;
    width: 18px;
    height: 18px;
    color: #aaa;
    pointer-events: none;
}

.input-icon input {
    width: 100%;
    padding: 12px 42px 12px 15px;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: 0.3s;
    background: #fafafa;
}

.input-icon input:focus {
    outline: none;
    border-color: #111;
    background: #fff;
}

.toggle-pass {
    position: absolute;
    left: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    color: #aaa;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 5px;
}

.submit-btn:hover {
    background: #000;
    transform: scale(1.02);
}

.alert {
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
}

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

.back-link {
    display: block;
    margin-top: 20px;
    font-size: 12px;
    color: #777;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
}

.back-link:hover { color: #111; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .login-left { display: none; }
    .login-right { padding: 30px 20px; }
}
/* ===== THEME BTN ===== */
.theme-btn {
    position: fixed;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    padding: 8px;
    z-index: 100;
}

.theme-btn svg {
    width: 18px;
    height: 18px;
}

.theme-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}
