/* RTL Bootstrap Overrides */
.text-left {
    text-align: right !important;
}

.text-right {
    text-align: left !important;
}

.float-left {
    float: right !important;
}

.float-right {
    float: left !important;
}

.mr-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.ml-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.mr-1, .mr-2, .mr-3, .mr-4, .mr-5 {
    margin-left: 0.25rem !important;
    margin-right: 0 !important;
}

.ml-1, .ml-2, .ml-3, .ml-4, .ml-5 {
    margin-right: 0.25rem !important;
    margin-left: 0 !important;
}

.pr-1, .pr-2, .pr-3, .pr-4, .pr-5 {
    padding-left: 0.25rem !important;
    padding-right: 0 !important;
}

.pl-1, .pl-2, .pl-3, .pl-4, .pl-5 {
    padding-right: 0.25rem !important;
    padding-left: 0 !important;
}

.border-left {
    border-right: 1px solid #dee2e6 !important;
    border-left: 0 !important;
}

.border-right {
    border-left: 1px solid #dee2e6 !important;
    border-right: 0 !important;
}

.input-group > .input-group-prepend > .input-group-text {
    border-radius: 0 0.25rem 0.25rem 0;
}

.input-group > .form-control:not(:first-child) {
    border-radius: 0.25rem 0 0 0.25rem;
}

.custom-control {
    padding-left: 0;
    padding-right: 1.5rem;
}

.custom-control-label::before,
.custom-control-label::after {
    left: auto;
    right: -1.5rem;
}

.dropdown-menu {
    text-align: right;
}

.offset-md-4 {
    margin-right: 33.333333%;
    margin-left: 0;
}

.col-form-label-sm {
    text-align: right;
}

.form-check {
    padding-left: 0;
    padding-right: 1.25rem;
}

.form-check-input {
    margin-left: 0;
    margin-right: -1.25rem;
}

/* Login Page Specific Styles */
.login-page {
    background: url('../images/login-background.webp') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: hsla(83, 46%, 23%, 0.445);
    z-index: 0;
}

.login-page .row {
    position: relative;
    z-index: 1;
}

.login-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    padding: 30px 0;
}

.login-logo {
    max-height: 80px;
    margin-bottom: 20px;
}

.login-title {
    color: #0062cc;
    font-weight: bold;
    margin-bottom: 0;
}

.login-body {
    padding: 40px;
}

.login-footer {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: center;
    color: #6c757d;
}

.login-btn {
    background-color: #0062cc;
    border-color: #0062cc;
    padding: 10px 20px;
    font-weight: bold;
    transition: all 0.3s;
}

.login-btn:hover {
    background-color: #004e9e;
    border-color: #004e9e;
}

.form-control:focus {
    border-color: #0062cc;
    box-shadow: 0 0 0 0.2rem rgba(0, 98, 204, 0.25);
} 