.ask-question-form {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff8 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(34, 113, 177, 0.1),
                0 8px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8f5e8;
    position: relative;
    overflow: hidden;
}

.ask-question-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50 0%, #FF9800 50%, #4CAF50 100%);
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #2E7D32;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 90%;
    padding: 16px 20px;
    border: 2px solid #E8F5E9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.2),
                0 0 0 3px rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #90A4AE;
    font-style: italic;
}

#aq-submit {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
    position: relative;
    overflow: hidden;
}

#aq-submit:hover {
    background: linear-gradient(135deg, #F57C00 0%, #EF6C00 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 152, 0, 0.4);
}

#aq-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

#aq-submit:disabled {
    background: linear-gradient(135deg, #FFCC80 0%, #FFB74D 100%);
    transform: none;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
    cursor: not-allowed;
}

#aq-message {
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    display: none;
    font-weight: 600;
    text-align: center;
    animation: slideIn 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aq-success {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.aq-error {
    background: linear-gradient(135deg, #FF5252 0%, #FF7979 100%);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 82, 82, 0.3);
}

.questions-faq {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(34, 113, 177, 0.1);
    border: 1px solid #e8f5e8;
}

.questions-faq h3 {
    color: #2E7D32;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.questions-faq h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50 0%, #FF9800 100%);
    border-radius: 2px;
}

.faq-item {
    border: 2px solid #E8F5E9;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.08);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #4CAF50 0%, #FF9800 100%);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
}

.faq-item .question {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 600;
    color: #2E7D32;
    line-height: 1.5;
    padding-left: 15px;
    border-left: 3px solid #FF9800;
}

.faq-item .answer {
    margin-bottom: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #F1F8E9 0%, #E8F5E8 100%);
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.1);
    line-height: 1.6;
}

.faq-item .answer strong {
    color: #2E7D32;
}

.faq-item .meta {
    font-size: 13px;
    color: #78909C;
    text-align: right;
    font-style: italic;
    padding-top: 10px;
    border-top: 1px dashed #E0E0E0;
}

/* Анимация загрузки */
.aq-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Стили для админки */
.aq-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aq-status-pending {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    color: #EF6C00;
    border: 1px solid #FFCC80;
}

.aq-status-answered {
    background: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%);
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ask-question-form {
        margin: 20px 15px;
        padding: 30px 20px;
    }
    
    .questions-faq {
        margin: 30px 15px;
        padding: 25px 20px;
    }
    
    .faq-item {
        padding: 20px 15px;
    }
    
    .faq-item .question {
        font-size: 16px;
    }
    
    #aq-submit {
        width: 100%;
        padding: 16px;
    }
}

/* Дополнительные декоративные элементы */
.form-group::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50 0%, #FF9800 100%);
    transition: width 0.3s ease;
}

.form-group:focus-within::after {
    width: 100%;
}

/* Стили для админки */
.aq-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aq-status-pending {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    color: #EF6C00;
    border: 1px solid #FFCC80;
}

.aq-status-answered {
    background: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%);
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

/* Дополнительные стили для админской таблицы */
.wrap h1 {
    color: #2E7D32;
    font-size: 28px;
    margin-bottom: 20px;
}

.wrap .card {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}