/* Sidebar Navigation */
.sidebar .nav-link {
    padding: 12px 20px;
    margin: 4px 10px;
    border-radius: 8px;
}

.sidebar .nav-link i {
    margin-right: 10px;
}

/* User Info Section */
.user-info {
    padding-left: 5px;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
    /* margin-bottom: 20px; */
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
}

/* Main Content Area */
.main-content {
    padding: 30px;
}

/* Card Component */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.card-header {
    background: white;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    padding: 15px 20px;
}

/* Logout Button */
.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-top: none;
    border-bottom: 2px solid #eee;
    font-weight: 600;
    color: #333;
}

body.dark-theme .table thead th {
    color: var(--text-color);
    border-bottom-color: #444;
}

.table tbody td {
    color: #666;
}

body.dark-theme .table tbody td {
    color: var(--text-color);
}

/* Form Control Focus States */
.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

/* Badge Utility Classes */
.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 13px;
}

.role-badge {
    margin-right: 4px;
    margin-bottom: 4px;
    display: inline-block;
}

/* Modal Styles */
.modal-header {
    border-bottom: 1px solid #eee;
}

.modal-footer {
    border-top: 1px solid #eee;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
}

.loading-spinner.show {
    display: inline-block;
}

/* Form Label */
.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

input.buyer-checkbox {
    margin-right:10px !important;
    margin-left:3px !important;
    cursor:pointer;
}

.location-under-project{
    font-size: 12px;
    position: relative;
    color: #777;
    top: -2px;
    left: 6px;
}

/* .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
    --bs-btn-border-color: #d7d2d2;
    border-left: none;
} */

.sidebar-menu {
  /* Ensure scrolling remains enabled */
  overflow-y: auto;

  /* Hide scrollbar for Firefox */
  scrollbar-width: none;

  /* Hide scrollbar for IE / legacy Edge */
  -ms-overflow-style: none;
}

/* Hide scrollbar for Chrome, Safari, and modern Edge */
.sidebar-menu::-webkit-scrollbar {
  display: none;
}