/* ═══════════════════════════════════════════
   UNIVERSAL FEEDBACK & SUGGESTION MODULE CSS
   ═══════════════════════════════════════════ */

/* Floating Trigger Button */
.aris-feedback-trigger-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #ff8c1a, #ea580c);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 140, 26, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
}

.aris-feedback-trigger-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 140, 26, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.aris-feedback-trigger-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 600px) {
    .aris-feedback-trigger-btn {
        bottom: 16px;
        right: 16px;
        padding: 9px 14px;
        font-size: 12px;
    }
}

/* Modal Overlay */
.aris-feedback-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 5, 12, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: afFadeIn 0.25s ease-out forwards;
}

@keyframes afFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.aris-feedback-card {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(150deg, rgba(15, 22, 40, 0.96), rgba(8, 12, 24, 0.98));
    border: 1px solid rgba(255, 140, 26, 0.25);
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 140, 26, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: afSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes afSlideUp {
    from { transform: translateY(24px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.af-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.af-title {
    font-size: 16px;
    font-weight: 700;
    color: #ff8c1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.af-title-icon {
    width: 20px;
    height: 20px;
}

.af-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.af-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.af-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.af-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.af-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.af-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #cbd5e1;
}

.af-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.af-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.af-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.af-pill.active {
    background: rgba(255, 140, 26, 0.18);
    border-color: rgba(255, 140, 26, 0.4);
    color: #ff8c1a;
    box-shadow: 0 0 12px rgba(255, 140, 26, 0.15);
}

.af-rating-stars {
    display: flex;
    gap: 8px;
    font-size: 24px;
    cursor: pointer;
    user-select: none;
}

.af-rating-stars span {
    color: #475569;
    transition: color 0.15s ease, transform 0.15s ease;
}

.af-rating-stars span:hover,
.af-rating-stars span.active {
    color: #fbbf24;
    transform: scale(1.15);
}

.af-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 13.5px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.af-textarea:focus {
    border-color: rgba(255, 140, 26, 0.5);
    box-shadow: 0 0 15px rgba(255, 140, 26, 0.15);
}

.af-status {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 600;
}

.af-status.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.af-status.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.af-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.01);
}

.af-cancel-btn {
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.af-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.af-submit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff8c1a, #e07000);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 140, 26, 0.35);
    transition: all 0.2s ease;
}

.af-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.45);
}

.af-submit-btn svg {
    width: 15px;
    height: 15px;
}
