@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Nunito", sans-serif;
  overflow-x: hidden;
}
:root {
  --main-background: rgb(25, 123, 161);
  --main-color: #fff;
  --letter-space: 1px;
  --main-gray: rgba(185, 185, 185, 0.87);
  --text-gray: #bab9b9;
  --tabs-background: #f2efef;
  --button-color: #f7a8b5;
  --main-transition: all 0.4 ease-out;
  --button-background: #bacdde;
}
ul {
  list-style: none;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 0;
}
a {
  text-decoration: none;
}
label {
  font-size: 10px;
}
.title__color--main {
  color: var(--main-background);
}
.title__color--gray {
  color: var(--text-gray);
}
.input__width--center {
  width: 80%;
  margin: auto;
}
.half-width {
  width: 470px;
  max-width: 85vw;
}
img {
  max-width: 100%;
  height: auto;
}
/* Media Query */
@media (max-width: 600px) {
  .half-width {
    width: 85vw;
  }
}
/* ------------ general styles -------------- */
.conatainer {
  padding-right: 15px;
  padding-left: 15px;
  width: 90%;
  margin: auto;
}
.input__container input {
  border-radius: 15px;
}
.page__title {
  color: var(--main-gray);
  margin-bottom: 3rem;
  margin-top: 1rem;
  font-size: 2.5rem;
  font-weight: 550;
}
.tab__title {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 1.5rem 0 1.5rem 1.5rem;
}
.action__btn {
  width: 100%;
  padding: 8px;
  background: var(--main-background);
  color: var(--main-color);
  border: none;
  border-radius: 15px;
  font-size: 15px;
}
[data-tab-contnet] {
  display: none;
}
.active[data-tab-contnet] {
  display: block;
}
/* ------------ end of general styles -------------- */

/* --------------- Create a case  ----------------- */
.case__container {
  width: 65%;
  margin: 6rem auto 3rem;
}
.case__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.case__title {
  color: var(--main-background);
  font-size: 2.1rem;
  font-weight: 550;
}
.img__container {
  margin: auto;
}
.case__img {
  width: 90px;
}
.img__container img {
  max-width: 100%;
  height: auto;
}
.case__btn {
  align-items: center;
  gap: 14px;
  background-color: var(--button-color);
  padding: 12px 25px;
  border-radius: 12px;
  transition: var(--main-transition);
}
.case__btn.active {
  box-shadow: 1px 2px 3px 0px rgb(0 0 0 / 50%);
}
.case__btn span {
  color: #fff;
}
.case__btn img {
  width: 27px;
  height: auto;
  mix-blend-mode: color-dodge;
}
/* ---------- case content --------- */
.case__content {
  background-color: #f2efef;
  padding: 2rem 0;
}
.title__text {
  font-size: 1.7rem;
  font-weight: 600;
}
.tag__btns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(93.3px, 1fr));
  gap: 20px;
}
.tag__btns--action {
  background: var(--text-gray);
  color: #fff;
  gap: 10px;
  align-items: center;
  border-radius: 7px;
}
.tag__btns--action:hover {
  color: #fff;
}
.tag__btns--action.active {
  background-color: var(--button-color);
}
.tag__btns--action img {
  width: 25px;
  mix-blend-mode: plus-lighter;
}
.tag__btns--action span {
  font-size: 13px;
}
/* ----- individual ---- */
.individual__case {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0px 20px;
}
.individual__case .select__container select {
  border-radius: 15px;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
.case__amount {
  border: 1px solid #ced4da;
  border-radius: 15px;
  display: flex;
  padding: 0.375rem 0.75rem;
  background-color: #fff;
  overflow: hidden;
}
.case__amount span {
  padding-right: 10px;
  color: var(--main-background);
  font-weight: 400;
}
.case__amount input {
  border: 0;
  outline: 0;
  line-height: normal;
  border-radius: unset;
}
.case__amount input:hover,
.case__amount input:focus {
  border: 0;
  outline: 0;
}
.individual__case--date {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px 20px;
}
.map__container div {
  gap: 15px;
}
.step2__btn {
  width: 75%;
}
.individual__docs--label {
  height: 100px;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid var(--main-background);
}
.individual__docs--label span {
  font-size: 28px;
  color: var(--main-gray);
  background-color: var(--main-background);
  height: 32px;
  width: 32px;
  line-height: 32px;
  border-radius: 8px;
}
.individual__docs--upload input {
  display: none;
}
.individual__docs--addImg {
  color: gray;
}
.individual__docs--preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  gap: 15px;
  width: 100%;
  margin: 1rem auto;
}
.individual__docs--preview img {
  background-color: #bab9b9;
  max-width: 100%;
  height: 80px;
  width: auto;
  object-fit: cover;
}

/* ----- End individual ---- */
/* ---------- End of case content --------- */
/* --------------- End of create a case  ----------------- */

/* ----- message ------ */
.message {
  background: #b8d2f9;
  border-radius: 20px;
}
.message__container {
  background-color: #fff;
  width: 350px;
  border-radius: 12px;
  position: relative;
}
.message__container h3 {
  color: var(--main-background);
  font-weight: 600;
}
.message__container p {
  line-height: 30px;
}
.message__icon {
  position: absolute;
  top: -15%;
  right: 50%;
  transform: translateX(50%);
  background: var(--main-background);
  width: 72px;
  height: 72px;
  border-radius: 15px;
}
.message button {
  background: #fff;
  padding: 14px 27px;
  width: 60%;
  border-radius: 15px;
}
/* ----- End of message ------ */

/* ----------------- Zakat ------------------------ */
.zakat__container {
  width: 350px;
}
@media (max-width: 550px) {
  .zakat__container {
    width: 90%;
  }
}
/* ---------------- End of Zakat ------------------------ */
