:root {
    --primary-color: #4fc3d7;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-bg: #f8f9fa;
    --card-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --card-hover-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

table.dataTable thead th, table.dataTable thead td, table.dataTable tfoot th, table.dataTable tfoot td{
    text-align: right !important;
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: left !important;
}

.ibm-plex-sans-arabic-thin {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.ibm-plex-sans-arabic-extralight {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.ibm-plex-sans-arabic-light {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.ibm-plex-sans-arabic-regular {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.ibm-plex-sans-arabic-medium {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.ibm-plex-sans-arabic-semibold {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.ibm-plex-sans-arabic-bold {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.navbar-custom {
    background: linear-gradient(135deg, #4dd0e1, #26a69a);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.navbar-custom .nav-icon {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.navbar-custom .nav-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.stats-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #4285f4;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.icon-buildings { color: #4285f4; }
.icon-refresh { color: #34a853; }
.icon-info { color: #ff9800; }
.icon-close { color: #ea4335; }
.icon-wallet { color: #00bcd4; }

.add-balance {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
    text-align: center;
}

.add-balance-btn {
    background: none;
    border: none;
    color: #4285f4;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem;
    text-decoration: none;
}

.add-balance-btn:hover {
    color: #1976d2;
}

.wallet-info {
    color: #666;
    font-size: 1.1rem;
}

.wallet-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.offcanvas-custom {
    background: white;
    border-radius: 20px 0 0 20px;
}

.offcanvas-header-custom {
    background: linear-gradient(135deg, #4dd0e1, #26a69a);
    color: white;
    border-radius: 0 20px 0 0;
    padding: 1.5rem;
}

.offcanvas.show:not(.hiding), .offcanvas.showing {
    border-radius: 0 20px 0 0 !important;
}
.offcanvas.offcanvas-right.show:not(.hiding), .offcanvas.showing {
    border-radius: 20px 0 0 0 !important;
}


.offcanvas-title {
    font-size: 1.3rem;
    font-weight: bold;
}

.menu-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.menu-item:hover {
    background-color: #f8f9fa;
    color: #333;
}

.menu-item.logout {
    color: #ea4335;
    border-bottom: none;
}

.menu-item.logout:hover {
    background-color: #fef2f2;
    color: #ea4335;
}

.menu-icon {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.notification-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    background: white;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-content {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.notification-badge {
    background: #ea4335;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-percentage {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    margin: 0.5rem 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.link-style {
    color: #4285f4;
    text-decoration: none;
}

.link-style:hover {
    text-decoration: underline;
}

.read-all {
    color: #4285f4;
    text-decoration: none;
    font-size: 0.9rem;
}

.emoji {
    font-size: 1.2rem;
}

.close-btn-custom {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    opacity: 0.8;
}

.close-btn-custom:hover {
    opacity: 1;
}


.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.step-simple {
    width: 50px;
    height: 50px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: .875rem;
    line-height: 1.25rem;
}

.step-simple.completed {
    background-color: #3ac2b3;
    color: #fff;
}

.line {
    height: 4px;
    width: 40px;
    background-color: #ccc;
}

.line.completed {
    background-color: #3ac2b3;
}

.labels {
    display: flex;
    justify-content: center;
    gap: 38px;
    font-size: 14px;
    color: #333;
}

.fileDisplay {
    cursor: pointer;
}

.dashboard-button {
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 20px 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    display: block;
    text-decoration: none;
    color: #666666;
}

.dashboard-button:hover {
    transform: scale(1.05);
}

.dashboard-button i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.btn-icon-blue { color: #4dabf7; }
.btn-icon-green { color: #00c851; }
.btn-icon-orange { color: #ff8800; }
.btn-icon-grey { color: #6c757d; }
.btn-icon-cyan { color: #17a2b8; }
.btn-icon-teal { color: #20c997; }
.btn-icon-purple { color: #6f42c1; }

.wallet-summary {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 15px;
    margin-bottom: 15px;
}

.add-balance-btn {
    background: #eef6ff;
    color: #007bff;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 30px;
    color: #25D366;
    cursor: pointer;
}

/* Contracts Framework */

.form-label {
    font-weight: 700;
    margin-right: 1rem;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-input:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

.box-shadow
{
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
} 

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-left: 6px !important;
    margin-top: 8px !important;
}

.select2-container--default .select2-selection--single {
    width: 100%;
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
    height: 50px;
}

.preloader-wrapper 
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.preloader-wrapper img
{    
    width: 250px;
}

.buttons-footer {
    border-top: 1px solid #ccc;
}

.btn-bg{
    padding: 10px 25px;
}

.alert-dismissible .close-button{
    border-radius: 0 0 40px 0;
    color: #000;
    border: 0;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    background-color: transparent;
}
.alert-dismissible .close-button:hover{
    background-color: rgba(0,0,0,.1);
}
.alert-dismissible .close-button:focus{
    outline: none;
}