* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Vazirmatn", sans-serif;
  font-feature-settings: "ss01";
}
body {
  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 100vh;
}
.icon-size {
  width: 24px;
  height: 24px;

  object-fit: cover;
}

.flex-align {
  display: flex;
  align-items: center;
}

input,
button {
  font: inherit;
}

/* css nested */
.container {
  width: 584px;
  height: auto;

  /* background-color: #ececec; */

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;

  header {
    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;

    img {
      width: 272px;
      height: 85px;

      object-fit: cover;
    }
  }
  main {
    width: 100%;
    height: 48px;

    padding: 12px 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    border: 2px solid #dfe1e5;

    border-radius: 23px;

    .right-inputs {
      display: flex;
      flex-grow: 1;
      gap: 10px;

      .input-wrapper {
        width: 100%;

        input {
          border: none;
          outline: none;

          width: 100%;
        }
      }
    }
    .left-icons {
      display: flex;
      align-items: center;
      gap: 10px;
    }
  }
  footer {
    display: flex;
    align-items: center;
    gap: 12px;

    button {
      border: none;
      outline: none;

      padding: 5px 18px;

      background-color: #f8f9fa;

      color: #3c4043;

      cursor: pointer;

      border-radius: 4px;

      transition: background-color 0.3s ease;

      &:hover {
        background-color: hsl(210, 17%, 95%);
      }
    }
  }
}

/* mobile */
@media only screen and (max-width: 600px) {
  .container {
    padding: 15px;

    footer {
      flex-direction: column;
    }
  }
}
