html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding-right: 2.5rem;
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;

  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8L10 14L16 8' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body {
  background-color: #eeeded;
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.card-form {
  border-radius: 12px;
  background: #fff;
  padding-left: 24px;
  padding-right: 24px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.card-form__title {
  padding-top: 24px;
  /* padding-left: 82px; */
  text-align: center;
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.card-form__payment-method {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 24px;
  padding-right: 24px;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px dashed #d5d5d5;
  margin-top: 40px;
  margin-bottom: 24px;
}

.card-form__payment-method label {
  width: 72px;
  color: #000;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.payment-method__icons {
  display: flex;
  gap: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.form-group:not(:last-of-type) {
  margin-bottom: 13px;
}

.form-group label {
  margin-bottom: 8px;
}

.form-group input {
  border-radius: 4px;
  border: 1px solid #d5d5d5;
  width: 280px;
  height: 48px;
  padding-left: 16px;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.form-group input::placeholder {
  color: #b8b8b8;
}

select {
  width: 136px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid #d5d5d5;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  padding-left: 16px;
  background-color: transparent;
}

.submit-btn {
  background-color: #000;
  border: none;
  border-radius: 4px;
  width: 100%;
  padding: 14px 105px;
  color: white;
  cursor: pointer;
  margin-top: 32px;
  margin-bottom: 20px;
}

.cvc-wrapper {
  position: relative;
}

.cvc-info {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 14px;
}
