@font-face {
  font-family: 'ComfortaaBold';
  src: url('ComfortaaBold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.card {
  position: relative;
  max-width: 477px;
  margin: 30px auto;
  background: rgba(234,234,234,0.2);
  border: 1px solid #E0E0E0;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}


.card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


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


.form-label {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: #000;
}
.form-label .counter {
  font-weight: 400;
  font-size: 14px;
  color: #888;
  padding-right: 1em;
  float: right
}

.form-control {
  display: block;
  width: 100%;
  padding: 10px 15px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 15px;
  background: #ECECEC;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s;
}
.form-control:focus {
  border-color: #28c8ff;
}

.form-control.error {
  border-color: #EB1A62;
}

.form-inline {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}
.date-group {
  flex: 1;
  max-width: 40%;
}
.time-group {
  flex: 1;
  max-width: 60%;
}

.checkbox-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
}
.checkbox-custom input[type="checkbox"] + label {
  font-family: 'Nunito', sans-serif;
  font-size: small;
 /* line-height: 14px; */
  color: #000;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  cursor: pointer;
  flex: 1 1 0;
}
.checkbox-custom {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-custom input[type="checkbox"] {
  width: 24px;
  height: 24px;
  background: #ECECEC;
  border: 1px solid #ccc;
  border-radius: 5px;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.3s;
}

.checkbox-custom input[type="checkbox"]:checked {
  border-color: #EB1A62;
}

.checkbox-custom input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #EB1A62;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-custom input[type="checkbox"]:focus {
  box-shadow: 0 0 0 2px #EB1A62;
}

.form-footer {
  margin-top: 20px;
}
.payment-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #FFF0F5;
  border-radius: 10px;
}
.price {
	font-family: 'Nunito', sans-serif;
  font-size: 30px;
  line-height: 34px;
  color: #EB1A62;
}
.btn {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFF;
  background: #EB1A62;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.3s;
}
#compliment-form .btn:hover {
  background: #d11055;
}


#compliment-form a {
  color: #00BFFF;
  text-decoration: none;
  transition: color 0.3s;
}
#compliment-form a:hover {
  color: #EB1A62;
}

#compliment-form .textarea {
  min-height: 100px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23CCC' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 10px 6px;
}

.has-error.form-control, .checkbox-custom input[type="checkbox"].has-error {
  border-color: #EB1A62 !important;
}

.bold {
font-weight: bold;
}

span.counter.is-error {
    color: #EB1A62;
}

.greeting-PreloaderWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.greeting-Preloader {
  width: 3rem;
  height: 3rem;
  border: 0.25rem solid rgba(0, 0, 0, 0.1);
  border-top-color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  animation: spinner 0.75s linear infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

.music-wrapper__body {
    display: flex;
    flex-direction: column;
}
.music-wrapper__item {
  position: relative;
  margin-bottom: 20px;
cursor: pointer;
}

.music-wrapper__item {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
	align-items: center;
}

.music-wrapper__item > :last-child {
    margin-left: auto;
}

.music-wrapper__item:first-child {
  margin-top: 20px;
}

.music-wrapper__item:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #E0E0E0;
  top: -10px;
}



.music-wrapper__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #E0E0E0;
  bottom: -10px;
}

/* Номер песни */
.music-wrapper__number {
  color: #E2E2E2;
  font-size: 44px;
  font-family: 'ComfortaaBold';
  float: left;
  margin-right: 15px;
  width: 32px;
  text-align: center;
}

/* Картинка (аватар) песни */
.music-wrapper__img {
  float: left;
  width: 65px;
  margin-right: 17px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.music-wrapper__img img {
  display: block;
  width: 100%;
}

/* Информация (исполнитель и название песни) */
.music-wrapper__name {
  float: left;
  margin-top: 5px;
  max-width: calc(100% - 200px);
}

.music-wrapper__name .strong {
  color: #4A4A4A;
  font-family: 'ComfortaaBold';
}

/* Блок лайка */
.music-wrapper__like {
  float: right;
  padding-right: 15px;
  margin-top: 12px;
}

/* Иконка «яблоко» */
.apple {
  width: 12px;
  height: 15px;
  background: url(images/apple@2x.png) 0 0 no-repeat / cover;
  cursor: pointer;
  float: left;
  margin-right: 9px;
  display: block;
}
.apple:hover,
.apple.active {
  background: url(images/apple-hover@2x.png) 0 0 no-repeat / cover;
}

/* Иконка лайка (сердечко) */
.heart {
  width: 16px;
  height: 15px;
  background-image: url(images/likes.png);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100%;
  cursor: pointer;
  float: left;
}
.heart:hover,
.heart.active {
  background-position: 0 100%;
}

/* Оверлей с иконкой паузы поверх картинки при активном элементе */
.music-wrapper__item.active .music-wrapper__img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='%23e0e0e0' viewBox='0 0 16 16'%3E%3Crect x='4' y='3' width='2' height='10'/%3E%3Crect x='10' y='3' width='2' height='10'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 40px 40px;
}

.music-wrapper__item:not(.active):hover .music-wrapper__img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='%23e0e0e0' viewBox='0 0 16 16'%3E%3Cpolygon points='5,3 5,13 13,8'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: 40px 40px;
}
