/* Ultra-Slim Widescreen Feedback Studio - Re-Skinned Version */
.feedback-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
    z-index: 100000;
    display: none;
    opacity: 0;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-trigger {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 117, 24, 0.4);
    z-index: 99998;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-trigger:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 117, 24, 0.5);
}

.floating-trigger i {
    font-size: 26px;
    color: #fff !important;
}

/* Specific styling for AI Chat Bot */
.ai-chat-floating {
    background: #000; /* Sleek black for AI Chat */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .ai-chat-floating {
    background: #fff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.dark-mode .ai-chat-floating i {
    color: #000 !important;
}

.ai-chat-floating:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Mini Action Buttons for Name Section */
.action-triggers-wrap {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

.mini-trigger {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 16px rgba(255, 117, 24, 0.25);
    position: relative;
    overflow: hidden;
}

.mini-trigger:hover {
    background: #000;
    transform: translateY(-5px) rotate(12deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.mini-trigger i {
    font-size: 18px;
    color: #fff !important;
    transition: all 0.4s ease;
}

.mini-trigger:hover i {
    transform: scale(1.1);
}

.dark-mode .mini-trigger {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .mini-trigger i {
    color: rgba(255, 255, 255, 0.7);
}

/* The Mac-Style Window Frame */
.feedback-modal {
    width: 100%;
    max-width: 940px;
    background: var(--bg-surface);
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transform: translateY(30px) scale(0.98);
    transition: var(--transition-premium);
    display: flex;
    flex-direction: column;
}

/* Header Synced with Proto-Window */
.feedback-header {
    background: var(--bg-app);
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}
.window-controls {
    display: flex;
    gap: 8px;
    width: 60px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F57; cursor: pointer; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28C840; }

.feedback-address-bar {
    background: var(--bg-surface);
    height: 24px;
    flex: 1;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 10px;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    gap: 8px;
    font-family: var(--font-body);
}

.feedback-main {
    display: flex;
}

/* Sidebar Update */
.feedback-sidebar {
    width: 48px;
    background: var(--bg-app);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 16px;
}
.side-icon { font-size: 16px; color: var(--text-muted); transition: var(--transition-premium); cursor: pointer; }
.side-icon:hover { color: var(--primary); transform: scale(1.1); }
.side-icon.active { color: var(--primary); }
.side-icon.profile { width: 22px; height: 22px; background: var(--black); border-radius: 50%; color: var(--white); font-size: 9px; display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* Body Content */
.feedback-body {
    flex: 1.2;
    padding: 22px 32px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

.feedback-breadcrumbs {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-body);
}

.feedback-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.feedback-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 24px;
    line-height: 1.5;
}

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

.feedback-options {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.feedback-opt {
    flex: 1;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: var(--bg-app);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    transition: var(--transition-premium);
    font-family: var(--font-body);
}

.feedback-opt:hover {
    background: var(--bg-surface);
}

.feedback-opt.active {
    background: var(--bg-surface);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 117, 24, 0.05);
}

.feedback-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feedback-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-body);
}

.feedback-input, 
.feedback-textarea {
    width: 100%;
    background: var(--bg-app);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: var(--transition-premium);
}

.feedback-input:focus, 
.feedback-textarea:focus {
    background: var(--bg-surface);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 117, 24, 0.1);
}

.feedback-footer {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    align-items: flex-end; /* Precise Alignment */
}

.feedback-submit {
    flex: 1;
    height: 44px;
    background: var(--primary); /* Signature Orange */
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-premium);
    box-shadow: 0 8px 16px rgba(255, 117, 24, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.feedback-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 117, 24, 0.3);
    background: var(--primary-dark);
}

/* Portal Inspector Side Extensions */
.feedback-social-links {
    display: flex;
    gap: 12px;
}

.f-social-item {
    color: #666; /* WCAG COMPLIANT */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-social-item:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.f-social-item svg {
    fill: currentColor;
}

/* Inspector Panel */
.feedback-inspector {
    flex: 0.8;
    background: var(--bg-app);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ins-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.ins-summary {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 16px;
}

.ins-stat {
    margin-bottom: 12px;
}
.ins-stat:last-child { margin-bottom: 0; }

.ins-stat span { display: block; font-size: 8px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; margin-bottom: 2px; font-family: var(--font-body); letter-spacing: 0.05em; }
.ins-stat strong { font-size: 13px; color: var(--text-heading); font-family: var(--font-body); }

.ins-support {
    margin-top: 0px;
    padding: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.ins-support p { font-size: 11px; color: var(--text-sub); line-height: 1.4; margin-bottom: 8px; font-family: var(--font-body); }

@media (max-width: 900px) {
    .feedback-inspector { display: none; }
    .feedback-modal { max-width: 580px; }
}

@media (max-width: 580px) {
    .feedback-sidebar { display: none; }
    .feedback-address-bar { display: none; }
    .feedback-body { padding: 24px 20px; }
}

