/* =============================================================
   LYNQ Messenger – Theme: Synthwave
   Class: theme-synthwave
   ============================================================= */

body.theme-synthwave {
  background: linear-gradient(180deg, #0d0015 0%, #1a0033 60%, #0d001f 100%);
  background-attachment: fixed;
}

/* Window */
.theme-synthwave .win-window {
  background: rgba(15,0,30,0.95);
  border: 1px solid rgba(255,0,200,0.3);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(255,0,200,0.15);
}

/* Titlebar */
.theme-synthwave .win-titlebar {
  background: linear-gradient(180deg, #2a0040, #1a0030);
  border-bottom: 1px solid rgba(255,0,200,0.4);
  color: #ff00c8;
}

.theme-synthwave .win-titlebar-icon {
  opacity: 0.8;
}

.theme-synthwave .win-titlebar-logo {
  color: #ff00c8;
  text-shadow: 0 0 8px rgba(255,0,200,0.5);
}

.theme-synthwave .lynq-logo-img {
  filter: drop-shadow(0 0 4px rgba(255,0,200,0.6));
}

.theme-synthwave .win-titlebar-buttons button {
  background: rgba(30,0,50,0.8);
  border: 1px solid rgba(255,0,200,0.2);
  color: rgba(255,0,200,0.7);
  border-radius: 3px;
}

.theme-synthwave .win-titlebar-buttons button:hover {
  background: rgba(255,0,200,0.2);
  border-color: rgba(255,0,200,0.5);
  color: #ff00c8;
}

.theme-synthwave .win-titlebar-buttons .win-btn-close:hover {
  background: rgba(255,0,60,0.4);
  border-color: #ff003c;
  color: #ff003c;
  box-shadow: 0 0 8px rgba(255,0,60,0.4);
}

/* Buttons */
.theme-synthwave .win-button {
  background: rgba(0,0,30,0.6);
  border: 1px solid rgba(0,220,255,0.3);
  color: #00dcff;
  border-radius: 4px;
  transition: all 0.2s;
}

.theme-synthwave .win-button:hover {
  background: rgba(0,220,255,0.15);
  border-color: rgba(0,220,255,0.6);
  box-shadow: 0 0 8px rgba(0,220,255,0.2);
}

.theme-synthwave .win-button.primary {
  background: linear-gradient(90deg, #ff00c8, #7700ff);
  border: none;
  color: #fff;
  box-shadow: 0 0 12px rgba(255,0,200,0.4);
}

.theme-synthwave .win-button.primary:hover {
  background: linear-gradient(90deg, #ff33d4, #8800ff);
  box-shadow: 0 0 20px rgba(255,0,200,0.6);
}

/* Form inputs */
.theme-synthwave .form-group input,
.theme-synthwave .form-group select {
  background: rgba(0,0,30,0.8);
  border: 1px solid rgba(0,220,255,0.2);
  border-radius: 4px;
  color: #00dcff;
  font-family: monospace;
}

.theme-synthwave .form-group input:focus,
.theme-synthwave .form-group select:focus {
  border-color: #00dcff;
  box-shadow: 0 0 10px rgba(0,220,255,0.3);
  outline: none;
}

.theme-synthwave .form-group input::placeholder {
  color: rgba(0,220,255,0.3);
}

.theme-synthwave .form-group label {
  color: #ff00c8;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Login */
.theme-synthwave .login-window {
  border-radius: 8px;
}

.theme-synthwave .login-body {
  background: rgba(15,0,30,0.95);
}

.theme-synthwave .login-logo h1 {
  color: #00dcff;
  text-shadow: 0 0 15px #00dcff;
  letter-spacing: 6px;
}

.theme-synthwave .login-subtitle {
  color: #ff00c8;
  font-size: 10px;
}

/* Messages */
.theme-synthwave .error-msg {
  color: #ff4444;
  text-shadow: 0 0 4px rgba(255,68,68,0.4);
}

.theme-synthwave .info-msg {
  color: #00dcff;
}

/* Contact window */
.theme-synthwave .contact-window {
  width: 240px;
  border-radius: 8px;
}

.theme-synthwave .user-info-bar {
  background: linear-gradient(180deg, #2a0040, #1a0030);
  border-bottom: 1px solid rgba(255,0,200,0.2);
}

.theme-synthwave .my-nickname {
  color: #ff00c8;
}

.theme-synthwave .my-uin {
  color: rgba(255,0,200,0.5);
}

.theme-synthwave .status-dropdown-wrapper select {
  background: rgba(15,0,30,0.8);
  border: 1px solid rgba(255,0,200,0.2);
  color: #ff00c8;
}

/* Toolbar */
.theme-synthwave .toolbar {
  background: rgba(15,0,30,0.9);
  border-bottom: 1px solid rgba(255,0,200,0.2);
}

.theme-synthwave .toolbar-btn {
  color: rgba(255,0,200,0.6);
  background: transparent;
  border: none;
}

.theme-synthwave .toolbar-btn:hover {
  background: rgba(255,0,200,0.15);
  color: #ff00c8;
}

/* Contact list */
.theme-synthwave .contact-list {
  background: #0d0020;
  border: none;
  outline: none;
}

.theme-synthwave .group-header {
  background: linear-gradient(180deg, #200030, #180025);
  color: rgba(255,0,200,0.6);
  border-bottom: 1px solid rgba(255,0,200,0.15);
}

.theme-synthwave .group-header:hover {
  background: rgba(255,0,200,0.1);
  color: #ff00c8;
}

.theme-synthwave .group-arrow {
  color: rgba(255,0,200,0.4);
}

.theme-synthwave .group-count {
  color: rgba(255,0,200,0.4);
}

.theme-synthwave .group-add-btn {
  color: rgba(0,220,255,0.5);
  background: transparent;
}

.theme-synthwave .contact-item {
  color: #c0a0d0;
  border-bottom: 1px solid rgba(255,0,200,0.05);
}

.theme-synthwave .contact-item:hover {
  background: rgba(255,0,200,0.1);
  color: #ff00c8;
}

.theme-synthwave .contact-item.has-message .contact-name {
  color: #ff4444;
  text-shadow: 0 0 5px rgba(255,68,68,0.4);
}

.theme-synthwave .contact-name {
  color: #c0a0d0;
}

.theme-synthwave .contact-status-msg {
  color: rgba(192,160,208,0.5);
}

/* Bottom bar */
.theme-synthwave .bottom-bar {
  background: rgba(10,0,25,0.9);
  border-top: 1px solid rgba(255,0,200,0.2);
}

.theme-synthwave .server-status {
  color: #00dcff;
  text-shadow: 0 0 4px rgba(0,220,255,0.4);
}

.theme-synthwave .server-status.disconnected {
  color: #ff4444;
  text-shadow: 0 0 4px rgba(255,68,68,0.4);
}

.theme-synthwave .app-version {
  color: rgba(255,0,200,0.3);
}

.theme-synthwave .ad-banner {
  background: rgba(15,0,30,0.8);
  border-top: 1px solid rgba(255,0,200,0.1);
  color: rgba(192,160,208,0.5);
}

/* Chat window */
.theme-synthwave .chat-window {
  width: 450px;
  border-radius: 8px;
}

.theme-synthwave .chat-toolbar {
  background: linear-gradient(180deg, #2a0040, #1a0030);
  border-bottom: 1px solid rgba(255,0,200,0.2);
}

.theme-synthwave .chat-toolbar-btn {
  color: rgba(255,0,200,0.6);
  background: transparent;
  border: none;
}

.theme-synthwave .chat-toolbar-btn:hover {
  background: rgba(255,0,200,0.15);
  color: #ff00c8;
}

.theme-synthwave .chat-messages {
  background: #080015;
  border-top: 1px solid rgba(255,0,200,0.1);
  border-bottom: 1px solid rgba(255,0,200,0.1);
}

.theme-synthwave .chat-msg {
  background: rgba(255,0,200,0.03);
  border-radius: 6px;
}

.theme-synthwave .chat-msg-header.mine {
  color: #00dcff;
}

.theme-synthwave .chat-msg-header.theirs {
  color: #ff00c8;
}

.theme-synthwave .chat-msg-time {
  color: rgba(255,0,200,0.3);
}

.theme-synthwave .chat-msg-text {
  color: #c0a0d0;
}

.theme-synthwave .chat-typing {
  color: rgba(255,0,200,0.4);
  font-style: italic;
}

.theme-synthwave .chat-input-area {
  background: linear-gradient(180deg, #1a0030, #150025);
}

.theme-synthwave .chat-input-area textarea {
  background: #080015;
  border: 1px solid rgba(255,0,200,0.2);
  color: #c0a0d0;
  font-family: monospace;
}

.theme-synthwave .chat-input-area textarea:focus {
  border-color: #ff00c8;
  box-shadow: 0 0 8px rgba(255,0,200,0.2);
  outline: none;
}

.theme-synthwave .chat-input-area textarea::placeholder {
  color: rgba(255,0,200,0.2);
}

.theme-synthwave .chat-system-msg {
  color: rgba(0,220,255,0.4);
  font-style: italic;
  text-align: center;
}

/* Dialog */
.theme-synthwave .dialog-overlay {
  background: rgba(0,0,20,0.8);
}

.theme-synthwave .dialog-body {
  background: rgba(15,0,30,0.98);
  border: 1px solid rgba(255,0,200,0.3);
  border-radius: 8px;
}

/* Search */
.theme-synthwave .search-results {
  background: rgba(15,0,30,0.98);
  border: 1px solid rgba(255,0,200,0.2);
}

.theme-synthwave .search-result-item {
  border-bottom: 1px solid rgba(255,0,200,0.05);
}

.theme-synthwave .search-result-item:hover {
  background: rgba(255,0,200,0.1);
}

.theme-synthwave .search-result-name {
  color: #c0a0d0;
}

.theme-synthwave .search-result-uin {
  color: rgba(255,0,200,0.4);
}

/* Settings */
.theme-synthwave .settings-tabs {
  background: rgba(15,0,30,0.9);
  border-bottom: 1px solid rgba(255,0,200,0.2);
}

.theme-synthwave .settings-tab {
  color: rgba(255,0,200,0.5);
  background: transparent;
  border-bottom: 2px solid transparent;
}

.theme-synthwave .settings-tab:hover {
  color: #ff00c8;
  background: rgba(255,0,200,0.08);
}

.theme-synthwave .settings-tab.active {
  color: #ff00c8;
  border-bottom-color: #ff00c8;
}

.theme-synthwave .settings-content {
  background: rgba(15,0,30,0.9);
  color: #c0a0d0;
}

.theme-synthwave .settings-hint {
  color: rgba(0,220,255,0.4);
  font-size: 11px;
}

.theme-synthwave .settings-divider {
  border-color: rgba(255,0,200,0.15);
}

/* Lynq number */
.theme-synthwave .lynq-number-display {
  color: #ff00c8;
  text-shadow: 0 0 5px rgba(255,0,200,0.3);
}

/* Context menu */
.theme-synthwave .context-menu {
  background: #1a0030;
  border: 1px solid rgba(255,0,200,0.3);
  color: #c0a0d0;
  border-radius: 6px;
}

.theme-synthwave .context-menu-item:hover {
  background: rgba(255,0,200,0.2);
  color: #ff00c8;
}

/* Emoji picker */
.theme-synthwave .emoji-picker {
  background: rgba(15,0,30,0.98);
  border: 1px solid rgba(255,0,200,0.3);
}

.theme-synthwave .emoji-item:hover {
  background: rgba(255,0,200,0.2);
}

/* Toast */
.theme-synthwave .toast {
  background: linear-gradient(180deg, #2a0040, #1a0030);
  border: 1px solid rgba(255,0,200,0.3);
  color: #c0a0d0;
  box-shadow: 0 4px 16px rgba(255,0,200,0.2);
}

/* Scrollbars */
.theme-synthwave ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.theme-synthwave ::-webkit-scrollbar-track {
  background: #080015;
}

.theme-synthwave ::-webkit-scrollbar-thumb {
  background: rgba(255,0,200,0.3);
  border-radius: 3px;
}

.theme-synthwave ::-webkit-scrollbar-thumb:hover {
  background: rgba(255,0,200,0.5);
}

.theme-synthwave ::-webkit-scrollbar-button {
  display: none;
}

/* Responsive */
@media (max-width: 600px) {
  .theme-synthwave .contact-window {
    width: 100%;
    border-radius: 0;
  }
  .theme-synthwave .chat-window {
    width: 100%;
    border-radius: 0;
  }
  .theme-synthwave .win-window {
    border-radius: 0;
  }
}
