 body {
     background: linear-gradient(135deg, #f8f9fa, #eef1f4);
     font-family: 'Cairo', sans-serif;
 }

 .card {
     border-radius: 16px;
     border: none;
     box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
 }
      body {
    font-family: 'Tajawal', sans-serif !important;
}

/* Exclude icons from font changes */
.fas, .far, .fab {
    font-family: "Font Awesome 6 Free" !important;
}
 .card-title {
     font-weight: 700;
     color: #198754;
 }

 label.form-label {
     font-weight: 600;
     color: #444;
 }

 input.form-control,
 select.form-select {
     border-radius: 8px;
 }

 .form-control.is-invalid,
 .form-select.is-invalid {
     border-color: #dc3545 !important;
 }

 .invalid-feedback {
     display: block;
     font-weight: 500;
 }

 .btn-success {
     background-color: #198754;
     border: none;
     transition: 0.3s;
 }

 .btn-success:hover {
     background-color: #157347;
 }

 .alert-warning-custom {
     background: #fff3cd;
     border: 1px solid #ffeeba;
     color: #d9534f;
     border-radius: 8px;
     padding: 10px 15px;
     display: flex;
     align-items: center;
     font-weight: 600;
     margin-bottom: 15px;
 }

 .alert-warning-custom i {
     color: #007bff;
     font-size: 1.8rem;
     margin-left: 10px;
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-8px);
     }
 }

 .animate-warning {
     animation: float 2.5s infinite ease-in-out;
 }

 .order-modal {
     background: #f8d302;
     color: #000;
     width: 90%;
     max-width: 650px;
     border-radius: 18px;
     padding: 35px 25px;
     font-weight: bold;
     animation: slideUp 0.4s ease-out;
     box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
     max-height: 90vh;
     overflow-y: auto;
     position: relative;
     margin: 30px auto;
 }

 @keyframes slideUp {
     from {
         opacity: 0;
         transform: translateY(50px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .order-modal::-webkit-scrollbar {
     width: 8px;
 }

 .order-modal::-webkit-scrollbar-thumb {
     background: rgba(0, 0, 0, 0.2);
     border-radius: 4px;
 }

 #page-bg {
     position: fixed;
     top: 0;
     right: 0;
     bottom: 0;
     left: 0;
     background: rgba(0, 0, 0, 0.6);
     z-index: 1055;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 #close-overlay {
     position: absolute;
     top: 10px;
     left: 15px;
     background: none;
     border: none;
     font-size: 32px;
     color: #000;
     cursor: pointer;
     z-index: 10;
 }

.amount-readonly[readonly] {
    background-color: #e0e0e0;
    color: #555;
    cursor: not-allowed;
    text-align: right;
}

.amount-readonly::placeholder {
    color: #555;
    opacity: 1;
    text-align: right;
}


form {
    direction: rtl;
}

form label {
    text-align: right;
}

.form-check {
    display: flex;
    flex-direction: row-reverse !important;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.custom-alert {
    background-color: red;
    color: #fff;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
}

input[readonly] {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.text-danger {
    font-size: 14px;
}

.preview-box {
    margin-top: 8px;
}

#submitBtn {
    display: inline-block;
}

