@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: "Creato Display";
  src: url("/assets/fonts/CreatoDisplay-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

.fadedBtn {
  display: flex;
  padding: var(--8, 8px) var(--16, 16px);
  justify-content: center;
  align-items: center;
  gap: var(--8, 8px);
  border-radius: 8px;
  background: rgba(28, 28, 28, 0.05);
}

.blueBtn {
  display: flex;
  padding: var(--4, 4px) var(--8, 8px);
  justify-content: center;
  align-items: center;
  gap: var(--4, 4px);
  border-radius: 5px;
  background: var(--Linear, linear-gradient(90deg, #0b6bc1 0%, #003375 100%));
  color: #fff;
  text-align: center;
  font-feature-settings: "ss01" on, "cv01" on, "cv11" on;
  font-family: "Creato Display";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}

.whiteBtn {
  display: flex;
  padding: var(--8, 8px) var(--16, 16px);
  justify-content: center;
  align-items: center;
  gap: var(--8, 8px);
  border-radius: 8px;
  background: #fff;
}

.customTextBtn {
  text-align: center;
  font-family: "Creato Display";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px; /* 142.857% */
  background: var(--Linear, linear-gradient(90deg, #0b6bc1 0%, #003375 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font24700 {
  color: var(--black-100, #1c1c1c);
  font-feature-settings: "ss01" on, "cv01" on, "cv11" on;
  font-family: "Creato Display";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px; /* 150% */
}

.font22700 {
  color: #fff;
  font-feature-settings: "ss01" on, "cv01" on, "cv11" on;
  font-family: "Creato Display";
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 34px; /* 154.545% */
}
.font11500 {
  color: black;
  font-family: "Creato Display";
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px; /* 163.636% */
}

.font14500 {
  color: #1c1c1c;
  font-family: "Creato Display";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}

.font24700 {
  color: #fff;
  font-family: "Creato Display";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px; /* 150% */
}

/* For the normal background */
.bg-custom-normal {
  background-color: #f7f9fb;
}

/* For the hover effect with gradient */
.bg-custom-hover {
  background: linear-gradient(90deg, #0b6bc1 0%, #003375 100%);
}

.header {
  border-bottom: 1px solid var(--black-10, rgba(28, 28, 28, 0.1));
}

.search-container {
  display: flex;
  width: 160px;
  padding: 4px 8px;
  align-items: center;
  border-radius: 8px;
  background: rgba(28, 28, 28, 0.05);
  position: relative;
}

.search-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #6b6b6b;
  width: 100%;
  padding-right: 24px; /* Adjust padding to make room for the icon */
}

.search-icon {
  position: absolute;
  right: 8px;
  color: #6b6b6b;
  font-size: 14px;
}

.dashboard-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.title-section {
  display: flex;
  flex-direction: column;
}

.dashboard-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.dashboard-subtitle {
  font-size: 14px;
  color: #a0a0a0;
}

.search-container {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(28, 28, 28, 0.05);
  width: 200px;
}

.search-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  padding: 5px;
  font-size: 14px;
  color: #6b6b6b;
}

.search-icon {
  font-size: 14px;
  color: #6b6b6b;
  margin-left: 8px;
}

.dashboard-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.dashboard-card {
  background: #f7f9fb;
  border-radius: 10px;
  padding: 20px;
  width: 23%;
  transition: background-color 0.3s, color 0.3s;
}

.dashboard-card:hover {
  background: linear-gradient(90deg, #0b6bc1 0%, #003375 100%);
  color: white;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-value {
  font-size: 24px;
  font-weight: 700;
}

.card-change {
  font-size: 12px;
  font-weight: 500;
}

.referCTA {
  border-radius: var(--16, 16px);
  background: var(--Linear, linear-gradient(90deg, #0b6bc1 0%, #003375 100%));
}

.AlertCard {
  border-radius: var(--16, 16px);
  background: var(--Linear, linear-gradient(90deg, #0b6bc1 0%, #003375 100%));
}

.btnDiv {
  width: 142px;
  border-radius: 8px;
  border: 1px solid var(--Linear, #0b6bc1);
}

.LoginBg {
  background: url("/assets/images/LoginBg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.loginTemplate {
  border-radius: 30px;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    linear-gradient(
      90deg,
      rgba(11, 107, 193, 0.1) 0%,
      rgba(0, 51, 117, 0.1) 100%
    );
  backdrop-filter: blur(17px);
}

.CustomInput {
  color: white;
  display: flex;
  padding: 8px 16px;
  align-items: center;
  gap: var(--8, 8px);
  align-self: stretch;
  border-radius: var(--8, 8px);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.CustomInput::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
