@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-VariableFont.ttf") format("truetype");
}

html {
  font-family: "DM Sans";
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: "DM Sans";
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  color: #0f2137;
  text-align: left;
  background-color: #fff;
}

.card.shadow-sm {
  border-radius: 1.5rem;
}

.display-1 {
  font-size: 2rem;
}

.display-2 {
  font-size: 1.75rem;
}

.display-3 {
  font-size: 1.5rem;
}

.lead {
  font-size: 1rem;
}

.fs-14 {
  font-size: 0.84rem;
}

.fs-12 {
  font-size: 0.75rem;
}

.btn-primary {
  background-color: #e4312a;
  border-color: #e4312a;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #e4312a;
  border-color: #e4312a;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  background-color: #e4312a;
  border-color: #e4312a;
}

.swd-icon-btn {
  display: inline-flex;
  align-items: center;
}

.swd-icon-btn img {
  width: 24px;
  margin-right: 0.2rem;
}

.digit-input {
  width: 33.333%;
  text-align: center;
  font-size: 1.2rem;
}

.swd-text-primary {
  color: #e4312a;
}

.swd-bg-primary {
  background-color: #e4312a;
  ;
}

.swd-fw-700 {
  font-weight: 700;
}

.d-none {
  display: none;
}

/* calender_styles starts */

.calendar {
  max-width: 700px;
  /* margin: 50px auto; */
  padding: 20px 0px;
  /* background-color: #2c4b75;
  border-radius: 8px; */
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-header .btn {
  color: #e4312a;
  border: 1px solid #e4312a;
}

.calendar-header h2 {
  margin: 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}

.calendar-grid div {
  padding: 10px 0px;
  text-align: center;
  background-color: #edebeb;
  cursor: pointer;
}

.calendar-grid .day-name {
  font-weight: 600;
  background-color: #e4312a;
  color: #fff;
  font-size: 0.84rem;
  cursor: default;
}

.calendar-grid .inactive {
  background-color: #444;
  color: #888;
  cursor: default;
}

.calendar-grid .today {
  background-color: #1f2b40;
  color: #fff;
}

.calendar-grid div.selected {
  background-color: #e4312a;
  /* border: 1px solid #fff; */
  color: #fff;
}

.weekend {
  color: #999;
  background-color: #757272 !important;
  cursor: default !important;
}

.btn-outline-light {
  color: #0f2137;
}


.inactive {
  pointer-events: none;
  color: #ccc;
}

.weekend {
  background-color: #f8f9fa; /* light gray or change as needed */
  color: #888;
}

.swd-active{background-color: #e4312a;color: #fff;}
.swd-active:hover{background-color: #e4312a;color: #fff;}