:root {
    --main-color: #C8935F;
    --dark-color: #131722;
    --card-bg: rgba(33, 30, 37, 0.7);
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
}

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

body {
    background-color: var(--dark-color);
    color: var(--text-white);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* تأثيرات الخلفية (Orbs) */
.orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.orb-1 {
    background: radial-gradient(circle, rgba(200, 147, 95, 0.2) 0%, transparent 70%);
    top: 10%;
    left: 10%;
}

.orb-2 {
    background: radial-gradient(circle, rgba(200, 147, 95, 0.15) 0%, transparent 70%);
    bottom: 10%;
    right: 10%;
}

/* بطاقة تسجيل الدخول */
.login-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.brand-logo img {
    margin-bottom: 20px;
}

.brand-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.brand-name {
    color: var(--main-color);
}

.subtitle {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 30px;
}

/* مدخلات النموذج */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--main-color);
    box-shadow: 0 0 10px rgba(200, 147, 95, 0.3);
}

.input-icon {
    color: var(--text-gray);
    margin-right: 12px;
}

.login-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    width: 100%;
    padding: 15px 0;
    font-size: 16px;
}

/* الأزرار */
.submit-btn {
    background: var(--main-color);
    color: #000;
    border: none;
    border-radius: 12px;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(200, 147, 95, 0.4);
}

/* التذييل */
footer {
    position: absolute;
    bottom: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

footer a {
    color: var(--main-color);
    text-decoration: none;
}

/* رسائل الخطأ */
.error-banner {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    color: #ff5252;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.error-banner.visible {
    display: flex;
}
