@font-face {
  font-family: 'MazzardH';
  src: url('/fonts/MazzardH-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'MazzardH';
  src: url('/fonts/MazzardH-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'MazzardH';
  src: url('/fonts/MazzardH-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'MazzardH';
  src: url('/fonts/MazzardH-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'MazzardH';
  src: url('/fonts/MazzardH-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'MazzardH';
  src: url('/fonts/MazzardH-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'MazzardH';
  src: url('/fonts/MazzardH-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'MazzardH';
  src: url('/fonts/MazzardH-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'MazzardH';
  src: url('/fonts/MazzardH-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

* {
    font-family: 'MazzardH', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'MazzardH', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    background-color: white;
    color: #000;
}

.container {
    max-width: 448px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Header */
.header {
    padding: 20px 20px 0;
}

.logo {
    width: 120px;
    height: 62px;
}

.logo svg {
    width: 100%;
    height: 100%;
}

/* Main Content */
.main-content {
    padding: 0 20px;
}

/* Hero Section */
.hero {
    margin-top: 32px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #f5a125 0%, #e61846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Form Styles */
.form-section {
    margin-bottom: 48px;
}

.form-field {
    margin-bottom: 20px;
}

.input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 15px 15px;
    border: 1px solid #e61846;
    border-radius: 10px;
    background: transparent;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
    color: #e61846;
}

.form-input:focus {
    border-color: #e61846;
    box-shadow: 0 0 0 2px rgba(230, 24, 70, 0.1);
}

.form-input.error {
    border-color: #dc2626;
}

.form-input::placeholder {
    color: rgba(230, 24, 70, 0.5);
}

.form-label {
    position: absolute;
    top: -12px;
    left: 9px;
    background: white;
    padding: 5px 7px;
    font-size: 12px;
    color: #e61846;
    font-weight: 500;
    transition: color 0.2s ease;
}

.form-input.error + .form-label {
    color: #dc2626;
}

.error-message {
    font-size: 12px;
    color: #dc2626;
    padding-left: 16px;
    display: block;
}

/* Checkbox Styles */
.checkbox-field {
    margin-bottom: 7px;
    margin-top: 13px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    padding-top: 13px;
    padding-bottom: 7px;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-label {
    position: relative;
    padding-left: 22px;
    cursor: pointer;
    user-select: none;
    font-size: 10px;
    line-height: 1.5;
    color: #333;
    padding-right: 40px;
    padding-top: 3px;
}

.checkbox-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    border: 2px solid #e6184660; /* Цвет и толщина обводки */
    border-radius: 4px; /* Радиус скругления углов */
    background-color: #fff; /* Цвет фона */
    box-sizing: border-box;
    transition: all 0.2s;
}

/* Галочка */
.form-checkbox:checked + .checkbox-label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 0px;
    width: 3px;
    height: 11px;
    border: solid #e61946;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.link {
    color: #e61846;
    text-decoration: underline;
}

.link:hover {
    text-decoration: none;
}

/* Submit Button */
.submit-button-main {
    width: 100%;
    background: #e61846;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
}

.submit-button-main:hover {
    background: #d41840;
}

.button-label {
    display: block;
    transition: opacity 0.3s ease;
}

.code-input {
    opacity: 0;
    transform: translateY(10px) scaleY(0);
    transition: all 0.5s ease;
    margin-top: 0;
    color: white;
    text-align: center;
    max-height: 0;
    pointer-events: all;
}

.submit-button-main.active .button-label {
    opacity: 0;
    height: 0;
}

.submit-button-main .active.code-input {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    max-height: fit-content;
}

.code-inputs {
    display: flex;
    justify-content: center;
    gap: 11px;
}

.code-inputs input {
    width: 25%;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    border-radius: 5px;
    background: white;
    color: #e61946;
    outline: none;
    transition: border-color 0.2s ease;
    aspect-ratio: 70 / 76;
    border: 0;
}

.code-inputs input:focus {
    border-color: #f5a125;
}

/* FAQ Section */
.faq-section {
    margin-top: 48px;
    margin-bottom: 48px;
}

.faq-title {
    font-size: 24px;
    font-weight: 800;
    color: #e61846;
    margin-bottom: 20px;
    line-height: 1.2;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-question {
    font-size: 15px;
    font-weight: 700;
    color: #e61846;
    margin-bottom: 5px;
    line-height: 1.2;
}

.faq-answer {
    font-size: 12px;
    color: #e61846;
    line-height: 1.2;
}

/* Footer */
.footer {
    background: #e61846;
    color: white;
    padding: 24px;
    margin-top: 48px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-section h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.location {
    margin-bottom: 8px;
}

.location-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.location-address {
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 4px;
}

.social-icon {
    width: 60px;
    height: 37px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
    }
    
    .header,
    .main-content {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .faq-title {
        font-size: 20px;
    }
    
    .footer {
        padding: 20px 16px;
    }
    
    .footer-section h3 {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 500px;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-section {
        flex: 1;
    }
    
    .footer-section:first-child {
        margin-right: 32px;
    }
}

/* Success/Loading States */
.form-success {
    background: #10b981;
    color: white;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    text-align: center;
}

.form-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation for error messages */
.error-message {
    opacity: 0;
    transition: opacity 0.2s ease;
    height: 0;
}

.novalide .error-message {
    opacity: 1;
    margin-top: 4px;
    margin-bottom: 10px;
    height: auto;
}

.titlefortelegram {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 0px;
    line-height: 120%;
    padding-bottom: 15px;
}

.titleforloadingcard {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 0 30px;
    line-height: 120%;
    padding-bottom: 10px;
}

.submit-button-main.active {
    padding: 30px 20px;
    cursor: initial;
    pointer-events: none;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #e61846;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.submit-button-main.loading .button-label {
    display: none;
}

.submit-button-main.loading .loading-text {
    display: inline;
    font-size: 14px;
    font-weight: 500;
}

.submit-button-main.loading .loading-spinner {
    display: inline-block;
    vertical-align: middle;
}

.submit-button-main.loading .code-input {
    display: none;
}

.loading-text {
    display: none;
}

.textdescrauth {
    font-size: 15px;
    padding: 0px 0px 25px 0px;
}

.issuecard .textdescr {
    font-size: 15px;
    padding: 0px 30px
  ;
    font-weight: normal;
}

.submit-codetg {
    width: 100%;
    margin-top: 25px;
    font-size: 14px;
    color: #E61846;
    font-weight: bold;
    border: 0;
    border-radius: 15px;
    padding: 15px;
    background: #FFFFFF;
    cursor: pointer;
    margin-bottom: 12px;
}

.sendsms {
    font-size: 12px;
    border-bottom: 1px solid;
    display: inline;
    color: rgba(249, 249, 249, 0.8);
    margin-top: 12px;
    cursor: pointer;
}

.loading-spinner-big {
    width: 120px;
    height: 120px;
    border: 8px solid #f3f3f3;
    border-top: 5px solid #e61846;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 10px;
    margin-bottom: 25px;
}

.submit-button-main.active:hover {
    background: #e61846;
}



@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.4s ease;
}

.process, .issuecard {
    opacity: 0;
    transform: translateY(10px) scaleY(0);
    transition: all 0.5s ease;
    margin-top: 0;
    text-align: center;
    max-height: 0;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.active.process, .active.issuecard {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  max-height: fit-content;
}

.block10perc {
    border-radius: 10px;
    background: #F5A125;
    position: relative;
    transition: all 1s;
    opacity: 0;
    max-height: 0px;
    padding: 0 15px;
}

.block10perc.active {
    padding: 20px 15px;
    margin-top: 10px;
    margin-bottom: 40px;
    opacity: 1;
    max-height: fit-content;
}

.block10perc p {
    font-size: 14px;
    color: #fff;
}

.loveemoji {
    max-width: 80px;
    width: 15%;
    position: absolute;
    right: -5%;
    bottom: -20%;
    rotate: 10deg;
}

a#cardbutton {
    margin-top: 20px;
    font-size: 14px;
    color: #E61846;
    font-weight: normal;
    border: 0;
    border-radius: 15px;
    padding: 10px 25px;
    background: #FFFFFF;
    cursor: pointer;
    line-height: 1.15;
    text-decoration: none;
}

.issuecard.active img.cardimg {
    bottom: -40px;
}

.issuecard img.cardimg {
    width: 70%;
    position: relative;
    bottom: -500px;
    transition: all 1.5s ease;
}

.form-checkbox:checked + .checkbox-label::before {
    background-color: transparent;
    border-color: #e6184660;
}

label[for="agreeTerms"].error::before {
  margin-top: 5px;
  margin-left: 4px;
}

label[for="agreeTerms"].error {
    border-radius: 4px;
    background: #e6194659;
    padding-top: 8px;
    padding-bottom: 5px;
}

.form-checkbox:checked + label[for="agreeTerms"].error::after {
    left: 10px;
    top: 5px;
}

.flatpickr-current-month input.cur-year, .flatpickr-current-month .numInputWrapper {
    display: none!important;
}

.sendsms.disabled {
    pointer-events: none;
    opacity: 0.5;
}

@media screen and (min-width: 1201px) {
                                    ::-webkit-scrollbar-thumb {
                                        /* Укажи цвет скроллбара */ background: #F69628;
                                        /* Укажи радиус скругления скроллбара */
                                        border-radius: 3px;
                                    }

                                    ::-webkit-scrollbar {
                                        /* Укажи ширину вертикального скроллбара */
                                        width: 9px;
                                        /* Укажи высоту горизонтального скроллбара */
                                        height: 10px;
                                        /* Укажи цвет фона под скроллбаром */
                                        background: #e61846;
                                    }
                                }
