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

body {
    background-color: #090e1a;
    color: #f0f2f8;
    font-family: 'DM Sans', system-ui, sans-serif;
}

/* ==================== Noise Texture Overlay ==================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* ==================== Page Load Entrance ==================== */
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes subtlePulse {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

/* ==================== Panel Header Row ==================== */
.panel-header-row {
    height: 64px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ==================== Login Screen ==================== */
#loginOverlay {
    animation: fadeIn 400ms ease-out;
}

#loginOverlay > .relative {
    animation: scaleIn 500ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both;
}

/* ==================== Sidebar ==================== */
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #8b95b0;
    text-decoration: none;
    transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    position: relative;
}

.sidebar-item:hover {
    background: rgba(0, 46, 192, 0.1);
    color: #f0f2f8;
    transform: translateX(2px);
}

.sidebar-item.active {
    background: linear-gradient(135deg, #002EC0 0%, #0040e0 100%);
    color: #fff;
    box-shadow:
        0 2px 8px rgba(0, 46, 192, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar-item.active:hover {
    transform: none;
}

/* ==================== Conversations ==================== */
.conversation-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
}

.conversation-item:hover {
    background: rgba(0, 46, 192, 0.06);
    border-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.conversation-item.selected {
    background: rgba(0, 46, 192, 0.12);
    border-color: rgba(0, 46, 192, 0.35);
    box-shadow: 0 2px 12px rgba(0, 46, 192, 0.1);
}

.conversation-item.selected::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #002EC0;
    border-radius: 0 3px 3px 0;
}

/* ==================== Messages ==================== */
.message-bubble {
    max-width: 80%;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.55;
    animation: fadeSlideIn 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.message-user {
    background: linear-gradient(135deg, #002EC0 0%, #1a4fd8 100%);
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 46, 192, 0.25);
}

.message-assistant {
    background: linear-gradient(135deg, #16213d 0%, #1a2744 100%);
    color: #c8d0e0;
    margin-right: auto;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==================== Message Playback ==================== */
.message-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 0.375rem;
}

.message-wrapper.msg-user {
    flex-direction: row-reverse;
}

.message-bubble {
    position: relative;
    overflow: hidden;
}

.message-bubble .sweep-overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    pointer-events: none;
    border-radius: inherit;
    transition: none;
}

.message-user .sweep-overlay {
    background: rgba(255, 255, 255, 0.12);
}

.message-assistant .sweep-overlay {
    background: rgba(0, 46, 192, 0.15);
}

.play-btn {
    flex-shrink: 0;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #8b95b0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 180ms ease;
    padding: 0;
    margin-bottom: 0.25rem;
}

.play-btn:hover {
    background: rgba(0, 46, 192, 0.2);
    border-color: rgba(0, 46, 192, 0.5);
    color: #f0f2f8;
    transform: scale(1.1);
}

.play-btn.playing {
    background: rgba(0, 46, 192, 0.25);
    border-color: rgba(0, 46, 192, 0.6);
    color: #f0f2f8;
}

.play-btn svg {
    width: 0.75rem;
    height: 0.75rem;
}

/* ==================== Upload Drop Zone ==================== */
.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.drop-zone::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 46, 192, 0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 250ms ease;
    pointer-events: none;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: #002EC0;
    background: rgba(0, 46, 192, 0.04);
    transform: scale(1.005);
    box-shadow: 0 0 30px rgba(0, 46, 192, 0.08);
}

.drop-zone:hover::after,
.drop-zone.dragover::after {
    opacity: 1;
}

/* ==================== Buttons ==================== */
.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: transparent;
    color: #e04545;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: 1px solid rgba(224, 69, 69, 0.25);
    cursor: pointer;
    transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-danger:hover {
    background: rgba(224, 69, 69, 0.1);
    border-color: rgba(224, 69, 69, 0.6);
    box-shadow: 0 2px 8px rgba(224, 69, 69, 0.12);
    transform: translateY(-1px);
}

.btn-danger:active {
    transform: translateY(0);
}

/* ==================== Inputs ==================== */
.input-field {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: #111a30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    color: #f0f2f8;
    font-size: 0.875rem;
    outline: none;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input-field::placeholder {
    color: #5a6580;
}

.input-field:focus {
    border-color: rgba(0, 46, 192, 0.6);
    box-shadow:
        0 0 0 3px rgba(0, 46, 192, 0.12),
        0 2px 8px rgba(0, 46, 192, 0.08);
    background: #0f1729;
}

/* ==================== File Cards ==================== */
.file-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    overflow: hidden;
    background: linear-gradient(180deg, #0e1628 0%, #0d1424 100%);
    display: flex;
    flex-direction: column;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeSlideIn 350ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.file-card:hover {
    border-color: rgba(0, 46, 192, 0.3);
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 46, 192, 0.08);
}

.file-card-preview {
    width: 100%;
    height: 100px;
    background: #111a30;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.file-card-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(13, 20, 36, 0.6) 100%);
    pointer-events: none;
}

.file-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.file-card:hover .file-card-thumb {
    transform: scale(1.04);
}

.file-card-media {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111a30;
}

.file-card-text-preview {
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    font-size: 0.75rem;
    color: #8b95b0;
    overflow: hidden;
    white-space: pre-wrap;
    line-height: 1.3;
}

.file-card-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    word-break: break-all;
    max-width: 100%;
}

.file-card-body {
    padding: 0.75rem 0.875rem;
    flex: 1;
    min-width: 0;
}

.file-card-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #f0f2f8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.file-card-desc {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.file-delete-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.3125rem 0.625rem;
    background: transparent;
    color: #e04545;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: 1px solid rgba(224, 69, 69, 0.25);
    cursor: pointer;
    transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.file-delete-btn:hover {
    background: rgba(224, 69, 69, 0.1);
    border-color: rgba(224, 69, 69, 0.6);
    box-shadow: 0 2px 6px rgba(224, 69, 69, 0.1);
}

/* ==================== Preview Overlay ==================== */
.preview-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.preview-overlay.visible {
    display: flex;
    animation: fadeIn 200ms ease-out;
}

.preview-overlay-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    animation: scaleIn 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-overlay-text {
    width: min(900px, 90vw);
    max-height: 85vh;
    overflow: auto;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: #0d1424;
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: pre-wrap;
    color: #f0f2f8;
    font-size: 0.875rem;
    line-height: 1.55;
    animation: scaleIn 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-overlay-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(13, 20, 36, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #f0f2f8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.preview-overlay-close:hover {
    background: rgba(17, 26, 48, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.preview-overlay-link {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #002EC0 0%, #1a4fd8 100%);
    color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 46, 192, 0.3);
}

.preview-overlay-link:hover {
    background: linear-gradient(135deg, #0038d4 0%, #2760e8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 46, 192, 0.4);
}

/* ==================== Empty State ==================== */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #5a6580;
    font-size: 0.8125rem;
    line-height: 1.6;
    animation: fadeIn 400ms ease-out;
}

/* ==================== Scrollbar ==================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    transition: background 150ms ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ==================== Progress Bar ==================== */
#progress-fill {
    background: linear-gradient(90deg, #002EC0 0%, #1a5ff8 50%, #002EC0 100%) !important;
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

/* ==================== Staggered Card Entrance ==================== */
.file-card:nth-child(1)  { animation-delay: 0ms; }
.file-card:nth-child(2)  { animation-delay: 50ms; }
.file-card:nth-child(3)  { animation-delay: 100ms; }
.file-card:nth-child(4)  { animation-delay: 150ms; }
.file-card:nth-child(5)  { animation-delay: 200ms; }
.file-card:nth-child(6)  { animation-delay: 250ms; }
.file-card:nth-child(7)  { animation-delay: 300ms; }
.file-card:nth-child(8)  { animation-delay: 350ms; }
.file-card:nth-child(9)  { animation-delay: 400ms; }
.file-card:nth-child(10) { animation-delay: 450ms; }
.file-card:nth-child(11) { animation-delay: 500ms; }
.file-card:nth-child(12) { animation-delay: 550ms; }

/* ==================== PERSONA CARDS ==================== */

.persona-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.875rem;
    padding: 0;
    background: linear-gradient(180deg, #0e1628 0%, #0d1424 100%);
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeSlideIn 350ms cubic-bezier(0.16, 1, 0.3, 1) both;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.persona-card-top {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    min-height: 140px;
}
.persona-card:hover {
    border-color: rgba(0, 46, 192, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 46, 192, 0.08);
}
.persona-card--active {
    border-color: rgba(0, 46, 192, 0.5);
    background: linear-gradient(180deg, #0f1830 0%, #0d1628 100%);
    box-shadow: 0 4px 16px rgba(0, 46, 192, 0.15), inset 0 1px 0 rgba(255,255,255,0.04);
}
.persona-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}
.persona-card-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.persona-card-body {
    flex: 1;
    min-width: 0;
}
.persona-card-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f0f2f8;
    margin-bottom: 2px;
}
.persona-card-traits {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5a6580;
    margin-bottom: 6px;
}
.persona-card-desc {
    font-size: 0.8125rem;
    color: #8b95b0;
    line-height: 1.5;
}
.persona-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #002EC0 0%, #0040e0 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 46, 192, 0.3);
}
.persona-card-select {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #5a6580;
    transition: all 180ms ease;
}
.persona-card-save {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
    transition: all 180ms ease;
}
.persona-card-save:hover {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
}
.persona-card-voice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}
.persona-voice-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5a6580;
    flex-shrink: 0;
}
.persona-voice-select {
    flex: 1;
    min-width: 0;
    padding: 0.375rem 0.5rem;
    background: #111a30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.375rem;
    color: #f0f2f8;
    font-size: 0.75rem;
    outline: none;
    cursor: pointer;
    transition: all 200ms ease;
}
.persona-voice-select:focus {
    border-color: rgba(0, 46, 192, 0.5);
    box-shadow: 0 0 0 2px rgba(0, 46, 192, 0.1);
}
.persona-preview-btn {
    width: 32px;
    height: 32px;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #8b95b0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 180ms ease;
}
.persona-preview-btn:hover {
    background: rgba(0, 46, 192, 0.15);
    border-color: rgba(0, 46, 192, 0.4);
    color: #8bb4ff;
}
.persona-preview-btn:disabled {
    opacity: 0.5;
    cursor: wait;
}
.persona-preview-btn svg {
    width: 14px;
    height: 14px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}

/* ==================== MEMORY DASHBOARD ==================== */

.memory-cat-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #8b95b0;
    transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    background: none;
    text-align: left;
}
.memory-cat-btn:hover {
    background: rgba(0, 46, 192, 0.1);
    color: #f0f2f8;
    transform: translateX(2px);
}
.memory-cat-btn.active {
    background: linear-gradient(135deg, #002EC0 0%, #0040e0 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 46, 192, 0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}
.memory-cat-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.memory-cat-count {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #5a6580;
    background: rgba(255,255,255,0.06);
    padding: 1px 7px;
    border-radius: 10px;
}

.memory-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(180deg, #0e1628 0%, #0d1424 100%);
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeSlideIn 350ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.memory-item:hover {
    border-color: rgba(0, 46, 192, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.memory-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.375rem;
}
.memory-item-badge {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 6px;
}
.memory-item-content {
    font-size: 0.8125rem;
    color: #f0f2f8;
    line-height: 1.5;
    margin-bottom: 0.375rem;
}
.memory-item-meta {
    font-size: 0.6875rem;
    color: #5a6580;
}
.memory-item-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.memory-item-actions button {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: #8b95b0;
    cursor: pointer;
    transition: all 180ms ease;
}
.memory-item-actions button:hover {
    background: rgba(255,255,255,0.06);
    color: #f0f2f8;
    border-color: rgba(255,255,255,0.15);
}
.memory-item-actions button.action-danger {
    color: #e04545;
    border-color: rgba(224, 69, 69, 0.2);
}
.memory-item-actions button.action-danger:hover {
    background: rgba(224, 69, 69, 0.1);
    border-color: rgba(224, 69, 69, 0.5);
}
.memory-item-actions button.action-success {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.2);
}
.memory-item-actions button.action-success:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.5);
}
