/* themes/auth/rocket/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700&display=swap');

/* بدن اصلی */
body.rocket-auth-body {
    font-family: 'Vazirmatn', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* کانتینر کلی */
.auth-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    z-index: 10;
}

/* کارت فرم ورود/ثبت نام */
.auth-card {

    padding: 2rem;
    border-radius: 1rem;

    background: #121212;


    box-shadow: 0 0 40px rgba(230, 74, 25, 0.4);
    position: relative;
    z-index: 20;
    text-align: center;
}

/* لوگو */
.auth-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #E64A19;; /* نارنجی */
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* عنوان فرم */
.auth-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2rem;
}

/* گروه ورودی‌ها */
.input-group {
    margin-bottom: 1.2rem;
    position: relative;
}

/* فیلدهای ورودی */
.input-field {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.6rem;
    border: none;
    background: #111;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

.input-field:focus {
    outline: none;
    box-shadow: 0 0 10px #E64A19;; /* نارنجی */
}

/* پیام خطا */
.input-error-message {
    color: #ff8c00; /* نارنجی تیره */
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

/* دکمه ورود / ثبت نام */
.btn-submit {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 0.6rem;
    background: #E64A19;; /* نارنجی */
    color: #111;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #121212;


    box-shadow: 0 0 40px rgba(230, 74, 25, 0.4);
}

/* checkbox مرا به خاطر بسپار */
.remember-me {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
}

.remember-me input[type="checkbox"] {
    margin-left: 0.5rem;
}

/* خط جداکننده */
.separator {
    border: 0.5px solid #333;
    margin: 1.5rem 0;
}

/* لینک ثبت نام */
.register-link {
    color: #fff;
    font-size: 0.9rem;
}

.register-link .auth-link {
    color: #E64A19;; /* نارنجی */
    text-decoration: none;
    font-weight: 500;
}

.register-link .auth-link:hover {
    text-decoration: underline;
}

/* انیمیشن Ember */
.embers-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.ember {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    background: #E64A19;; /* نارنجی */
    border-radius: 50%;
    animation: ember-fly linear infinite;
    opacity: 0.7;
}

@keyframes ember-fly {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-1200px) translateX(200px) scale(0);
        opacity: 0;
    }
}


body.login-page {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    font-family: 'Vazirmatn', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    background: #121212;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 3rem;
    width: 400px;
    max-width: 95%;
    box-shadow: 0 0 40px rgba(230, 74, 25, 0.4);
    position: relative;
}
.login-container h2 {
    color: #E64A19;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
}
.login-container input {
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #fff;
    width: 100%;
    margin-bottom: 1rem;
    transition: 0.3s;
}
.login-container input:focus {
    border-color: #E64A19;
    outline: none;
    box-shadow: 0 0 10px rgba(230, 74, 25, 0.5);
}
.btn-fire {
    background: #E64A19;
    color: #fff;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: 0.3s;
}
.btn-fire:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 74, 25, 0.5);
}
.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #999;
}
.login-footer a {
    color: #E64A19;
    text-decoration: none;
    transition: 0.3s;
}
.login-footer a:hover {
    text-decoration: underline;
}
