@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

.bg-light {
    background: url(../assets/img/bg.webp) repeat !important;
}
.gradient-text {
  /*background: linear-gradient(90deg, #007cf0, #00dfd8); /* adjust colors as needed */
  background: linear-gradient(90deg, #0048a1, #05a6a8, #0C4a6e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
  color: transparent;
}

small, .small {
    font-size: 0.775em;
}
.very_small {
	font-size: 0.675em;
}
.text-muted {
    --bs-text-opacity: 1;
    color: #383c3f !important;
}
.application_no {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  color: #0078ff;
  font-size: 18px;
}

a {
    text-decoration: none;
}
.btn-custom-success {
    color: #000;
    background-color: #64f279;
    border-color: #28a745;
}
.btn-custom-success:hover {
    color: #000;
    background-color: #28a745;
}
.red_text{
	color: #f00;
}
.blue_text{
	color: #0078ff;
}
code {
	font-weight: 800;
	font-size: 14px;
	color: var(--bs-link-color) !Important;
}
.sb-sidenav .sb-sidenav-menu .nav .sb-sidenav-menu-heading {
	padding: 0.75rem 1rem 0.75rem;
}
.sb-sidenav-dark .sb-sidenav-menu .sb-sidenav-menu-heading {
	color: rgba(255, 255, 255, 0.75);
}
.sb-sidenav .sb-sidenav-menu .nav .nav-link {
	padding-top: 0.50rem;
	padding-bottom: 0.5rem;
}
.form-control[readonly]{
	background-color: #b9f1ff;
	color: #000;
	opacity: 1;
}
select.form-control, .select2-container--default select.select2-selection--single, .select2-container--default .select2-selection--single select.select2-search__field, select.typeahead, select.tt-query, select.tt-hint {
	outline: 1px solid #90949a;
	color: #90949a;
}
.form-control, .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--single .select2-search__field, .typeahead, .tt-query, .tt-hint {
	border: 1px solid #90949a;
}
#p_age {
	border: 1px solid #90949a !important;
	/*background-color: #b9f1ff;*/
}
#aadhaar_no{
	font-weight: bold;
	color: #005aff;
}
#epic_no{
	font-weight: bold;
	color: #005aff;
}
#mobile_no{
	font-weight: bold;
	color: #008e21;
	font-size: 16px;
}
#whatsapp_no{
	font-weight: bold;
	color: #38007d;
	font-size: 16px;
}
.text-danger{
	font-size: 14px;
	font-weight: bold;
	color: #da0000 !important;
}
.input-group-text {
	padding: 0.1rem 1.375rem;
	font-weight: bold;
}
#upload {
	opacity: 0;
}

#upload-label {
	position: absolute;
	top: 50%;
	left: 1rem;
	transform: translateY(-50%);
}

.image-area {
	border: 2px dashed rgba(0, 0, 0, 0.7);
	padding: 1rem;
	position: relative;
}

.image-area::before {
	content: 'Uploaded image result';
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 0.8rem;
	z-index: 1;
}

.image-area img {
	z-index: 2;
	position: relative;
}
.custom-light-bg {
	background-color: #f7f7f7;
}


  select {
      appearance: none;  /* Remove default browser styling */
      background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 16 16"%3E%3Cpath fill="black" d="M1 5l7 7 7-7H1z"/%3E%3C/svg%3E') no-repeat right 10px center;
      padding-right: 30px;  /* Space for the caret */
      background-size: 12px;  /* Size of the caret */
	  color: #000;
  }
  
  
/* Increase datepicker dropdown width */
.datepicker-dropdown {
	min-width: 340px; /* Wider calendar */
}

/* Make the dates inside the calendar stretch */
.datepicker table {
	width: 100%; /* Make table take full width */
}

.datepicker table tr td, 
.datepicker table tr th {
	width: 14.28%; /* Equal distribution for 7 days in a week */
	text-align: center; /* Keep the date numbers centered */
}


/* Change the calendar's background color */
.datepicker-dropdown {
	background-color: #f0f8ff;  /* Light blue background */
	border-radius: 8px;  /* Rounded corners */
}

/* Adjust the background color of table cells (for dates) */
.datepicker table tr td,
.datepicker table tr th {
	background-color: #f0f8ff;  /* White for the date cells */
}

/* Background color for selected date */
.datepicker table tr td.active,
.datepicker table tr td.active:hover {
	background-color: #2b8fff !important;  /* Bootstrap primary color */
	color: white;
}

/* Change hover background */
.datepicker table tr td:hover {
	background-color: #dbeafe;  /* Soft blue on hover */
}

.bg-dark {
  background-color: rgb(2 96 103) !important;
}
.sb-sidenav-dark {
    background-color: rgb(2 96 103) !important;
}

/* Professional Dashboard Theme */
:root {
    --primary-blue: #1a237e;
    --light-blue: #e8eaf6;
    --accent-gold: #ffd600;
    --text-dark: #2c3e50;
}

body.sb-nav-fixed {
    background-color: #f0f2f5;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

/* Modern Instruction Card */
.instruction-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.instruction-header {
    background-color: var(--primary-blue) !important;
    color: white;
    font-weight: 600;
    border-radius: 12px 12px 0 0 !important;
}

/* Styled List for Instructions */
.instruction-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.instruction-list li {
    position: relative;
    padding: 15px 15px 15px 60px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    transition: transform 0.2s;
}

.instruction-list li:hover {
    transform: translateX(5px);
    border-left: 4px solid var(--primary-blue);
}

.instruction-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Action Button Group */
.action-area {
    background: var(--light-blue);
    padding: 20px;
    border-radius: 0 0 12px 12px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.btn-action i {
    margin-right: 8px;
    font-size: 1.1rem;
}
/* Professional Sidebar Theme */
.sb-sidenav-dark {
    background: linear-gradient(180deg, #0d1b3e 0%, #1a237e 100%) !important;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sb-sidenav-menu-heading {
    color: #94a3b8 !important; /* Muted slate blue */
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700 !important;
    margin-top: 20px !important;
}

.nav-link {
    color: #cbd5e1 !important; /* Soft grey text */
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease !important;
}

.nav-link .sb-nav-link-icon {
    color: #60a5fa !important; /* Vibrant accent blue for icons */
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* Hover & Active States */
.nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-left: 4px solid #ffd600; /* Gold accent to match Notification button */
}

.nav-link.active .sb-nav-link-icon {
    color: #ffd600 !important;
}

/* Nested Sub-menu styling */
.sb-sidenav-menu-nested.nav {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 25px !important;
    padding-left: 10px;
}

.sb-sidenav-footer {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8 !important;
}
/* Professional Top Navbar */
.sb-topnav {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.navbar-brand {
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    color: #1a237e !important; /* Matches sidebar theme */
}

#sidebarToggle {
    color: #64748b !important;
    transition: color 0.2s;
}

#sidebarToggle:hover {
    color: #1a237e !important;
}

.post-badge {
    background-color: #f1f5f9;
    color: #475569 !important;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    border: 1px solid #e2e8f0;
}

/* User Dropdown Styling */
#navbarDropdown {
    color: #334155 !important;
    font-weight: 500;
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px 12px !important;
    border: 1px solid #e2e8f0;
}

#navbarDropdown:hover {
    background: #f1f5f9;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 10px !important;
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 8px 20px;
    color: #475569;
}

.dropdown-item:hover {
    background-color: #fff1f1;
    color: #dc3545; /* Red for logout */
}
/* Professional Dashboard Footer */
.footer-custom {
    background-color: #ffffff !important;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-link {
    color: #1a237e !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #0d47a1 !important;
    text-decoration: underline !important;
}

.footer-copyright {
    letter-spacing: 0.3px;
}

/* Document Upload UI */
.upload-zone {
    border: 2px dashed #d1d9e6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.upload-zone:hover {
    border-color: var(--primary-blue);
    background-color: #f1f5f9;
}

.upload-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* Compact Previews */
.preview-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 10px;
    overflow: hidden;
}

.img-preview {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Badge for limits */
.limit-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 4px;
    font-weight: 700;
}

.btn-upload {
    padding: 10px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

/* Ensure the modal doesn't require scrolling */
#cropModal .modal-body {
    background-color: #333; /* Dark background helps focus on the image */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.img-container {
    width: 100%;
    max-height: 400px;
}

/* Specific styling for the preview to show it's 2.5x3.5 ratio */
#preview1 {
    width: 100px;  /* 2.5 ratio */
    height: 140px; /* 3.5 ratio */
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

@media print {
  .no-print {
    display: none !important;
  }
}

/* Center the datepicker on mobile screens */
@media (max-width: 768px) {
	.datepicker-dropdown {
		min-width: 90%;  /* Responsive width */
		left: 50% !important;  /* Center horizontally */
		transform: translateX(-50%);  /* Center alignment fix */
		position: absolute;
		top: 20%;  /* Center vertically */
		z-index: 1050;  /* Prevent overlapping issues */
	}
}