/* Main Layout */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container-fluid {
    flex: 1;
}


/* Navigation Styles */
.navbar {
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.4rem;
}

.nav-link {
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link i {
    margin-right: 0.5rem;
}

/* Card Styles */
.card {
    border: none;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
}

.border-left-primary {
    border-left: 0.25rem solid #ff6c6b !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-danger {
    border-left: 0.25rem solid #e74a3b !important;
}

/* Dashboard Stats */
.text-xs {
    font-size: .7rem;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

/* Table Styles */
.table th {
    background-color: #f8f9fc;
    border-top: none;
}

.table td {
    vertical-align: middle;
}

/* Status Badges */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Buttons */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn i {
    margin-right: 0.3rem;
}

/* Dropdown Menu */
.dropdown-menu {
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.15);
    border: none;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
}

.dropdown-item i {
    margin-right: 0.5rem;
    width: 1rem;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        margin: 0 -1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Form Styles */
.form-control:focus {
    border-color: #ff6c6b;
    box-shadow: 0 0 0 0.2rem rgba(255, 108, 107, 0.25);
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
    .bg-gradient-primary {
        background: linear-gradient(to right, #ff6c6b, #ff4f4e);
    }

    .navbar {
        transition: all 0.3s ease;
    }
    
    .navbar-light .navbar-nav .nav-link {
        color: #495057;
        font-weight: 500;
        padding: 0.8rem 1rem;
        transition: all 0.3s ease;
    }
    
    .navbar-light .navbar-nav .nav-link:hover {
        color: #ff6c6b;
    }
    
    .navbar-light .navbar-nav .nav-link.active {
        color: #ff6c6b;
    }
    
    .shadow-sm {
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    }
    .nav-item{
    font-family: Rajdhani, sans-serif;
    font-size: 19px;

    }
    .bg-main {
        background: linear-gradient(to right, #ff6b6b, #ff6b6b);
    }
    
    .card {
        border: none;
        border-radius: 1rem;
        overflow: hidden;
    }
    
    .avatar-circle-sm {
        width: 32px;
        height: 32px;
        background-color: #ff6c6b !important;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .bg-primary{
        background-color: #ff6c6b !important;
    }
    .bg-secondary {
        background-color: #7fa7be!important;
    }
    .avatar-initials-sm {
        color: white;
        font-size: 0.875rem;
        font-weight: 500;
    }
    
    .modal-content {
        border-radius: 1rem;
        border: none;
    }
    
    .modal-header {
        background: linear-gradient(to right, #ff6c6b, #ff4f4e);
        color: white;
    }
    
    .modal-header .btn-close {
        filter: brightness(0) invert(1);
    }
    
    .table th {
        background-color: #f8f9fc !important;
    }
    
    .badge {
        font-weight: 500;
        padding: 0.5em 0.75em;
    }

/* Additional styles for buttons and links */
.btn-primary {
    background-color: #ff6c6b;
    border-color: #ff6c6b;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #ff4f4e;
    border-color: #ff4f4e;
}

.text-primary {
    color: #ff6c6b !important;
}

a {
    color: #ff6c6b;
}

a:hover {
    color: #ff4f4e;
}

.page-item.active .page-link {
    background-color: #ff6c6b;
    border-color: #ff6c6b;
}

.page-link {
    color: #ff6c6b;
}

.page-link:hover {
    color: #ff4f4e;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.avatar-initials {
    color: white;
    font-size: 2.5rem;
    font-weight: 500;
}

.info-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fc;
    border-radius: 0.5rem;
}

.info-group i {
    font-size: 1.5rem;
    padding-top: 0.25rem;
}



.card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

.modal-content {
    border-radius: 1rem;
    border: none;
}



.modal-header .btn-close {
    filter: brightness(0) invert(1);
}


.wrapper {
    display: flex;
    min-height: 100vh;
}

.main-content {
    margin-left: 250px; /* Should match sidebar width */
    width: calc(100% - 280px);
    padding: 20px;
    transition: margin-left 0.3s;
}

.sidebar {
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar {
        margin-left: -280px;
    }
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color: #ff6c6b;
    color: white;
}
.nav-link{
    color: black;
}

.pincode-badges {
    max-width: 300px;
}

.pincode-badges .badge {
    font-size: 0.75em;
    margin: 1px;
}



.datatable {
    font-size: 0.9em;
}



/* Responsive table improvements */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.8em;
    }
    
    .pincode-badges {
        max-width: 150px;
    }
    
    .btn-sm {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
}