/* Theme 1: Terminal */
.theme-terminal #messages {
    background: #000;
    font-family: 'Courier New', monospace;
    color: #0f0;
}

.theme-terminal .message {
    color: #0f0;
}

.theme-terminal .message::before {
    content: "> ";
    color: #0f0;
}

.theme-terminal .message-name {
    color: #0f0;
}

/* Theme 2: Cyberpunk */
.theme-cyberpunk #messages {
    background: linear-gradient(135deg, #1a0033 0%, #0d001a 100%);
    color: #ff00ff;
}

.theme-cyberpunk .message {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    border-left: 2px solid #ff00ff;
    padding-left: 10px;
}

.theme-cyberpunk .message-name {
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* Theme 4: Minimal */
.theme-minimal #messages {
    background: #0a0a0a;
    color: #e0e0e0;
}

.theme-minimal .message {
    color: #e0e0e0;
    border-left: 3px solid #666;
    padding-left: 15px;
    margin: 15px 0;
    transition: border-color 0.3s;
}

.theme-minimal .message:hover {
    border-left-color: #fff;
}

.theme-minimal .message-name {
    color: #4a9eff;
}

/* Theme 5: IRC */
.theme-irc #messages {
    background: #fff;
    color: #000;
    font-family: 'Courier New', monospace;
}

.theme-irc .message {
    color: #000;
    padding: 2px 0;
}

.theme-irc .message-name {
    font-weight: bold;
}

/* Theme 6: Bubble */
.theme-bubble #messages {
    background: #0e0e0e;
    padding: 20px;
}

.theme-bubble .message {
    background: #1a1a1a;
    border-radius: 18px;
    padding: 10px 15px;
    margin: 8px 0;
    max-width: 70%;
    display: inline-block;
}

.theme-bubble .message-name {
    color: #4a9eff;
}

/* Theme 7: Glass */
.theme-glass #messages {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: #fff;
}

.theme-glass .message {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    margin: 8px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.theme-glass .message-name {
    color: #4a9eff;
}

/* Theme 7: TerminalV2 */
.theme-terminalv2 #messages {
    background: #000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
}

.theme-terminalv2 .message {
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 5px;
    margin: 5px 0;
    position: relative;
}

.theme-terminalv2 .message::before {
    content: "[";
    position: absolute;
    left: -10px;
}

.theme-terminalv2 .message::after {
    content: "]";
    position: absolute;
    right: -10px;
}

.theme-terminalv2 .message-name {
    color: #00ff00;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}
