body {
    padding-top: 0px !important;
    overflow: hidden;
    /* background: #272b4a; */
    background-image: url(../img/login_bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background: linear-gradient(135deg, #272b4a 0%, #2d325c 100%); */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
}

.card {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.vamiddle {
    float: none;
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-size: 20px;
    color: #fff;
}

.card-block {
    padding: 25px;
}

.card-block img {
    margin-bottom: 20px;
    max-width: 180px;
    height: auto;
}

.form-control {
    border-radius: 6px;
    padding: 12px 15px;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    font-size: 14px;
    color: #333;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    border-color: #fac513;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.25);
    outline: none;
}

.input-group-addon {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fac513;
    border-radius: 0 6px 6px 0;
    padding: 0 15px;
}

.btn-secondary,
.btn-success {
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: #fac513;
    color: white;
}

.btn-secondary:hover {
    background-color: #9a7b13;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text-white {
    color: #fff !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.switch-sm {
    margin-left: 8px;
}

.switch-handle {
    background-color: white;
}

.switch-success-outline-alt .switch-input:checked+.switch-label {
    background-color: #fac513 !important;
    border-color: #fac513 !important;
}

hr {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 20px 0;
}

/* تحسين شكل رابط نسيت كلمة المرور */
.btn-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.btn-link:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* تحسين شكل مربع تذكرني */
label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: 14px;
}

/* تحسين شكل الشاشة بشكل عام */
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
}

.img-flag {
    width: 18px;
    height: 12px;
    margin: 0 0.5rem;
}

.choose_lang {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.img-flag {
    width: 18px;
    height: 12px;
    margin: 0 0.5rem;
}

.choose_lang {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.input-group .form-control {
    border-radius: 6px 0 0 6px;
}