
@font-face {
  font-family: 'Cairo';
  src: url('fonts/Cairo-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('fonts/Cairo-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('fonts/Cairo-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('fonts/Cairo-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


/* Base Styles */
body {
    background-color: #f4f6f9;
    font-family: 'Cairo', sans-serif;
    font-size: 0.875rem;
}

/* Button Styles */
.btn-brand {
    background-color: #f78d1d;
    color: white;
}

.btn-brand:hover {
    background-color: #d87612;
    color: white;
}

.btn-outline-brand {
    border-color: #f78d1d;
    color: #f78d1d;
}

.btn-outline-brand:hover {
    background-color: #f78d1d;
    color: white;
}

.text-brand {
    color: #f78d1d;
}

/* Form Styles */
.form-control {
    border: none;
    border-bottom: 2px solid #ced4da;
    border-radius: 0;
    background-color: transparent;
    padding-right: 0;
    padding-left: 0;
    font-size: 0.875rem;
}

.form-control:focus {
    border-color: #f78d1d;
    box-shadow: none;
    background-color: transparent;
}

/* Table Styles */
.table-custom th {
    background-color: #f78d1d;
    color: white;
    border: none;
    font-weight: bold;
}

.table-custom td {
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.table-custom tbody tr:hover {
    background-color: rgba(247, 141, 29, 0.05);
}

/* Pagination Styles */
.pagination .page-item.active .page-link {
    background-color: #f78d1d;
    border-color: #f78d1d;
    color: white;
}

.pagination .page-link {
    color: #f78d1d;
}

/* Logo Styles */
.logo-header {
    max-height: 50px;
    width: auto;
}

/* Card Styles */
.card-custom {
    border-radius: 15px;
    border: none;
}

/* Upload Box Styles */
.upload-box {
    background-color: #f8f9fa;
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-box:hover {
    border-color: #f78d1d;
    background-color: #fffaf5;
}

/* Form Label Styles */
.form-label-custom {
    font-weight: bold;
    font-size: 0.75rem;
    color: #495057;
    margin-bottom: 0px;
    display: block;
}

/* Custom File Upload Styles */
.custom-file-upload {
    border: 1px solid #ced4da;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background-color: #fff;
    border-radius: 8px;
    width: 100%;
    text-align: right;
    font-size: 0.875rem;
    color: #495057;
    transition: all 0.3s ease;
}

.custom-file-upload:hover {
    border-color: #f78d1d;
    background-color: #fcf8f2;
}

#fileUpload {
    display: none;
}

.file-name-text {
    color: #6c757d;
    margin-right: 10px;
}

/* Image Thumbnail Styles */
.img-thumbnail-custom {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.img-thumbnail-custom:hover {
    transform: scale(1.1);
}

/* Loader Overlay Styles */
#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pulse-logo {
    width: 120px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* Footer Styles */
.footer-logo {
    max-height: 80px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 10px;
}

.footer-text {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 0;
    color: #f78d1d;
}

.footer-logo img {
    width: 120px;
}
