@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');




*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Базовые настройки для мобильных устройств */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    gap: 10px;
    display: flex;
    position: relative;
    flex-direction: column;
    max-width: 600px;
    align-items: center;
    justify-content: flex-start;
    background-color: #DDE9FF;
    width: 100%;
    height: 180vh;
    color: #000000;
}
.upper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 75%;
}

.upper_img{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: center;
    height: 60px;
    margin-top: 20px;
    position: relative;
    width: 60px;
    background-color: #72A3FF;
    border-radius: 12px;
}

.upper_img::after{
    content: '';
    height: 80%;
    width: 80%;
    position: absolute;
    z-index: 3;
    background-image: url(../static/Animated_AgADMBgAAoTkqUs.gif);
    background-size: cover;
    background-position: center;
}


.upper h2{
    text-align: center;
    font-size: 22px;
    font-weight: 400;
}

.mid{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 80%;
}

.mid ul{
    width: 90%;
    font-size: 14px;
    color: #000;
}

.msg{
    background-color: #72A3FF;
    width: 100%;
    height: 105px ;
    border-radius: 30px;
}

.upper_msg{
    justify-content: flex-start;
    gap: 5px;

    display: flex;
    flex-direction: row;
    width: 50%;
    margin-left: 20px;
    margin-top: 5px;
}

.upper_msg .emoji{
    background-image: url(../static/Animated_AgADMBgAAoTkqUs.gif);
    background-size: cover;
    position: relative;
    top: 2px;
    background-position: center;
    height: 15px;
    width: 15px;
}

.upper_msg p{
    font-size: 14px;
    color: #BCD3FF;
}

.main_msg{
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main_msg h3{
    width: 85%;
    color: #DEEAFF;
    font-size: 16px;
    font-weight: 400;
}

.mid_txt h2{
    font-size: 16px;
    color: #777777;
    font-weight: 400;
}

.timer{
    height: 80px;
    width: 100%;
    border: 1px solid #72A3FF;
    border-radius: 30px;
    display: flex;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    padding: 20px;
   height: 105px;
}

.timer span{
    color: #FF5CB9;
}

.timer h1{
   font-size: 16px;
   font-weight: 500;
}

#time{
    font-weight: 600;
}

.bottom{
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bottom_txt{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #72a3ff40;
    height: 65px;
    border-radius: 15px;
}

.bottom h3{
    color: #232323;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

@keyframes not{
    0%{
        translate: 0 5px;
        }
    25%{
        translate: 0 0px;
        background-color: red;
    }
    50%{
        translate: 0 5px;
    }
    100%{
        translate: 0 0px;
        background-color: #ACC9FF;
    }
}

#btn{
    background-color: #FF5CB9;
    border-radius: 40px;
    font-size: 22px;
    align-self: center;
    color: #FFFFFF;
    transition: 0.3s;
    cursor: pointer;
    width: 80%;
    min-height: 85px;
    outline: none;
    border: none;
}

.anim{
    animation: not 0.4s ease;
}

#btn:disabled{
    background-color: #c55b97;
    cursor: no-drop;
}

#btn:disabled{
    background-color: #c55b97;
    cursor: no-drop;
}

.check{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.check h3{
    font-size: 15px;
    width: 90%;
    font-weight: 500;
    color: #777777;
}

.check a{
    color: #FF99D3;
    text-decoration: none;
}
.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}

.checkbox input {
  display: none;
}

.checkbox span {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #ACC9FF;
  background: #ACC9FF;
  position: relative;
  transition: 0.2s;
}

.checkbox input:checked + span {
  background: #ACC9FF;
}

.checkbox input:checked + span::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  width: 9px;
  height: 18px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

.card-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.card-row input {
    width: 100%;
    height: 65px;
    border-radius: 15px;
    border: none;
    background: #F3F6FF;
    padding: 0 15px;
    font-size: 16px;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-box {
    background: #fff;
    border-radius: 25px;
    width: 85%;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-box button {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 20px;
    height: 55px;
    font-size: 16px;
    cursor: pointer;
}

.card-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.card-row input {
    width: 100%;
    height: 65px;
    border-radius: 15px;
    border: none;
    background: #F3F6FF;
    padding: 0 15px;
    font-size: 16px;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-box {
    background: #fff;
    border-radius: 25px;
    width: 45%;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-box button {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 20px;
    height: 55px;
    font-size: 16px;
    cursor: pointer;
}

.info-blocks {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.info-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.03);
}

.info-card h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #000;
}

.info-card p {
    font-size: 14px;
    color: #777777;
    line-height: 1.5;
    margin-bottom: 10px;
}

.info-card p:last-child {
    margin-bottom: 0;
}
