
.custom-checkbox-group {
    margin-top: 0px;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.3;
    
}

.custom-checkbox input {
    display: none;
}

.custom-checkbox-box {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.03);
    position: relative;
    transition: 0.2s ease;
}

.custom-checkbox input:checked + .custom-checkbox-box {
    background: #9a4dff;
    border-color: #9a4dff;
}

.custom-checkbox input:checked + .custom-checkbox-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-form-container {
    font-family: Montserrat, sans-serif;
    display: flex;
    flex-direction: column;
}

.custom-form-container,
.custom-form-container * {
    box-sizing: border-box;
}

.custom-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.custom-form-label {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: #ffffff;
}

.custom-input-wrap {
    position: relative;
    width: 100%;
}

.custom-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    color: rgb(255 255 255 / 50%);
    opacity: 0.95;
}

.custom-textarea-wrap .custom-input-icon {
    top: 20px;
    transform: none;
}

.custom-form-group input[type=text],
.custom-form-group input[type=email],
.custom-form-group textarea,
.custom-form-group select {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.4;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: Montserrat, sans-serif;
}

.custom-input-wrap input {
    padding-left: 50px !important;
}

.custom-form-group textarea {
    min-height: 96px;
    resize: vertical;
}

.custom-textarea-wrap textarea {
    padding-left: 18px !important;
}

.custom-form-input::placeholder {
    color: #ffffff;
    opacity: 0.45;
}

.custom-form-group input[type=text]:focus,
.custom-form-group input[type=email]:focus,
.custom-form-group textarea:focus,
.custom-form-group select:focus {
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 10px rgba(140, 137, 211, 0.2);
}

.custom-form-group input[type="text"]:focus::placeholder,
.custom-form-group input[type="email"]:focus::placeholder,
.custom-form-group textarea:focus::placeholder {
    color: #ffffff !important;
    opacity: 0.7;
}

.custom-form-button {
    width: 100%;
    background-image: linear-gradient(100deg, #3B82F6, #8B5CF6);
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 14px;
    padding: 22px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.custom-form-button:hover {
    transform: scale(1.00);
    box-shadow: 0 4px 20px rgba(94, 0, 255, 0.49);
}

@media (max-width:1024px) {
    .custom-checkbox {
        font-size: 14px;
    }

    .custom-form-label {
        font-size: 13px;
        line-height: 18px;
    }

    .custom-form-group input[type=text],
    .custom-form-group input[type=email],
    .custom-form-group textarea,
    .custom-form-group select {
        font-size: 13px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .custom-input-wrap input {
        padding-left: 48px !important;
    }

    .custom-form-button {
        font-size: 14px;
        line-height: 16px;
        padding: 20px 25px;
    }
}

/* Стили для модального окна */
.course-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.course-modal__content {
    background: linear-gradient(135deg, #1a1f36 0%, #2d1b69 100%);
    border: 1px solid #7C5CFF;
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    color: white;
    position: relative;
}

.course-modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.course-modal__icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.course-modal__title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #00E5A8;
}

.course-modal__text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    opacity: 0.9;
}

.course-modal__button {
    background: linear-gradient(100deg, #7C5CFF, #00E5A8);
    color: #0E0B33;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-modal__button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 255, 194, 0.3);
}

.course-modal[open]{display:flex;max-width:none;max-height:none;width:100%;height:100dvh;margin:0;border:0;padding:20px;color:#fff}.course-modal::backdrop{background:rgb(0 0 0 / 65%)}
.custom-checkbox input:focus-visible + .custom-checkbox-box{outline:2px solid currentColor;outline-offset:4px}
