/* Audit Point 16: Restore visual appearance of footer headings after changing from h3 to h2 */
.footer-top .single-footer h2 {
    font-size: 18px; /* Adjust as needed to match original h3 size */
    font-weight: 600; /* Adjust as needed */
    color: #ccc; /* Updated text color */
    margin-bottom: 15px; /* Reduced margin */
    padding-bottom: 10px; /* Added padding */
    text-transform: capitalize; /* Add other styles like text-transform if they were present */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
    position: relative; /* Needed for potential pseudo-elements if border was more complex */
}

/* Audit Point 23: Style marquee list items to display inline */
.breaking-news .news-scroll ul {
    padding: 0;
    margin: 0;
    list-style: none;
    /* Force items onto one line - might need adjustment */
    white-space: nowrap; 
    display: inline; /* Try inline display for UL */
}

.breaking-news .news-scroll li {
    display: inline-block; /* Display LIs inline */
    margin-right: 15px; /* Add some spacing between items */
    vertical-align: middle; /* Align items vertically if needed */
}

/* Ensure the dot and link stay together */
.breaking-news .news-scroll li span.dot {
    margin-right: 5px;
}

/* Audit: increase contrast for NEW/नया badges in marquee */
.label-new {
    color: #d30000;
    font-weight: bold;
}

/* Audit Point 26: Increase contrast for default state of client slider nav buttons */
.clients-slider .owl-nav [class*="owl-"] {
    background: #767676 !important; /* Darker grey for better contrast against white icon */
    color: #fff !important; /* Ensure icon color remains white */
}

/* Ensure hover state still meets contrast (it already did, but good practice) */
.clients-slider .owl-nav [class*="owl-"]:hover {
    background: #fff !important; /* Adjust hover if needed, keeping >= 3:1 contrast */
    color: #000000 !important;
}

/* Audit Point 27: Increase contrast for product slider titles */
ul.tnslider li span.title {
    background-color: #fff !important;
    color: #000000 !important; /* Change text color to black for contrast against background */
    /* background-color: #748A9F; - Verify this is the actual background or adjust selector */
}

/* Audit Point 49: Increase contrast for form input placeholders */
.form-control::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #767676 !important;
}
.form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: #767676 !important;
   opacity: 1;
}
.form-control::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #767676 !important;
   opacity: 1;
}
.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #767676 !important;
}
.form-control::-ms-input-placeholder { /* Microsoft Edge */
   color: #767676 !important;
}
.form-control::placeholder { /* Most modern browsers */
  color: #767676 !important;
  opacity: 1; /* Firefox adds a lower opacity */
}

/* Ensure required field asterisk has sufficient contrast if using default red */
.required::after {
    color: #C00000; /* Darker red asterisk for contrast */
}

/* Audit Point 50: Increase contrast for form input borders */
.form-control {
    border: 1px solid #888888 !important; /* Ensure border contrast is >= 3:1 against background */
}

/* Audit Point 55: Increase contrast for form input focus indicator */
.form-control:focus {
    border-color: #555555 !important; /* Darker border for focus */
    box-shadow: 0 0 0 0.2rem rgba(136, 136, 136, 0.25) !important; /* Use new border color base for glow */
    outline: none !important; /* Rely on box-shadow for focus indication */
}

/* Audit Point 45/46/58: Restore visual appearance of breadcrumb heading after changing from h2 to h1 */
/* .breadcrumbs h1 { */
/*     color: #fff; */
/*     text-transform: capitalize; */
/*     font-size: 25px; */
/*     font-weight: 700; */
/*     margin: 0; */
/*     padding: 0; */
/*     float: left; */
/* } */

/* Fix contrast for mandatory note text and asterisk */
.form-note-mandatory {
    color: #000000 !important; /* Black text for high contrast */
}

.form-note-mandatory span {
    color: #CC0000 !important; /* Darker red for asterisk */
    font-weight: bold; /* Keep asterisk bold */
}

/* Accessibility Fix: Ensure sufficient contrast for links within vigilance tab panes */
.tab-pane a {
    color: #000000; /* Black text for high contrast */
    text-decoration: none;
  }
  
  .tab-pane a:hover,
  .tab-pane a:focus {
    color: #30466f; /* Use theme color for hover/focus */
    text-decoration: underline;
  }
  
  /* Set default text color for tab-pane content */
  .tab-pane {
      color: #000000; /* Default to black for any non-link text */
  }

  body:not(.dark-mode) .footer a:hover, body:not(.dark-mode) .footer a:focus {
    color: #ffffff !important; /* Prevent background color change */
  }

  
/* Inline CSS Replacements */

/* Logo styles */
.logo-amrit {
    padding-top: 17px;
}

/* Notice board heading */
.notice-board-title {
    font-size: 30px;
    font-weight: 600;
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 15px;
    color: #30466f;
}

/* Table styles */
.table-bordered-custom {
    border-collapse: collapse;
    border: 1px solid #ccc;
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
}

.table-bordered-custom th,
.table-bordered-custom td {
    padding: 10px;
    border: 1px solid #ccc;
}

.table-bordered-custom thead {
    background-color: #e0f2f7;
    color: #555;
    font-weight: bold;
}

.table-bordered-dark {
    border-collapse: collapse;
    border: 1px solid #475f8b;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.table-bordered-dark th,
.table-bordered-dark td {
    padding: 10px;
    border: 1px solid #475f8b;
}

.table-bordered-dark thead {
    background-color: #e0f2f7;
    color: #555;
    font-weight: 600;
}

.table-bordered-dark tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table-csr {
    border-collapse: collapse;
    border: 1px solid black;
    text-align: center;
    width: 100%;
}

.table-csr th {
    padding: 10px;
    border: 1px solid #475f8b;
    background: #30466f;
    color: #fff;
}

.table-csr td {
    padding: 10px;
    border: 1px solid #475f8b;
}

.table-csr tr:nth-child(even) td {
    background: #e6efff;
}

/* Tab navigation styles */
.nav-tabs > li > a {
    background-color: #f4f6fb;
    border: 1px solid #d3d9ef;
    color: #30466f;
    font-weight: 600;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
    background-color: #e6ecfb;
    color: #1f2f4b;
}

.nav-tabs > li > a.active,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    background-color: #30466f !important;
    color: #fff !important;
    border-color: #30466f #30466f transparent;
}

.tab-content {
    border: 1px solid #d3d9ef;
    border-top: none;
    padding: 20px;
    background-color: #fff;
}

/* File extension display */
.file-extension {
    text-transform: uppercase;
}

.file-extension-info {
    text-transform: uppercase;
}

/* Link styles */
.link-underline {
    text-decoration: underline;
    color: blue;
}

.link-bold {
    font-weight: bold;
}

.pdf-icon {
    color: black;
}

/* Container margin */
.container-margin-bottom {
    margin-bottom: 28px;
}

/* Section padding */
.section-padding {
    padding: 70px 0;
}

.section-padding-top {
    padding: 70px 0 0px;
}

/* Text alignment and spacing */
.text-center-medium {
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.text-center-large {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Video container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 30px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Portal link */
.portal-link {
    text-align: center;
}

.btn-portal {
    font-size: 16px;
    padding: 12px 30px;
}

/* News highlight */
.news-highlight {
    color: red;
    font-weight: bold;
}

/* Read more link */
.read-more-link {
    color: #30466F;
}

/* Background colors */
.bg-white-custom {
    background: #fff;
}

/* CSR heading */
.csr-heading {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #30466f;
}

/* Captcha styles */
.captcha-image-container {
    margin-bottom: 15px;
    display: inline-block;
    vertical-align: middle;
}

.captcha-image {
    border: 1px solid #ccc;
}

.captcha-input-container {
    max-width: 250px;
}

/* Form note */
.form-note-required {
    color: #333333;
    font-weight: bold;
}

/* Column width styles */
.col-width-100 {
    width: 100px;
}

.col-width-670 {
    width: 670px;
}

.col-width-300 {
    width: 300px;
}

.col-width-200 {
    width: 200px;
}

/* Table CSR text alignment */
.table-csr td.text-left {
    text-align: left;
}

/* Table border center */
.table-border-center {
    border-collapse: collapse;
    border: 1px solid black;
    text-align: center;
}

/* Downloads page table styling */
.downloads-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid black;
    text-align: center;
}

.downloads-table td,
.downloads-table th {
    padding: 10px;
    border: 1px solid #475f8b;
}

.downloads-table th {
    text-align: center;
    background: #30466f;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
}

.downloads-table tr:nth-of-type(odd) {
    background: #e6efff;
}

.downloads-table tr:nth-of-type(even) {
    background: #fff;
}

.downloads-table tr {
    border: 1px solid #475f8b;
}

/* Description column should be left-aligned */
.downloads-table td:nth-child(2) {
    text-align: left;
}

/* File extension uppercase */
.file-extension-uppercase {
    text-transform: uppercase;
}

/* Flex center */
.flex-center {
    justify-content: center;
    display: flex;
}

/* Heading margin */
.heading-margin {
    margin: 0 0 20px 0;
}

/* Column margin */
.col-margin {
    margin: 20px 0;
}

/* Overflow auto */
.overflow-auto {
    overflow-x: auto;
}

/* Table full width */
.table-full-width {
    border-collapse: collapse;
    width: 100%;
}

/* Table bordered black */
.table-bordered-black {
    border: 1px solid #000;
    border-collapse: collapse;
}

/* Image margin top */
.img-margin-top {
    margin-top: 15px;
}

/* Image padding top */
.img-padding-top {
    padding-top: 17px;
}

/* Min height */
.min-height-content {
    min-height: 70vh;
}

/* Section background white */
.section-bg-white {
    background-color: #fff;
}

/* Container margin bottom */
.container-margin-bottom-28 {
    margin-bottom: 28px;
}

/* Section padding */
.section-padding-70 {
    padding: 70px 0;
}

.section-padding-70-top {
    padding: 70px 0 0px;
}

/* Text center medium */
.text-center-medium {
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.text-center-large {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Video container */
.video-container-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 30px;
}

.video-container-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Portal link */
.portal-link-center {
    text-align: center;
}

.btn-portal {
    font-size: 16px;
    padding: 12px 30px;
}

/* Read more link */
.read-more-link {
    color: #30466F;
}

/* Clients background */
.clients-bg-white {
    background: #fff;
}

/* Heading margin bottom */
.heading-margin-bottom {
    margin-bottom: 10px;
}

.heading-margin-bottom-10 {
    margin-bottom: 10px;
}

/* Font weight */
.font-weight-600 {
    font-weight: 600;
}

/* Image float left */
.img-float-left {
    width: 100px;
    float: left;
    margin-right: 10px;
}

/* Text align right */
.text-align-right {
    text-align: right;
}

/* Table column width */
.table-col-width-120 {
    width: 120px;
}

/* Error page styles */
.error-container {
    border: 1px solid #990000;
    padding-left: 20px;
    margin: 0 0 10px 0;
}

.error-backtrace {
    margin-left: 10px;
}

.error-hr {
    margin: auto;
    width: 50%;
}

/* Complaint tracking page styles */
.track-panel-body {
    padding: 5rem;
}

.track-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.track-captcha-section {
    margin-top: 3rem;
}

.track-captcha-section .row:nth-child(2) {
    margin-top: 0.5rem;
}

.track-captcha-input {
    font-size: 1.5rem;
    letter-spacing: 5px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    width: 100%;
    transition: border-color 0.3s ease;
}

.track-captcha-input:focus {
    border-color: #30466f;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(48, 70, 111, 0.25);
}

.track-captcha-input-container {
    display: flex;
    justify-content: center;
}

.track-captcha-input-group {
    max-width: 400px;
    margin: 0 auto;
}

.track-captcha-input-group .input-group-btn .btn {
    border-left: none;
    border-color: #ddd;
}

.track-captcha-input-group .input-group-btn .btn:hover {
    background-color: #f5f5f5;
    border-color: #30466f;
}

/* Form validation error styles */
.track-input-error {
    border: 2px solid #a94442 !important;
}

.track-input-error:focus {
    border-color: #a94442 !important;
    box-shadow: 0 0 0 0.2rem rgba(169, 68, 66, 0.25) !important;
}

/* Modal display - using class instead of inline style */
.track-modal-show {
    display: block !important;
}

.track-modal-hide {
    display: none !important;
}

/* List styles */
.csr-list {
    margin-left: 20px;
    padding-left: 0;
}

/* Overflow container */
.overflow-scroll {
    overflow-y: scroll;
}

/* Help section styles */
.help-section-bg {
    background-color: #fff;
}

.help-heading {
    margin-bottom: 10px;
}

/* Vigilance page styles */
.vigilance-pdf-text {
    color: #000;
}

.vigilance-pdf-icon {
    color: red;
}

.vigilance-name {
    font-weight: 600;
}

/* Additional inline style replacements for CSP compliance */

/* Alert margin bottom */
.alert-margin-bottom {
    margin-bottom: 8px;
}

/* Container margins */
.container-margin-top {
    margin-top: 1rem;
}

.row-margin-top {
    margin-top: 2rem;
}

/* Button margins */
.btn-margin-left {
    margin-left: 5px;
}

/* Icon colors */
.icon-red {
    color: red;
}

.icon-green {
    color: green;
}

.icon-dodgerblue {
    color: dodgerblue;
}

.icon-black {
    color: black;
}

.icon-color-black {
    color: #000;
}

/* Error text color */
.error-text-color {
    color: #a94442;
}

/* Captcha image styles */
.captcha-image-responsive {
    border: 1px solid #ccc;
    max-width: 100%;
    height: auto;
}

.captcha-image-border {
    border: 1px solid #ccc;
}

/* Panel footer flex */
.panel-footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Display block */
.display-block {
    display: block;
}

/* Search count display */
.search-count-display {
    font-size: 1.1em;
    min-height: 1.5em;
}

/* Password strength meter */
.password-strength-meter {
    margin-top: 5px;
}

.password-strength-meter .progress {
    height: 20px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
}

/* Progress bar colors for password strength */
.progress-bar-strength-strong {
    background-color: #28a745 !important;
}

.progress-bar-strength-good {
    background-color: #20c997 !important;
}

.progress-bar-strength-fair {
    background-color: #ffc107 !important;
}

.progress-bar-strength-weak {
    background-color: #fd7e14 !important;
}

.progress-bar-strength-poor {
    background-color: #dc3545 !important;
}

.progress-bar-strength-default {
    background-color: #6c757d !important;
}

/* Password strength progress bar - width set dynamically via style tag with nonce */

/* Container features */
.container-features {
    background: none;
    padding: 50px 0;
}

/* HR border */
.hr-border {
    border-top: 1px solid #eee;
    margin: 30px 0;
}

/* Error margin top */
.error-margin-top {
    margin-top: 15px;
}

/* Link underline blue */
.link-underline-blue {
    text-decoration: underline;
    color: blue;
}

.link-underline-blue-bold {
    text-decoration: underline;
    color: blue;
    font-weight: bold;
}