/* ===============================
   tawfirpro.com – Login Page
================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Cairo", "Tajawal", Tahoma, Arial, sans-serif;
    background: #000;
    color: #fff;
    height: 100vh;
    overflow: hidden;
}

/* Background */
.background {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(255,140,0,0.18), transparent 60%),
        linear-gradient(120deg, #000, #050505, #000);
    z-index: -1;
}

/* Wrapper */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Brand */
.brand {
    text-align: center;
    margin-bottom: 25px;
}

.brand h1 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: .5px;
}

.brand h1 span {
    color: #ff8c00;
}

.brand p {
    font-size: 13px;
    color: #aaa;
}

/* Card */
.login-card {
    background: #fff;
    color: #111;
    width: 100%;
    max-width: 360px;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
    text-align: center;
}

/* Title */
.login-card h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

/* Inputs */
.login-card input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    text-align: right;
}

/* Button */
.login-card button {
    width: 100%;
    padding: 12px;
    background: #ff8c00;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.login-card button:hover {
    background: #e67e00;
}

/* Error */
.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
}

/* Links */
.links {
    margin-top: 15px;
    font-size: 13px;
}

.links a {
    display: block;
    color: #555;
    margin-top: 8px;
    text-decoration: none;
}

.links a strong {
    color: #ff8c00;
}

/* Back Button */
.back-btn {
    margin-top: 20px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid #ff8c00;
    color: #ff8c00;
    text-decoration: none;
    font-size: 14px;
    transition: .2s;
}

.back-btn:hover {
    background: #ff8c00;
    color: #000;
}

/* Success Message */
.success {
    background: #dcfce7;
    color: #166534;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
}

/* Select */
.login-card select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    text-align: right;
}

.password-group{
    position:relative
}
.toggle-password{
    position:absolute;
    left:12px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#888
}
.toggle-password:hover{
    color:#ff8c00
}
.password-group {
    position: relative;
    width: 100%;
}

.password-group input {
    width: 100%;
    padding-left: 42px; /* مساحة للأيقونة */
}

.toggle-password {
    position: absolute;
    left: 14px;              /* على اليسار */
    top: 50%;                /* وسط عمودي */
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #9ca3af;
    user-select: none;
}

.toggle-password:hover {
    color: #ff8c00;
}
.password-group {
    position: relative;
    width: 100%;
}

.password-group input {
    width: 100%;
    padding-left: 42px; /* مساحة للأيقونة */
}

.toggle-password {
    position: absolute;
    left: 14px;              /* على اليسار */
    top: 50%;                /* وسط عمودي */
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #9ca3af;
    user-select: none;
}

.toggle-password:hover {
    color: #ff8c00;
}
