.feedback-modal,
.feedback-modal-content,
.feedback-modal-content * {
    font-family: 'NIVEA Brand Type', sans-serif !important;
}


/* Стили для модального окна */
.feedback-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.feedback-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.feedback-close {
    position: absolute;
    z-index: 100;
    top: 8px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #3e6ced;
    color: #fff;
    border: 0;
    cursor: pointer;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    transition: background 0.2s ease;
}

.feedback-close:hover {
    /*color: #000;*/
    background: #0a2a79;
}

.fb_title {
    text-align: center;
}

/* Стили формы */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #4CAF50;
}

.submit-btn {
    background-color: #3e6ced;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0a2a79;
}

/* Стили для ошибок */
.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
}

.field-error {
    border-color: #f44336 !important;
}

/* Сообщения Django */
.django-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    min-width: 300px;
}

.alert {
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
    animation: slideInRight 0.3s;
}

.alert-success {
    background-color: #4CAF50;
}

.alert-error {
    background-color: #f44336;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 600px) {
    .feedback-modal-content {
        margin: 10% auto;
        width: 80%;
        padding: 20px;
    }

    .django-messages {
        left: 10px;
        right: 10px;
        min-width: auto;
    }

}