/* ============================================================
   FEEDBACK WIDGET STYLING
   ============================================================ */

.feedback-widget-container {
    width: 100%;
    max-width: 480px;
    margin: 20px auto;
    font-family: 'Roboto', 'Inter', -apple-system, sans-serif;
}

.feedback-widget-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(13, 30, 49, 0.08);
    border: 1px solid rgba(42, 157, 221, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-widget-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(13, 30, 49, 0.12);
}

.feedback-widget-title {
    font-size: 22px;
    font-weight: 700;
    color: #0d1e31;
    margin-top: 0;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feedback-widget-description {
    font-size: 14px;
    color: #5a6e81;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 24px;
}

.feedback-form-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feedback-input-group {
    margin-bottom: 0; /* Override default bootstrap margin */
    position: relative;
}

.feedback-form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #0d1e31;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: all 0.22s ease-in-out;
}

.feedback-form-control::placeholder {
    color: #a0aec0;
}

.feedback-form-control:focus {
    border-color: #2A9DDD;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(42, 157, 221, 0.15);
}

.feedback-textarea {
    resize: vertical;
    min-height: 80px;
}

.feedback-submit-group {
    margin-top: 8px;
}

.feedback-submit-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #2A9DDD 0%, #157cb3 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(42, 157, 221, 0.25);
}

.feedback-submit-btn:hover {
    background: linear-gradient(135deg, #3faae6 0%, #208bc7 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(42, 157, 221, 0.35);
}

.feedback-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(42, 157, 221, 0.2);
}

/* Yii2 ActiveForm validation error states */
.feedback-input-group.has-error .feedback-form-control {
    border-color: #e53e3e;
    background-color: #fff5f5;
}

.feedback-input-group.has-error .feedback-form-control:focus {
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

.feedback-input-group.has-error .help-block {
    font-size: 12px;
    color: #e53e3e;
    margin-top: 4px;
    margin-bottom: 0;
    display: block;
}
