@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Font family */
    --font-sans: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Glow shadows */
    --glow-indigo: 0 0 20px rgba(99, 102, 241, 0.15);
    --glow-violet: 0 0 25px rgba(139, 92, 246, 0.2);
    
    /* Layout properties */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Dark Theme Variables (Default) */
[data-theme="dark"], :root:not([data-theme="light"]) {
    --bg-primary: #09090e;
    --bg-secondary: #11111b;
    --bg-glass: rgba(17, 17, 27, 0.7);
    --bg-glass-hover: rgba(25, 25, 38, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --color-brand: #8b5cf6; /* Violet */
    --color-brand-light: #a78bfa;
    --color-brand-glow: rgba(139, 92, 246, 0.35);
    
    --color-accent: #3b82f6; /* Blue */
    --color-success: #10b981; /* Emerald */
    --color-success-light: #34d399;
    
    --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --gradient-bg: radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 40%),
                   radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.08), transparent 45%),
                   #09090e;
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --bg-glass-hover: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.06);
    --border-color-hover: rgba(0, 0, 0, 0.12);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --color-brand: #6366f1; /* Indigo */
    --color-brand-light: #4f46e5;
    --color-brand-glow: rgba(99, 102, 241, 0.2);
    
    --color-accent: #2563eb;
    --color-success: #059669;
    --color-success-light: #10b981;
    
    --gradient-brand: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --gradient-bg: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08), transparent 40%),
                   radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.05), transparent 45%),
                   #f8fafc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background var(--transition-slow), color var(--transition-slow);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Layout Containers */
header {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-brand);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px var(--color-brand-glow);
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.6s;
}

.logo-area:hover .logo-icon::after {
    left: 100%;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Theme Toggle Button */
.btn-theme {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.btn-theme:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-color-hover);
    transform: scale(1.05);
}

.btn-theme svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform var(--transition-slow);
}

[data-theme="light"] .btn-theme svg {
    transform: rotate(180deg);
}

.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

/* Main Section */
main {
    flex: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.hero {
    text-align: center;
    max-width: 720px;
    margin: 1rem auto 2rem auto;
}

.hero h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.hero h2 span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

/* App Workspace Grid */
.workspace {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 968px) {
    .workspace {
        grid-template-columns: 1fr;
    }
}

/* Premium Card Elements */
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition-normal);
}

.card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title svg {
    width: 20px;
    height: 20px;
    color: var(--color-brand);
}

/* Input Area details */
.input-wrapper {
    position: relative;
    width: 100%;
}

textarea {
    width: 100%;
    min-height: 320px;
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    padding: 1.25rem;
    resize: vertical;
    outline: none;
    transition: var(--transition-normal);
}

[data-theme="light"] textarea {
    background: rgba(255, 255, 255, 0.6);
}

textarea:focus {
    border-color: var(--color-brand);
    box-shadow: var(--glow-violet);
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] textarea:focus {
    background: #ffffff;
}

/* Textarea Controls */
.input-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.word-count {
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.btn:active {
    transform: scale(0.97);
}

.btn-secondary {
    background: var(--bg-glass);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-color-hover);
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 15px var(--color-brand-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px var(--color-brand-glow);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0) scale(0.97);
}

.btn-icon-only {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* Extracted Links Card & Linkifier Preview */
.output-panels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.extracted-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.no-links {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-style: italic;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
}

.no-links svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    transition: var(--transition-normal);
    gap: 1rem;
}

[data-theme="light"] .link-item {
    background: rgba(0, 0, 0, 0.01);
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-brand-light);
    transform: translateX(3px);
}

[data-theme="light"] .link-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.link-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-grow: 1;
}

.link-url-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.link-url-text:hover {
    color: var(--color-brand-light);
    text-decoration: underline;
}

.link-domain {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.15rem;
}

.link-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-mini {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Share Panel */
.share-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-display-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    gap: 0.5rem;
}

[data-theme="light"] .link-display-box {
    background: rgba(0, 0, 0, 0.03);
}

.link-display-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.5rem;
    text-overflow: ellipsis;
}

/* Link length status meter */
.compression-status {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.status-label {
    display: flex;
    justify-content: space-between;
}

.meter-bg {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-brand);
    border-radius: 3px;
    transition: width var(--transition-normal);
}

.meter-fill.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.meter-fill.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* TOAST Notification */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 100;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-container.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast {
    background: rgba(17, 17, 27, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.toast svg {
    color: var(--color-success-light);
    width: 18px;
    height: 18px;
}

/* Shared Mode Overlay View */
.shared-mode-wrapper {
    display: none;
    max-width: 760px;
    margin: 1.5rem auto;
    width: 100%;
}

.shared-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
}

.shared-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-brand);
}

.shared-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.shared-badge {
    background: rgba(139, 92, 246, 0.12);
    color: var(--color-brand-light);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.shared-content {
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 480px;
    overflow-y: auto;
    margin-bottom: 1.75rem;
}

[data-theme="light"] .shared-content {
    background: rgba(0, 0, 0, 0.02);
}

.shared-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.shared-actions-right {
    display: flex;
    gap: 0.75rem;
}

/* Footer details */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--color-brand);
    text-decoration: underline;
}

/* Responsive updates */
@media (max-width: 640px) {
    header {
        padding: 1.5rem 1rem;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    main {
        padding: 0 1rem 3rem 1rem;
        gap: 1.5rem;
    }
    .card {
        padding: 1.25rem;
    }
    .shared-card {
        padding: 1.5rem 1.25rem;
    }
    .shared-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .shared-actions-right {
        flex-direction: column;
    }
}

/* =======================================================
   MARKDOWN READER VIEW STYLING
   ======================================================= */

#shared-content-body h1,
#shared-content-body h2,
#shared-content-body h3,
#shared-content-body h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

#shared-content-body h1 {
    font-size: 1.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.4rem;
}

#shared-content-body h2 {
    font-size: 1.45rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.3rem;
}

#shared-content-body h3 {
    font-size: 1.25rem;
}

#shared-content-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

#shared-content-body ul,
#shared-content-body ol {
    margin-bottom: 1rem;
    padding-left: 1.75rem;
}

#shared-content-body li {
    margin-bottom: 0.35rem;
    line-height: 1.6;
}

#shared-content-body a {
    color: var(--color-brand-light);
    text-decoration: underline;
    transition: var(--transition-fast);
}

#shared-content-body a:hover {
    color: var(--text-primary);
}

#shared-content-body blockquote {
    border-left: 4px solid var(--color-brand);
    background: rgba(139, 92, 246, 0.04);
    padding: 0.75rem 1.25rem;
    margin: 1rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}

#shared-content-body code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-brand-light);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

#shared-content-body pre {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.25rem 0;
    overflow-x: auto;
}

#shared-content-body pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: var(--text-primary);
    font-size: 0.9em;
}

#shared-content-body hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

#shared-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.95rem;
}

#shared-content-body th,
#shared-content-body td {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    text-align: left;
}

#shared-content-body th {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
}

/* =======================================================
   DONATION BUTTON (SAWERIA) STYLING
   ======================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-donate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 0.9rem;
    cursor: pointer;
}

[data-theme="light"] .btn-donate {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.btn-donate:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
    transform: scale(1.03);
}

.btn-donate svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform var(--transition-fast);
}

.btn-donate:hover svg {
    transform: scale(1.15);
}

@media (max-width: 480px) {
    .btn-donate span {
        display: none; /* Hide label on very small screens to fit layout */
    }
    .btn-donate {
        padding: 0.6rem;
        border-radius: 50%;
    }
}

/* =======================================================
   FLOATING FEEDBACK BUTTON & MODAL
   ======================================================= */

.btn-feedback-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    z-index: 99;
    transition: var(--transition-normal);
}

.btn-feedback-trigger:hover {
    background: var(--bg-glass-hover);
    border-color: var(--color-brand);
    box-shadow: 0 6px 25px var(--color-brand-glow);
    transform: translateY(-2px);
}

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

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Card */
.modal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 480px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.show .modal-card {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
}

.btn-close-modal:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px var(--color-brand-glow);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    background: rgba(255, 255, 255, 1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 600px) {
    .btn-feedback-trigger {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}



