:root {
  --primary-blue-color: #177dbf;
  --secondary-blue-color: #387aba;
  --third-light-blue-color: #dbf1ff;
  --text-color: #565767;
  --light-grey-color: #f5f5f5;
  --white-color: #ffffff;
  --black-color: #000000;
}

html,
body,
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 26/06/25 */

.filter-reset-btn-box .form-select {
  border: 1px solid var(--primary-blue-color);
  color: var(--primary-blue-color);
  padding: 0;
  padding-left: 0.4rem !important;
  margin: 0;
  margin-top: 0.2rem !important;
  margin-left: 0.875rem;
  font-size: 0.625rem;
  width: 135px;
  height: 25px;
  --bs-form-select-bg-img: url("../icons/blue-arrow-down-icon.svg");
}

/* ===== TABLE STYLING - CONSISTENT DESIGN FOR ALL TABLES ===== */

.advertiser-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  font-family: var(--primary-font);
  border-radius: 12px;
  overflow: auto;
  height: calc(100vh - 21rem);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: white;
}

.advertiser-table-wrapper * {
  font-family: var(--primary-font);
}

.advertiser-table {
  min-width: 900px;
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  table-layout: auto;
}

/* Table Header Styling */
.advertiser-thead {
  background: linear-gradient(135deg, #177dbf 0%, #1e88d4 100%);
  color: white;
}

.advertiser-thead tr td {
  color: white;
  font-weight: 600;
  font-size: 13px;
  background: transparent !important;
  text-transform: uppercase;
  font-family: var(--primary-font);
  padding: 16px 12px;
  border: none;
  letter-spacing: 0.5px;
  position: relative;
}

.advertiser-thead tr td:first-child {
  border-top-left-radius: 12px;
}

.advertiser-thead tr td:last-child {
  border-top-right-radius: 12px;
}

/* Table Body Styling */
.advertiser-tbody td {
  background-color: #f5f5f5;
  font-family: var(--primary-font);
  padding: 14px 12px;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
  color: #333333;
}

.advertiser-tbody tr:hover td {
  background-color: #e8e8e8;
}

.advertiser-tbody tr:last-child td {
  border-bottom: none;
}

/* Table Row Styling */
.advertiser-row {
  transition: all 0.2s ease;
  background-color: #f5f5f5;
}

.advertiser-row:hover {
  background-color: #e8e8e8;
}

/* Table Cell Styling */
.advertiser-table th,
.advertiser-table td {
  padding: 14px 12px;
  border: none;
  vertical-align: middle;
}

/* Action Icons */
.advertiser-actions .action-icon {
  color: #177dbf;
  margin: 0 5px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 6px;
  border-radius: 4px;
}

.advertiser-actions .action-icon:hover {
  color: #0056b3;
  background-color: #f0f8ff;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .advertiser-table {
    font-size: 12px;
    min-width: 600px;
  }

  .advertiser-table th,
  .advertiser-table td {
    padding: 10px 6px;
  }

  .advertiser-thead tr td {
    font-size: 12px;
    padding: 12px 6px;
  }

  .advertiser-actions .action-icon {
    font-size: 12px;
    margin: 0 4px;
    padding: 4px;
  }
}

@media (max-width: 576px) {
  .advertiser-table {
    min-width: 400px;
  }
  
  .advertiser-table th,
  .advertiser-table td {
    padding: 8px 4px;
  }
  
  .advertiser-thead tr td {
    font-size: 11px;
    padding: 10px 4px;
  }
}

/* Specific Column Widths */
.thead-date {
  min-width: 90px;
  white-space: nowrap;
}

.thead-id {
  min-width: 60px;
  white-space: nowrap;
}

.thead-name {
  min-width: 120px;
}

.thead-email {
  min-width: 150px;
}

.thead-phone {
  min-width: 100px;
  white-space: nowrap;
}

.thead-vertical {
  min-width: 100px;
}

.thead-manager {
  min-width: 120px;
}

/* Empty State Styling */
.advertiser-tbody tr td[colspan] {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
  font-style: italic;
  background-color: #f8f9fa;
}

/* Loading State */
.advertiser-tbody tr td[colspan]:contains("Loading") {
  color: #177dbf;
  font-weight: 500;
}

/* Table Border and Shadow */
.advertiser-table {
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Remove zebra striping - make all rows uniform */
.advertiser-tbody tr:nth-child(even) td {
  background-color: #f5f5f5;
}

.advertiser-tbody tr:nth-child(even):hover td {
  background-color: #e8e8e8;
}

.advertiser-tbody tr:nth-child(odd) td {
  background-color: #f5f5f5;
}

.advertiser-tbody tr:nth-child(odd):hover td {
  background-color: #e8e8e8;
}

/* 27/06/25 */
.heading-right h4 {
  color: var(--white-color);
  font-size: 14px;
}

.advertiser-form-section {
  background-color: #fff;
}

.advertiser-input {
  border: 1px solid #177dbf;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 14px;
}

.advertiser-submit-btn,
.advertiser-reset-btn {
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 14px;
}

.advertiser-reset-btn {
  border: 1px solid #177dbf;
  color: #565767;
  font-weight: 600;
}

.advertiser-submit-btn {
  border: 1px solid #177dbf;
  color: #565767;
  font-weight: 600;
}

.advertiser-download-btn {
  color: #565767;
  font-weight: 600;
  border: 1px solid #565767;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 14px;
}

.date-picker-box input {
  border: none;
  color: var(--primary-blue-color);
  font: 300 0.75rem var(--primary-font);
  min-width: 200px;
  width: 250px;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
}

.date-picker-box input:focus {
  outline: none;
  border-color: var(--primary-blue-color);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Ensure the date picker container has enough space */
.date-picker-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 280px;
}

/* Content heading box layout */
.content-heading-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.content-page-name-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-page-name-tag h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-blue-color);
}

/* Responsive styles for date picker */
@media (max-width: 768px) {
  .date-picker-box {
    min-width: 100%;
    width: 100%;
  }
  
  .date-picker-box input {
    min-width: 100%;
    width: 100%;
  }
  
  .content-heading-box {
    flex-direction: column;
    align-items: stretch;
  }
  
  .content-page-name-tag.justify-content-md-end {
    justify-content: flex-start !important;
  }
}

@media (max-width: 576px) {
  .date-picker-box {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  
  .date-picker-box input {
    font-size: 14px;
    padding: 10px 12px;
  }
}

.advertiser-form {
  background-color: #f9f9f9;
  padding-inline: 0.875rem;
  border-radius: 0.75rem;
  padding-bottom: 0.875rem;
}

input::placeholder,
select {
  font-family: var(--primary-font);
}

.advertiser-table-wrapper table .fa-classic,
.advertiser-table-wrapper table .fa-regular,
.advertiser-table-wrapper table .fa-solid,
.advertiser-table-wrapper table .far,
.advertiser-table-wrapper table .fas {
  font-family: "Font Awesome 6 Free";
}

.form-container .step-form-container {
  margin: auto;
  border-radius: 1rem;
}

.form-step {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
  display: flex;
  flex-wrap: wrap;
}

.form-step.active > * {
  padding-inline: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-form-container .form-group {
  margin-bottom: 20px;
}

.step-form-container label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

/* .step-form-container input,
.step-form-container select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
} */

.button-group {
  display: flex;
  gap: 5px;
}

/* .step-form-container button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background: #007bff;
  color: white;
  cursor: pointer;
} */

.step-form-container button[disabled] {
  background: #aaa;
  cursor: not-allowed;
}

.step-indicator {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.step-indicator span.step span:first-child {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  line-height: 30px;
  margin: 0 5px;
  background-color: var(--white-color);
  color: var(--primary-blue-color);
  border: 1px solid var(--primary-blue-color);
}

.step-indicator span.step span:last-child {
  color: var(--black-color);
  margin-top: 0.5rem;
}

.step-indicator span.step {
  display: flex;
  flex-direction: column;
  font: 300 0.875rem var(--primary-font);
  opacity: 0.6;
  align-items: center;
}

.step-indicator span.step.active {
  opacity: 1;
}

/* .submit-message {
  text-align: center;
  font-weight: bold;
  color: green;
} */

span.input-group-text.advertiser-input {
  border-radius: 0 8px 8px 0 !important;
  border-left: 0;
  width: 16%;
}

a.tag-input-btn {
  width: 84%;
  text-align: left;
  color: var(--text-color);
}

a.tag-input-btn:hover {
  border: 1px solid var(--primary-blue-color);
}

.tag-input-box .card-body {
  margin-top: 0.325rem;
  border: 1px solid var(--primary-blue-color);
}

.tag-btn {
  border: 1px solid var(--primary-blue-color);
  background-color: var(--light-grey-color);
  border-radius: 1.5rem;
  color: var(--primary-blue-color);
  padding: 0.38rem 0.75rem 0.3rem;
  margin-bottom: 0.4rem;
  margin-right: 0.5rem;
  font: 300 0.65rem var(--primary-font);
  transition: all 0.6s ease-in-out;
}

.tag-btn:hover,
.tag-btn.active {
  background-color: var(--primary-blue-color);
  color: var(--white-color);
  border: 1px solid var(--primary-blue-color);
}

ul.tag-input-ul {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

main.login-main-wrapper {
  width: 100%;
  height: 100vh;
  background-image: url("../images/login-bg-img.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.login-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.login-form-container {
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: 1.25rem;
  height: 100%;
}

.logo-tag-line-box p {
  font: 300 0.75rem var(--primary-font);
  color: var(--primary-blue-color);
  padding-top: 0.75rem;
}

.login-form-container h3 {
  font: 500 1.375rem var(--primary-font);
  color: var(--primary-blue-color);
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.login-img-box {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-img-box img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  transform: scale(1.15);
}

.login-form-container label {
  display: none;
}

.login-form-container input.form-control {
  border: none;
  border-bottom: 1px solid var(--primary-blue-color);
  border-radius: 0;
}

.login-form-container input.form-control::placeholder {
  color: #000;
  font: 400 0.875rem var(--primary-font);
}

.login-btn:hover {
  background-color: var(--primary-blue-color);
  color: var(--white-color);
}

.forget-password-btn {
  color: var(--primary-blue-color);
  font: 300 0.625rem var(--primary-font);
  padding-top: 0.375rem;
}

.forget-password-submit-btn-box {
  display: flex;
  flex-direction: column;
  align-items: self-start;
}

/* !----------- */

/* !SWITCH 3 ------------------------------------------------*/
.switch-box {
  display: flex;
  align-items: center;
  padding-bottom: 0.875rem;
}

.switch-label-txt {
  font: 500 1rem var(--primary-font);
  color: var(--primary-blue-color);
  margin-right: 0.875rem;
}

.switch-box label.switch3 {
  display: block;
  position: relative;
  display: inline-block;
  width: 80px;
  height: 37px;
  border-radius: 37px;
  background-color: #f3f4f4;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
}

.switch-box .switch3 input {
  display: none;
}

.switch-box .switch3 input:checked + div {
  left: calc(80px - 32px);
  box-shadow: 0px 0px 0px white;
}

.switch-box .switch3 div {
  position: absolute;
  width: 27px;
  height: 27px;
  border-radius: 27px;
  background-color: white;
  top: 5px;
  left: 5px;
  box-shadow: 0px 0px 1px rgb(150, 150, 150);
  transition: all 0.3s;
}

.switch-box .switch3 div:before,
.switch-box .switch3 div:after {
  position: absolute;
  content: "ON";
  width: calc(80px - 40px);
  height: 37px;
  line-height: 37px;
  font-family: "Varela Round";
  font-size: 14px;
  font-weight: bold;
  top: -5px;
}

.switch-box .switch3 div:before {
  content: "OFF";
  color: var(--text-color);
  left: 100%;
  margin-left: 5px;
  font-family: var(--primary-font);
}

.switch-box .switch3 div:after {
  content: "ON";
  right: 100%;
  color: white;
  font-family: var(--primary-font);
}

.switch-box label.switch3.switch3-checked {
  background-color: var(--primary-blue-color);
  box-shadow: none;
}

.card-body {
  margin-top: 0.325rem;
  border: 1px solid var(--primary-blue-color);
}

.card-body-animate {
  animation: growFromTop 0.3s ease-out forwards;
  transform-origin: top;
  overflow: hidden;
}

@keyframes growFromTop {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.thead-date {
  min-width: 70px;
  padding: 20px;
  /* background-color: ; */
}
