/* =============================================================
   LYNQ Messenger – Theme: Steampunk
   Class: theme-steampunk
   ============================================================= */

body.theme-steampunk {
  background: linear-gradient(180deg, #1a0e00, #2a1a00, #1a0e00);
  background-attachment: fixed;
}

/* Window */
.theme-steampunk .win-window {
  background: linear-gradient(180deg, #2a1a00, #1a0e00);
  border: 2px solid #6b4a10;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 20px rgba(180,120,30,0.1);
}

/* Titlebar */
.theme-steampunk .win-titlebar {
  background: linear-gradient(180deg, #3d2800, #2a1a00);
  color: #c8960a;
  border-bottom: 2px solid #6b4a10;
  font-family: Georgia, serif;
  letter-spacing: 2px;
  text-shadow: 0 0 6px rgba(200,150,10,0.3);
}

.theme-steampunk .win-titlebar-icon {
  opacity: 0.85;
}

.theme-steampunk .win-titlebar-logo {
  color: #c8960a;
  text-shadow: 0 0 6px rgba(200,150,10,0.3);
}

.theme-steampunk .lynq-logo-img {
  filter: drop-shadow(0 0 3px rgba(200,150,10,0.4)) sepia(0.4);
}

.theme-steampunk .win-titlebar-buttons button {
  background: linear-gradient(180deg, #5a3a00, #3d2800);
  border: 1px solid #8b6010;
  color: #a07020;
  border-radius: 2px;
}

.theme-steampunk .win-titlebar-buttons button:hover {
  background: #6b4a10;
  color: #c8960a;
}

.theme-steampunk .win-titlebar-buttons .win-btn-close:hover {
  background: #8b2000;
  border-color: #8b2000;
  color: #ffaa80;
}

/* Buttons */
.theme-steampunk .win-button {
  background: rgba(80,50,0,0.4);
  border: 1px solid #6b4a10;
  color: #a07020;
  font-family: Georgia, serif;
  border-radius: 2px;
  transition: all 0.15s;
}

.theme-steampunk .win-button:hover {
  background: rgba(107,74,16,0.3);
  border-color: #a07020;
  color: #c8960a;
}

.theme-steampunk .win-button.primary {
  background: linear-gradient(180deg, #c8960a, #8b6010);
  border: 2px solid #6b4a10;
  color: #1a0e00;
  font-weight: 700;
  font-family: Georgia, serif;
  box-shadow: inset 0 1px 0 rgba(255,200,80,0.3), 0 2px 4px rgba(0,0,0,0.4);
}

.theme-steampunk .win-button.primary:hover {
  background: linear-gradient(180deg, #daa820, #a07020);
  box-shadow: inset 0 1px 0 rgba(255,220,100,0.4), 0 3px 8px rgba(0,0,0,0.5);
}

/* Form inputs */
.theme-steampunk .form-group input,
.theme-steampunk .form-group select {
  background: #100800;
  border: none;
  border-bottom: 1px solid #6b4a10;
  border-right: 1px solid #6b4a10;
  color: #c8960a;
  font-family: Georgia, serif;
  border-radius: 0;
}

.theme-steampunk .form-group input:focus,
.theme-steampunk .form-group select:focus {
  border-bottom-color: #c8960a;
  background: #150a00;
  box-shadow: 0 2px 6px rgba(200,150,10,0.15);
  outline: none;
}

.theme-steampunk .form-group input::placeholder {
  color: #4a3000;
}

.theme-steampunk .form-group label {
  color: #a07020;
  font-family: Georgia, serif;
  letter-spacing: 1px;
}

/* Login */
.theme-steampunk .login-window {
  border-radius: 4px;
}

.theme-steampunk .login-body {
  background: linear-gradient(180deg, #2a1a00, #1a0e00);
}

.theme-steampunk .login-logo h1 {
  color: #c8960a;
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: 4px;
  text-shadow: 0 0 10px rgba(200,150,10,0.3);
}

.theme-steampunk .login-subtitle {
  color: #6b4a10;
  font-style: italic;
  font-family: Georgia, serif;
  letter-spacing: 2px;
}

/* Messages */
.theme-steampunk .error-msg {
  color: #ff8840;
}

.theme-steampunk .info-msg {
  color: #c8960a;
}

/* Contact window */
.theme-steampunk .contact-window {
  border-radius: 4px;
}

.theme-steampunk .user-info-bar {
  background: linear-gradient(180deg, #3d2800, #2a1a00);
  border-bottom: 2px solid #6b4a10;
}

.theme-steampunk .my-nickname {
  color: #c8960a;
  font-family: Georgia, serif;
}

.theme-steampunk .my-uin {
  color: #6b4a10;
}

.theme-steampunk .status-dropdown-wrapper select {
  background: #1a0e00;
  border: 1px solid #6b4a10;
  color: #a07020;
  font-family: Georgia, serif;
}

/* Toolbar */
.theme-steampunk .toolbar {
  background: #2a1a00;
  border-bottom: 1px solid #6b4a10;
}

.theme-steampunk .toolbar-btn {
  color: #a07020;
  background: transparent;
  border: none;
}

.theme-steampunk .toolbar-btn:hover {
  background: rgba(107,74,16,0.3);
  color: #c8960a;
}

/* Contact list */
.theme-steampunk .contact-list {
  background: #150a00;
  border: none;
  outline: none;
}

.theme-steampunk .group-header {
  background: linear-gradient(180deg, #2a1a00, #1e1200);
  color: #8b6010;
  border-bottom: 1px solid #6b4a10;
  font-family: Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.theme-steampunk .group-header:hover {
  background: rgba(107,74,16,0.3);
  color: #c8960a;
}

.theme-steampunk .group-arrow {
  color: #6b4a10;
}

.theme-steampunk .group-count {
  color: #6b4a10;
}

.theme-steampunk .group-add-btn {
  color: #8b6010;
  background: transparent;
}

.theme-steampunk .contact-item {
  color: #a07020;
  border-bottom: 1px solid rgba(107,74,16,0.2);
  font-family: Georgia, serif;
}

.theme-steampunk .contact-item:hover {
  background: rgba(107,74,16,0.2);
  color: #c8960a;
}

.theme-steampunk .contact-item.has-message .contact-name {
  color: #ff8840;
  font-weight: bold;
}

.theme-steampunk .contact-name {
  color: #a07020;
}

.theme-steampunk .contact-status-msg {
  color: rgba(160,112,32,0.5);
}

/* Bottom bar */
.theme-steampunk .bottom-bar {
  background: #150a00;
  border-top: 1px solid #6b4a10;
}

.theme-steampunk .server-status {
  color: #c8960a;
  text-shadow: 0 0 4px rgba(200,150,10,0.3);
}

.theme-steampunk .server-status.disconnected {
  color: #ff8840;
}

.theme-steampunk .app-version {
  color: #6b4a10;
}

.theme-steampunk .ad-banner {
  background: #100800;
  border-top: 1px solid #6b4a10;
  color: #6b4a10;
}

/* Chat window */
.theme-steampunk .chat-window {
  border-radius: 4px;
}

.theme-steampunk .chat-toolbar {
  background: linear-gradient(180deg, #3d2800, #2a1a00);
  border-bottom: 1px solid #6b4a10;
}

.theme-steampunk .chat-toolbar-btn {
  color: #a07020;
  background: transparent;
  border: none;
}

.theme-steampunk .chat-toolbar-btn:hover {
  background: rgba(107,74,16,0.3);
  color: #c8960a;
}

.theme-steampunk .chat-messages {
  background: #0d0600;
}

.theme-steampunk .chat-msg {
  background: rgba(107,74,16,0.06);
  border-radius: 2px;
}

.theme-steampunk .chat-msg-header.mine {
  color: #c8960a;
}

.theme-steampunk .chat-msg-header.theirs {
  color: #a07020;
}

.theme-steampunk .chat-msg-time {
  color: #4a3000;
}

.theme-steampunk .chat-msg-text {
  color: #a07020;
  font-family: Georgia, serif;
}

.theme-steampunk .chat-typing {
  color: #6b4a10;
  font-style: italic;
  font-family: Georgia, serif;
}

.theme-steampunk .chat-input-area {
  background: #150a00;
  border-top: 1px solid #6b4a10;
}

.theme-steampunk .chat-input-area textarea {
  background: #0d0600;
  border: 1px solid #6b4a10;
  color: #c8960a;
  font-family: Georgia, serif;
  border-radius: 0;
}

.theme-steampunk .chat-input-area textarea:focus {
  border-color: #c8960a;
  box-shadow: 0 0 6px rgba(200,150,10,0.2);
  outline: none;
}

.theme-steampunk .chat-input-area textarea::placeholder {
  color: #4a3000;
}

.theme-steampunk .chat-system-msg {
  color: #6b4a10;
  font-style: italic;
  font-family: Georgia, serif;
  text-align: center;
}

/* Dialog */
.theme-steampunk .dialog-overlay {
  background: rgba(10,6,0,0.85);
}

.theme-steampunk .dialog-body {
  background: linear-gradient(180deg, #2a1a00, #1a0e00);
  border: 2px solid #6b4a10;
  border-radius: 4px;
}

/* Search */
.theme-steampunk .search-results {
  background: #1a0e00;
  border: 1px solid #6b4a10;
}

.theme-steampunk .search-result-item {
  border-bottom: 1px solid rgba(107,74,16,0.2);
}

.theme-steampunk .search-result-item:hover {
  background: rgba(107,74,16,0.2);
}

.theme-steampunk .search-result-name {
  color: #c8960a;
  font-family: Georgia, serif;
}

.theme-steampunk .search-result-uin {
  color: #6b4a10;
}

/* Settings */
.theme-steampunk .settings-tabs {
  background: #2a1a00;
  border-bottom: 1px solid #6b4a10;
}

.theme-steampunk .settings-tab {
  color: #8b6010;
  background: transparent;
  border-bottom: 2px solid transparent;
  font-family: Georgia, serif;
}

.theme-steampunk .settings-tab:hover {
  color: #c8960a;
  background: rgba(107,74,16,0.2);
}

.theme-steampunk .settings-tab.active {
  color: #c8960a;
  border-bottom-color: #c8960a;
}

.theme-steampunk .settings-content {
  background: #1a0e00;
  color: #a07020;
  font-family: Georgia, serif;
}

.theme-steampunk .settings-hint {
  color: #6b4a10;
  font-size: 11px;
  font-style: italic;
}

.theme-steampunk .settings-divider {
  border-color: #6b4a10;
}

/* Lynq number */
.theme-steampunk .lynq-number-display {
  color: #c8960a;
  text-shadow: 0 0 5px rgba(200,150,10,0.3);
}

/* Context menu */
.theme-steampunk .context-menu {
  background: #2a1a00;
  border: 1px solid #6b4a10;
  color: #a07020;
  border-radius: 2px;
}

.theme-steampunk .context-menu-item:hover {
  background: rgba(107,74,16,0.3);
  color: #c8960a;
}

/* Emoji picker */
.theme-steampunk .emoji-picker {
  background: #2a1a00;
  border: 1px solid #6b4a10;
}

.theme-steampunk .emoji-item:hover {
  background: rgba(107,74,16,0.3);
}

/* Toast */
.theme-steampunk .toast {
  background: #2a1a00;
  border: 1px solid #6b4a10;
  color: #c8960a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

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

.theme-steampunk ::-webkit-scrollbar-track {
  background: #0d0600;
}

.theme-steampunk ::-webkit-scrollbar-thumb {
  background: rgba(107,74,16,0.5);
  border-radius: 2px;
}

.theme-steampunk ::-webkit-scrollbar-thumb:hover {
  background: rgba(200,150,10,0.5);
}

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

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