body {
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--bg-color);
    color: var(--text-primary);
}

/* Neumorphism Background */
.neumorphism-bg {
    background: var(--bg-color);
}

/* Neumorphism Card */
.neumorphism-card {
    background: var(--surface-color);
    border-radius: 20px;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    border: none;
}

/* Neumorphism Button */
.neumorphism-button {
    background: var(--surface-color);
    border: none;
    border-radius: 15px;
    box-shadow: 
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light);
    transition: all 0.3s ease;
}

.neumorphism-button:hover {
    box-shadow: 
        4px 4px 8px var(--shadow-dark),
        -4px -4px 8px var(--shadow-light);
}

.neumorphism-button:active {
    box-shadow: 
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
}

/* Subtle Copy Button */
.copy-button {
    background: var(--surface-color);
    border: none;
    border-radius: 8px;
    box-shadow: 
        2px 2px 4px var(--shadow-dark),
        -2px -2px 4px var(--shadow-light);
    transition: all 0.2s ease;
}

.copy-button:hover {
    box-shadow: 
        1px 1px 2px var(--shadow-dark),
        -1px -1px 2px var(--shadow-light);
}

.copy-button:active {
    box-shadow: 
        inset 1px 1px 2px var(--shadow-dark),
        inset -1px -1px 2px var(--shadow-light);
}

/* Neumorphism Input */
.neumorphism-input {
    background: var(--surface-color);
    border: none;
    border-radius: 15px;
    box-shadow: 
        inset 6px 6px 12px var(--shadow-dark),
        inset -6px -6px 12px var(--shadow-light);
}

.neumorphism-input:focus {
    box-shadow: 
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
    outline: none;
}

/* Neumorphism Dark Theme */
:root {
    --bg-color: #1a1a1a;
    --surface-color: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --shadow-light: #404040;
    --shadow-dark: #0a0a0a;
}

/* Light Theme Variables - Colorful Neumorphism */
[data-theme="light"] {
    --bg-color: #f0f9ff;
    --surface-color: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --shadow-light: #e0e7ff;
    --shadow-dark: #c7d2fe;
    --card-bg: #ffffff;
    --input-bg: #f8fafc;
    --button-primary: #3b82f6;
    --button-secondary: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.gradient-bg {
    background: var(--bg-gradient);
}

.modern-button {
    background: var(--button-gradient);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.modern-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.modern-button:hover::before {
    left: 100%;
}

.modern-button:hover {
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.6);
    transform: translateY(-2px);
}

/* Custom text colors for theme switching */
.text-theme-primary {
    color: var(--text-primary);
}

/* Light Theme - Glass Flat (Semi-flat) Styles */
body[data-theme="light"] {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
}

[data-theme="light"] .neumorphism-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .neumorphism-button {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .neumorphism-button:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

[data-theme="light"] .neumorphism-input {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .neumorphism-input:focus {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--accent-color);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.05),
        0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Light Theme Header Styling */
[data-theme="light"] h1 {
    background: linear-gradient(135deg, #3b82f6, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .bg-gray-800 {
    background: linear-gradient(135deg, #3b82f6, #06b6d4) !important;
}

[data-theme="light"] .bg-gray-700\/50 {
    background: linear-gradient(135deg, #3b82f6/80, #06b6d4/80) !important;
}

[data-theme="light"] .text-gray-300 {
    color: #ffffff !important;
}

[data-theme="light"] .text-gray-400 {
    color: #e2e8f0 !important;
}

/* Light Theme Table Styling */
[data-theme="light"] .bg-gray-800 {
    background: linear-gradient(135deg, #3b82f6, #06b6d4) !important;
}

[data-theme="light"] .bg-gray-700\/50 {
    background: linear-gradient(135deg, #3b82f6/80, #06b6d4/80) !important;
}

[data-theme="light"] .hover\:bg-gray-700:hover {
    background: linear-gradient(135deg, #2563eb, #0891b2) !important;
}

[data-theme="light"] .border-gray-600 {
    border-color: #3b82f6 !important;
}

/* Light Theme Copy Button */
[data-theme="light"] .copy-button {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .copy-button:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .copy-button:active {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Light Theme Switch Buttons */
[data-theme="light"] .fixed .neumorphism-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Dark Theme Switch Buttons - remove light highlight shadow */
[data-theme="dark"] .fixed .neumorphism-card {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Only keep subtle drop shadow; eliminate inverted light shadow */
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.6);
}

.text-theme-secondary {
    color: var(--text-secondary);
}

/* Placeholder styling */
.neumorphism-input::placeholder {
    opacity: 0.6;
    font-size: 0.875rem;
}

[data-theme="light"] .neumorphism-input::placeholder {
    opacity: 0.5;
    color: #64748b;
}

.text-theme-muted {
    color: var(--text-muted);
}

.bg-theme-card {
    background: var(--card-bg);
}

.bg-theme-input {
    background: var(--input-bg);
}

.border-theme-input {
    border-color: var(--input-border);
}

.focus\:border-theme-input:focus {
    border-color: var(--input-focus);
}

.bg-theme-table-row {
    background: var(--table-row-bg);
}

.hover\:bg-theme-table-row:hover {
    background: var(--table-row-hover);
}

.border-theme-table {
    border-color: var(--table-border);
}

/* Accessibility - Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
.focus\:ring-accent-color:focus {
    --tw-ring-color: var(--accent-color);
}

.focus\:ring-offset-2:focus {
    --tw-ring-offset-width: 2px;
}

/* Minimum touch target size */
.min-h-\[44px\] {
    min-height: 44px;
}

/* Animation for loading spinner */
.animate-spin {
    animation: spin 1s linear infinite;
}

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

/* Ensure consistent notification positioning */
#copy-alert {
    position: fixed !important;
    top: 5rem !important;
    right: 1.5rem !important;
    z-index: 9999 !important;
}

/* Ensure consistent positioning for both themes */
[data-theme="dark"] #copy-alert,
[data-theme="light"] #copy-alert {
    position: fixed !important;
    top: 5rem !important;
    right: 1.5rem !important;
    z-index: 9999 !important;
}

/* Override Tailwind classes for light theme notifications */
[data-theme="light"] #copy-alert {
    position: fixed !important;
    top: 5rem !important;
    right: 1.5rem !important;
    z-index: 9999 !important;
    transform: translateY(0) scale(1) !important;
}

[data-theme="light"] #copy-alert.show-notification {
    position: fixed !important;
    top: 5rem !important;
    right: 1.5rem !important;
    z-index: 9999 !important;
    transform: translateY(0) scale(1) !important;
}

/* Smooth transitions for theme change */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Footer Styling */
footer {
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Subtle 3D shadow under the 2FA logo */
.logo-3d {
    position: relative;
}
.logo-3d::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -6px;
    width: 70%;
    height: 12px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0.04) 75%, rgba(0,0,0,0) 100%);
    filter: blur(2px);
    pointer-events: none;
}

/* Light theme footer */
[data-theme="light"] footer {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Enhanced shadows for light theme */
[data-theme="light"] .neumorphism-card {
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .neumorphism-button {
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .neumorphism-button:hover {
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.18),
        0 3px 12px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .neumorphism-input {
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .copy-button {
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .copy-button:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

/* Dark theme footer */
[data-theme="dark"] footer {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Light theme subtitle visibility */
[data-theme="light"] .text-gray-400 {
    color: #64748b !important;
}

/* Ensure subtitle is visible in light theme */
[data-theme="light"] p[data-translate="subtitle"] {
    color: #475569 !important;
    font-weight: 500;
}

/* Table column widths */
.table-custom th:nth-child(1),
.table-custom td:nth-child(1) {
    width: 30%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.table-custom th:nth-child(2),
.table-custom td:nth-child(2) {
    width: 50%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.table-custom th:nth-child(3),
.table-custom td:nth-child(3) {
    width: 20%;
    padding-left: 1rem;
    white-space: nowrap;
    text-align: center;
}

/* OTP countdown ring styles */
.otp-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
}

/* Four-column inline layout inside Code cell: delete | code | copy | countdown */
.otp-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.5rem;
}
.otp-row .delete-row-btn {
    justify-self: start;
}
.otp-row .otp-code {
    justify-self: start;
}
.otp-row .copy-button {
    justify-self: center;
}
.otp-row .otp-countdown {
    justify-self: end;
}
.otp-countdown .otp-ring {
    width: 30px;
    height: 30px;
}
.otp-ring-circle-bg {}
.otp-ring-circle {}
.otp-countdown-text {
    font-size: 12px;
    fill: #cbd5e1; /* slate-300 */
    font-family: 'Orbitron', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.5px;
}

/* Logo container styles removed as requested */

/* Desktop notification styling - compact */
@media (min-width: 769px) {
    .notification-item {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.75rem !important;
        line-height: 1.1rem !important;
        font-family: 'Poppins', sans-serif !important;
        font-weight: 400 !important;
        max-width: 280px !important;
        border-radius: 0.5rem !important;
    }
    
    .notification-item .flex {
        gap: 0.375rem !important;
    }
    
    .notification-item svg {
        width: 0.75rem !important;
        height: 0.75rem !important;
        flex-shrink: 0 !important;
    }
    
    .notification-item span {
        font-size: 0.75rem !important;
        line-height: 1.1rem !important;
        font-family: 'Poppins', sans-serif !important;
        font-weight: 400 !important;
    }
}

/* Mobile notification sizing */
@media (max-width: 768px) {
    #copy-alert {
        top: 1rem !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 2rem) !important;
        max-width: 400px !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        line-height: 1.25rem !important;
    }
    
    #copy-alert .flex {
        gap: 0.5rem !important;
    }
    
    #copy-alert svg {
        width: 1rem !important;
        height: 1rem !important;
    }
    
    #copy-alert span {
        font-size: 0.875rem !important;
        line-height: 1.25rem !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    #copy-alert {
        top: 0.75rem !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 1.5rem) !important;
        max-width: 350px !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        line-height: 1.2rem !important;
    }
    
    #copy-alert svg {
        width: 0.875rem !important;
        height: 0.875rem !important;
    }
}

/* Basic Content Protection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Allow selection for input fields */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Disable drag for images */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Re-enable pointer events for interactive elements */
button, a, input, textarea, label {
    pointer-events: auto !important;
}

/* Ensure textarea is fully functional */
#skey {
    pointer-events: auto !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    cursor: text !important;
}

/* Ensure all form elements work properly */
.neumorphism-input {
    pointer-events: auto !important;
}

/* Ensure buttons are clickable */
.neumorphism-button, .copy-button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Light theme icon visibility improvements */
[data-theme="light"] .bg-blue-500\/20 svg {
    color: #1d4ed8 !important; /* blue-700 for better contrast */
}

[data-theme="light"] .bg-blue-500\/30 {
    background-color: rgba(59, 130, 246, 0.6) !important; /* blue-500 with higher opacity */
}

[data-theme="light"] .text-blue-300 {
    color: #1e40af !important; /* blue-800 for better contrast */
}

[data-theme="light"] .bg-yellow-500\/20 svg {
    color: #b45309 !important; /* amber-700 for better contrast */
}

[data-theme="light"] .bg-yellow-500\/30 {
    background-color: rgba(245, 158, 11, 0.6) !important; /* amber-500 with higher opacity */
}

[data-theme="light"] .text-yellow-300 {
    color: #92400e !important; /* amber-800 for better contrast */
}

/* Theme switch button enhancement */
#theme-switch {
    transition: all 0.3s ease;
    min-width: auto;
    height: auto;
    padding: 0.125rem 0.375rem; /* More compact padding */
}

#theme-switch:hover {
    transform: scale(1.05);
}

#theme-switch:active {
    transform: scale(0.95);
}

/* Ensure theme button container is compact */
#theme-switch .neumorphism-card {
    padding: 0.25rem 0.125rem;
}

#theme-icon {
    transition: all 0.3s ease;
    display: inline-block;
}

/* Add subtle rotation animation on theme change */
#theme-switch.changing #theme-icon {
    transform: rotate(180deg);
}

/* Reset rotation after animation */
#theme-icon {
    transform: rotate(0deg);
}

/* Language switch button precision */
#language-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: fit-content;
}

/* Perfect centering for language text container */
#language-switch div {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 100%;
}

#language-switch span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: baseline;
}

/* Separator styling */
#language-switch .text-theme-muted {
    font-weight: normal;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Footer Half Shape - Compact Dome */
.footer-half-shape {
    border-radius: 20px 20px 0 0;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 0 !important;
    min-height: 90px;
}


/* Compact spacing for footer content */
.footer-half-shape .space-y-1 > * + * {
    margin-top: 0.125rem;
}

.footer-half-shape p {
    line-height: 1.3;
    margin: 0;
}

/* Light theme button text color - match subtitle */
[data-theme="light"] .neumorphism-button.text-theme-primary {
    color: #64748b !important;
}

/* Footer responsive design */
@media (max-width: 768px) {
    .footer-half-shape {
        margin-left: 1rem;
        margin-right: 1rem;
        min-height: 75px;
    }
    
    .footer-half-shape .text-center {
        padding: 0.75rem 1rem;
    }
    
    .footer-half-shape p {
        font-size: 0.7rem;
        line-height: 1.4;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Stack content vertically on mobile */
    .footer-half-shape .space-y-1 {
        gap: 0.25rem;
    }
    
    /* Show full text on tablet */
    .hidden-mobile {
        display: inline;
    }
}

@media (max-width: 480px) {
    .footer-half-shape {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        min-height: 70px;
    }
    
    .footer-half-shape .text-center {
        padding: 0.5rem 0.75rem;
    }
    
    .footer-half-shape p {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    /* Break long text more aggressively on small screens */
    .footer-half-shape span {
        word-break: break-word;
    }
    
    /* Hide unauthorized copying text on mobile */
    .hidden-mobile {
        display: none;
    }
    
}

/* Minimal focus outline - more transparent */
button:focus,
input:focus,
textarea:focus {
    outline: 1px solid rgba(147, 51, 234, 0.25);
    outline-offset: 1px;
}

/* Light theme minimal outline */
[data-theme="light"] button:focus,
[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus {
    outline: 1px solid rgba(59, 130, 246, 0.25);
    outline-offset: 1px;
}

/* Notification stack mobile responsiveness - more compact */
@media (max-width: 768px) {
    .notification-item {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 2rem) !important;
        max-width: 350px !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        border-radius: 0.5rem !important;
    }
    
    .notification-item svg {
        width: 0.875rem !important;
        height: 0.875rem !important;
    }
    
    .notification-item .flex {
        gap: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .notification-item {
        width: calc(100vw - 1.5rem) !important;
        max-width: 300px !important;
        padding: 0.375rem 0.625rem !important;
        font-size: 0.75rem !important;
        border-radius: 0.375rem !important;
    }
    
    .notification-item svg {
        width: 0.75rem !important;
        height: 0.75rem !important;
    }
}

/* Small clear button for textarea */
.neumorphism-button-small {
    background: var(--surface-color);
    border: none;
    border-radius: 50%;
    box-shadow: 
        4px 4px 8px var(--shadow-dark),
        -4px -4px 8px var(--shadow-light),
        0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    opacity: 0.7;
}

.neumorphism-button-small:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 
        3px 3px 6px var(--shadow-dark),
        -3px -3px 6px var(--shadow-light),
        0 3px 6px rgba(0, 0, 0, 0.3);
}

.neumorphism-button-small:active {
    transform: scale(0.95);
    box-shadow: 
        inset 2px 2px 4px var(--shadow-dark),
        inset -2px -2px 4px var(--shadow-light);
}

/* Light theme small button */
[data-theme="light"] .neumorphism-button-small {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.15),
        0 1px 4px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .neumorphism-button-small:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.12),
        0 3px 6px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .neumorphism-button-small:active {
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Hide buttons when textarea is empty */
#skey:placeholder-shown ~ #copyTextBtn,
#skey:placeholder-shown ~ #clearTextBtn {
    opacity: 0.3;
    pointer-events: none;
}

/* Show buttons when textarea has content */
#skey:not(:placeholder-shown) ~ #copyTextBtn,
#skey:not(:placeholder-shown) ~ #clearTextBtn {
    opacity: 0.6;
    pointer-events: auto;
}

/* Light theme icon color for textarea buttons */
[data-theme="light"] #copyTextBtn,
[data-theme="light"] #clearTextBtn {
    color: #64748b !important;
}

[data-theme="light"] #copyTextBtn:hover,
[data-theme="light"] #clearTextBtn:hover {
    color: #475569 !important;
}

/* Delete row button styling - Neumorphism */
.delete-row-btn {
    border: none;
    background: var(--surface-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.7;
    box-shadow: 
        2px 2px 4px var(--shadow-dark),
        -2px -2px 4px var(--shadow-light);
}

.delete-row-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    color: #ef4444;
    box-shadow: 
        1px 1px 2px var(--shadow-dark),
        -1px -1px 2px var(--shadow-light),
        0 2px 4px rgba(239, 68, 68, 0.3);
}

.delete-row-btn:active {
    transform: scale(0.95);
    box-shadow: 
        inset 1px 1px 2px var(--shadow-dark),
        inset -1px -1px 2px var(--shadow-light);
}

/* Light theme delete button - Glass neumorphism */
[data-theme="light"] .delete-row-btn {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #64748b;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .delete-row-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #dc2626;
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(220, 38, 38, 0.2);
}

[data-theme="light"] .delete-row-btn:active {
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
