
.custom-form-container {
    font-family: Montserrat;
    display: flex;
    flex-direction: column;
}

.custom-form-group {
    display: flex;
    flex-direction: column;
}

.custom-form-label {
    margin-top:10px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #9AA3AF;
}

.custom-form-group input[type=text], .custom-form-group input[type=email]  {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px; 
    padding: 13px 15px; 
    color: #FFFFFF;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease; 
}

.custom-form-input::placeholder {
    color: #8A88B3;
    opacity: 1;
}

.custom-form-group input[type=text]:focus, .custom-form-group input[type=email]: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-container .custom-form-button {
    background-image: linear-gradient(100deg, #7C5CFF, #00E5A8);
    color: #0E0B33;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: bold;
    border: none; 
    border-radius: 12px; 
    padding: 16px 25px;
    cursor: pointer; 
    transition: all 0.3s ease; 
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.custom-form-button:hover {
    transform: scale(1.00);
    box-shadow: 0 4px 20px rgba(0, 255, 194, 0.3);
    color: #fff;
}

@media (max-width:1024px) {
    .custom-form-label {
        font-size: 14px;
        line-height: 18px;
    }
    
    .custom-form-group input[type=text], .custom-form-group input[type=email]  {
        font-size: 13px;
    }
    
    .custom-form-button {
    font-size: 14px;
    }
}

/* Стили для модального окна */
.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%)}