/* Domain Marketplace Plugin Styles */
.dmp-table { border:1px solid #e0e0e0; width:100%; border-collapse:collapse; margin-bottom:20px; }
.dmp-table th, .dmp-table td { border:1px solid #e0e0e0; padding:8px 10px; text-align:left; }
.dmp-table th { background:#f7f7f7; }
.dmp-btn { display:inline-block; background:#0073aa; color:#fff; padding:5px 12px; border-radius:3px; text-decoration:none; margin:0 2px; }
.dmp-btn:hover { background:#005177; }
.dmp-order-filter-form, .dmp-filter-form, .dmp-order-query-form { margin-bottom:20px; }
.dmp-order-filter-form select, .dmp-filter-form select, .dmp-order-query-form input, .dmp-order-query-form button { margin-right:8px; }
.dmp-order-status, .dmp-order-status-error { padding:10px; border-radius:4px; margin:10px 0; }
.dmp-order-status { background:#e8f5e9; color:#222; }
.dmp-order-status-error { background:#ffebee; color:#c00; }
.dmp-notifications { list-style:none; padding:0; }
.dmp-notifications li { padding:8px 10px; border-bottom:1px solid #eee; }
.dmp-notice-unread { background:#fffbe6; }
.dmp-notice-read { background:#f7f7f7; }

/* 1. 主色调 */
:root {
  --dmp-main: #FFD34E;
  --dmp-main-dark: #C49B0B;
  --dmp-green: #28c76f;
  --dmp-bg: #232E3D;
  --dmp-escrow-bg: linear-gradient(90deg, #232E3D 0%, #FFD34E 100%);
}

/* 2. 页头/页脚域名主色 */
body h1.site-title, body h1.custom-site-title, body .site-title, body .site-footer .site-title, body .custom-site-title,
body .wp-block-site-title, body .wp-block-site-title a, body .wp-block-site-tagline,
body .site-header,
body .site-header a,
body .main-navigation a,
body .site-footer,
body .site-footer *,
body .site-footer font, /* Explicitly target font tag if it exists */
body .site-footer a,
body .footer-menu a,
body .site-header .menu-item a,
body .wp-block-navigation__responsive-container a,
body .wp-block-navigation__container a,
body .wp-block-pages-list__item__link,
body .wp-block-navigation-item__content,

/* Contact Us page specific text elements - added body for higher specificity */
body .dmp-contact-us h1,
body .dmp-contact-us p,
body .dmp-contact-us strong,
body .dmp-contact-us h3,
body .dmp-contact-us a {
  color: var(--dmp-main) !important;
}

body .site-header a:hover, body .site-footer a:hover, body .main-navigation a:hover, body .footer-menu a:hover,
body .wp-block-navigation__responsive-container a:hover, body .wp-block-navigation__container a:hover, body .wp-block-pages-list__item__link:hover, body .wp-block-navigation-item__content:hover {
    color: var(--dmp-main-dark) !important;
}

/* 3. ESCROW横幅 */
.dmp-escrow-banner {
  background: #232E3D !important;
  color: #FFD34E !important;
  border-radius: 24px !important;
  padding: 20px 18px !important;
  margin: 48px auto 36px auto !important;
  font-size: 1.08rem !important;
  font-weight: 500 !important;
  text-align: center !important;
  box-shadow: 0 2px 16px rgba(35,46,61,0.08) !important;
  max-width: 700px !important;
  line-height: 1.7 !important;
  letter-spacing: 0.01em !important;
}
.dmp-escrow-banner b {
  color: #FFD34E !important;
}

/* 4. 域名卡片 */
.dmp-domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2.5rem 2rem;
  margin-bottom: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.dmp-domain-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(35,46,61,0.10);
  padding: 1.3rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 150px;
  transition: box-shadow 0.2s;
  border: 1.5px solid #FFD34E22;
}
.dmp-domain-card:hover {
  box-shadow: 0 4px 24px rgba(255,211,78,0.13);
  border-color: var(--dmp-main);
}
.dmp-domain-card a {
  color: #232E3D;
  font-size: 1.18rem;
  font-weight: 700;
  text-decoration: underline;
  margin-bottom: 0.5rem;
}

/* 5. Inquiry/Buy Now 按钮 */
.dmp-inquiry-btn {
  background: var(--dmp-main);
  color: #232E3D;
  border-radius: 8px;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 0.5rem 1.3rem;
  margin-top: auto;
  margin-bottom: 0.2rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(255,211,78,0.08);
}
.dmp-inquiry-btn:hover {
  background: var(--dmp-main-dark);
}
.dmp-buynow-btn {
  background: var(--dmp-green);
  color: #fff;
  border-radius: 8px;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 0.5rem 1.3rem;
  margin-top: auto;
  margin-bottom: 0.2rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(40,199,111,0.08);
}
.dmp-buynow-btn:hover {
  background: #1e9c57;
}

/* 6. 筛选表单 */
.dmp-filter-form {
  max-width: 420px !important;
  margin: 36px auto 28px auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-items: stretch !important;
  background: #232E3D;
  border-radius: 18px;
  padding: 18px 12px 10px 12px;
  box-shadow: 0 2px 16px rgba(35,46,61,0.10);
}
.dmp-filter-form > div, .dmp-filter-form > select, .dmp-filter-form > input {
  width: 100% !important;
}
.dmp-filter-form button {
  width: 100% !important;
  margin-top: 8px !important;
}
.dmp-filter-form label {
  font-size: 15px;
  font-weight: 600;
  color: var(--dmp-main);
}
.dmp-filter-form input, .dmp-filter-form select {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1.5px solid #FFD34E;
  font-size: 16px;
  background: #fffbe6;
  color: #232E3D;
}
.dmp-filter-form button {
  background: var(--dmp-main);
  color: #232E3D;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border: none;
  transition: background 0.2s;
}
.dmp-filter-form button:hover {
  background: var(--dmp-main-dark);
}

/* 7. 分页条 */
.dmp-pagination-bar {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 14px;
  justify-content: center;
}
.dmp-pagination-bar a, .dmp-pagination-bar span {
  min-width: 2.3rem;
  text-align: center;
  padding: 0.55rem 1.1rem;
  border-radius: 0.7rem;
  font-size: 1.12rem;
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 2px;
  white-space: nowrap;
}
.dmp-pagination-bar a {
  background: #FFD34E22;
  color: var(--dmp-main-dark);
}
.dmp-pagination-bar a.active {
  background: var(--dmp-main);
  color: #232E3D;
}
.dmp-pagination-bar span {
  background: none;
  color: #FFD34E;
}

/* 8. 其它表单、短代码区块、通知等主色协调 */
.dmp-table th, .dmp-table td { border:1px solid #FFD34E44; }
.dmp-table th { background:#FFD34E22; color:#232E3D; }
.dmp-btn { background: var(--dmp-main); color: #232E3D; }
.dmp-btn:hover { background: var(--dmp-main-dark); }
.dmp-order-status { background:#FFD34E22; color:#232E3D; }
.dmp-order-status-error { background:#232E3D; color:#FFD34E; }
.dmp-notice-unread { background:#FFD34E22; }
.dmp-notice-read { background:#fffbe6; }

/* 9. 移动端适配 */
@media (max-width: 900px) {
  .dmp-domain-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    max-width: 98vw !important;
  }
  .dmp-filter-form, .domain-order-form {
    max-width: 98vw !important;
    padding: 10px !important;
  }
  .dmp-escrow-banner {
    font-size: 1rem !important;
    padding: 12px 4px !important;
    max-width: 98vw !important;
  }
}
@media (max-width: 600px) {
  .dmp-domain-grid {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
    max-width: 99vw !important;
  }
  .dmp-filter-form, .domain-order-form {
    max-width: 99vw !important;
    padding: 6px !important;
  }
  .dmp-domain-card {
    min-width: 0 !important;
    padding: 0.8rem 0.5rem !important;
  }
  .dmp-order-row {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
}

/* 10. 其它优化 */
body {
  background: var(--dmp-bg);
}

/* 11. 域名卡片区和分页按钮之间的间距 */
.dmp-domain-grid {
  margin-bottom: 36px;
}

/* 域名单页表单按钮 Submit 颜色 */
.domain-order-form button[type="submit"] {
  background: #232E3D;
  color: #FFD34E;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  font-size: 1.1rem;
  padding: 0.7rem 1.5rem;
  transition: background 0.2s;
}
.domain-order-form button[type="submit"]:hover {
  background: #FFD34E;
  color: #232E3D;
}

/* 其它表单、按钮、分页等协调 */
.dmp-btn, .dmp-table th, .dmp-table td, .dmp-order-status, .dmp-order-status-error, .dmp-notice-unread, .dmp-notice-read {
  border-radius: 8px;
}

/* 域名单页表单美化 */
.domain-order-form {
  max-width: 420px !important;
  margin: 2.5rem auto 2rem auto !important;
  background: #232E3D !important;
  border-radius: 1rem !important;
  padding: 2rem 1.2rem !important;
  box-shadow: 0 2px 12px rgba(35,46,61,0.10) !important;
}
.dmp-order-title {
  margin-bottom: 1.2rem !important;
  font-size: 1.3rem !important;
  color: #FFD34E !important;
  text-align: center !important;
}
.dmp-order-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.1rem !important;
}
.dmp-order-row {
  display: flex !important;
  gap: 1rem !important;
}
.dmp-order-form input, .dmp-order-form textarea {
  border-radius: 8px !important;
  border: 1.5px solid #FFD34E !important;
  font-size: 1rem !important;
  padding: 0.7rem 1rem !important;
  background: #fffbe6 !important;
  color: #232E3D !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.dmp-order-form textarea {
  min-height: 80px !important;
}
.dmp-submit-btn {
  background: #232E3D !important;
  color: #FFD34E !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  border: none !important;
  font-size: 1.1rem !important;
  padding: 0.7rem 1.5rem !important;
  transition: background 0.2s !important;
  margin-top: 0.5rem !important;
}
.dmp-submit-btn:hover {
  background: #FFD34E !important;
  color: #232E3D !important;
}
.dmp-order-success, .dmp-order-error {
  margin-top: 1rem !important;
  text-align: center !important;
  font-weight: 600 !important;
}
.dmp-order-success { color: #28c76f !important; }
.dmp-order-error { color: #c00 !important; }

/* 首页筛选器横向排列（PC端） */
.dmp-filter-form.dmp-filter-row {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 1.5rem !important;
  max-width: 1100px !important;
  margin: 36px auto 28px auto !important;
  align-items: end !important;
  background: #232E3D;
  border-radius: 18px;
  padding: 18px 18px 10px 18px;
  box-shadow: 0 2px 16px rgba(35,46,61,0.10);
}
.dmp-filter-form.dmp-filter-row > div, .dmp-filter-form.dmp-filter-row > select, .dmp-filter-form.dmp-filter-row > input {
  width: 100% !important;
}
.dmp-filter-form.dmp-filter-row button {
  width: 100% !important;
  margin-top: 0 !important;
  height: 44px !important;
}
@media (max-width: 900px) {
  .dmp-filter-form.dmp-filter-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    max-width: 98vw !important;
    padding: 10px !important;
  }
}

/* 域名卡片区4列（PC端） */
.dmp-domain-grid.dmp-domain-4col {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2.5rem 2.2rem !important;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 1200px) {
  .dmp-domain-grid.dmp-domain-4col {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}
@media (max-width: 900px) {
  .dmp-domain-grid.dmp-domain-4col {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    max-width: 98vw !important;
  }
}
@media (max-width: 600px) {
  .dmp-domain-grid.dmp-domain-4col {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
    max-width: 99vw !important;
  }
}

/* 菜单栏、页脚内容主色 */
.site-header, .site-footer, .site-footer *, .main-navigation, .main-navigation a, .footer-menu, .footer-menu a {
  color: #FFD34E !important;
  fill: #FFD34E !important;
}
.site-header a:hover, .site-footer a:hover, .main-navigation a:hover, .footer-menu a:hover {
  color: #ffe37a !important;
}

/* 其它表单、按钮、分页等主色协调 */
.dmp-btn, .dmp-table th, .dmp-table td, .dmp-order-status, .dmp-order-status-error, .dmp-notice-unread, .dmp-notice-read {
  border-radius: 8px;
}

/* Contact Us页面美化 */
.dmp-contact-us {
  max-width: 420px;
  margin: 3rem auto 2rem auto;
  background: var(--dmp-bg);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 16px rgba(35,46,61,0.10);
  border: 1.5px solid #FFD34E22;
  color: var(--dmp-main);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.dmp-contact-us:hover {
  box-shadow: 0 4px 24px rgba(255,211,78,0.13);
  border-color: var(--dmp-main);
}
.dmp-contact-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dmp-main);
  margin-bottom: 1.2rem;
  text-align: center;
}
.dmp-contact-email {
  color: var(--dmp-main);
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
  text-align: center;
}
.dmp-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.dmp-contact-form input, .dmp-contact-form textarea {
  border-radius: 8px;
  border: 1.5px solid var(--dmp-main);
  font-size: 1rem;
  padding: 0.7rem 1rem;
  background: #fffbe6;
  color: var(--dmp-bg);
  width: 100%;
  box-sizing: border-box;
}
.dmp-contact-form textarea {
  min-height: 80px;
}
.dmp-contact-form .dmp-submit-btn {
  background: var(--dmp-main) !important;
  color: var(--dmp-bg) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  border: 1.5px solid var(--dmp-bg) !important;
  font-size: 1.1rem !important;
  padding: 0.7rem 1.5rem !important;
  transition: background 0.2s, border-color 0.2s !important;
  margin-top: 0.5rem !important;
}
.dmp-contact-form .dmp-submit-btn:hover {
  background: var(--dmp-bg) !important;
  color: var(--dmp-main) !important;
  border: 1.5px solid var(--dmp-main) !important;
}
.dmp-contact-success, .dmp-contact-error {
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
}
.dmp-contact-success { color: #28c76f; }
.dmp-contact-error { color: #c00; }
@media (max-width: 600px) {
  .dmp-contact-us {
    max-width: 99vw;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
}

/* Contact Us Page Submit Button (Ensures border and consistent colors) */
body .dmp-contact-form .dmp-submit-btn {
  background: var(--dmp-main) !important; /* Yellow background */
  color: var(--dmp-bg) !important; /* Dark text */
  font-weight: 700 !important;
  border-radius: 8px !important;
  border: 1.5px solid var(--dmp-bg) !important; /* Visible dark border */
  font-size: 1.1rem !important;
  padding: 0.7rem 1.5rem !important;
  transition: background 0.2s, border-color 0.2s !important;
  margin-top: 0.5rem !important;
}

body .dmp-contact-form .dmp-submit-btn:hover {
  background: var(--dmp-bg) !important; /* Dark background on hover */
  color: var(--dmp-main) !important; /* Yellow text on hover */
  border: 1.5px solid var(--dmp-main) !important; /* Yellow border on hover */
}

/* User Dashboard Tabs Styling */
.dmp-user-dashboard {
    background-color: #fff !important;
    padding: 32px 24px !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10) !important;
    max-width: 900px;
    margin: 40px auto 40px auto;
}
.dmp-user-dashboard .dmp-dashboard-tabs ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    background: #fff;
    border-radius: 8px 8px 0 0;
}
.dmp-user-dashboard .dmp-dashboard-tabs ul li {
    margin-right: 18px;
}
.dmp-user-dashboard .dmp-dashboard-tabs ul li a {
    display: block;
    padding: 12px 22px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    background: #f9f9f9;
}
.dmp-user-dashboard .dmp-dashboard-tabs ul li a:hover,
.dmp-user-dashboard .dmp-dashboard-tabs ul li a.active {
    color: #FFD34E;
    border-color: #FFD34E;
    background: #fff;
}
.dmp-user-dashboard .dmp-tab-content {
    padding: 28px 0 0 0;
    border: none;
    background: #fff;
    border-radius: 0 0 8px 8px;
    min-height: 220px;
}
.dmp-user-dashboard h1, .dmp-user-dashboard h3 {
    color: #232E3D;
    font-weight: 800;
}
.dmp-user-dashboard .dmp-user-messages-list {
    margin: 0 0 18px 0;
    padding: 0;
    list-style: none;
}
.dmp-user-dashboard .dmp-user-messages-list li {
    margin-bottom: 10px;
    padding: 10px 16px;
    background: #f7f7f7;
    border-radius: 6px;
    font-size: 1.08rem;
}
.dmp-user-dashboard .dmp-user-messages-list li a {
    color: #005177;
    text-decoration: underline;
    font-weight: 600;
}
.dmp-user-dashboard .dmp-user-messages-list li a:hover {
    color: #FFD34E;
}

/* Chat history in user dashboard */
.dmp-chat-history {
    max-height: 400px;
    overflow-y: scroll;
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
}
.dmp-chat-history p {
    margin-bottom: 5px;
    padding: 8px;
    border-radius: 5px;
}
.dmp-chat-user {
    background-color: #e6f7ff; /* Light blue for user messages */
    text-align: left;
}
.dmp-chat-admin {
    background-color: #f0f0f0; /* Light gray for admin messages */
    text-align: left;
}
.dmp-chat-user strong, .dmp-chat-admin strong {
    color: #333;
}

.dmp-login-card {
    max-width: 400px;
    margin: 60px auto 0 auto;
    background: #232E3D;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(35,46,61,0.13);
    padding: 2.5rem 2rem 2rem 2rem;
    color: #FFD34E;
    text-align: center;
    position: relative;
}
.dmp-login-logo {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}
.dmp-login-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #FFD34E;
}
.dmp-login-desc {
    color: #ffe37a;
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
}
.dmp-login-step {
    margin-bottom: 1.2rem;
}
.dmp-login-step input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    border: 1.5px solid #FFD34E;
    font-size: 1.1rem;
    background: #fffbe6;
    color: #232E3D;
    margin-bottom: 1rem;
    box-sizing: border-box;
}
.dmp-login-btn {
    width: 100%;
    background: #FFD34E;
    color: #232E3D;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    font-size: 1.15rem;
    padding: 0.7rem 0;
    transition: background 0.2s;
    cursor: pointer;
}
.dmp-login-btn:disabled {
    background: #ffe37a;
    color: #aaa;
    cursor: not-allowed;
}
.dmp-login-btn:hover:not(:disabled) {
    background: #C49B0B;
}
#dmp-login-message {
    min-height: 1.5em;
    margin-bottom: 1.1rem;
    font-size: 1.08rem;
}
#dmp-login-message.error { color: #ffb3b3; }
#dmp-login-message.success { color: #28c76f; }
.dmp-login-resend {
    margin-top: 0.5rem;
}
.dmp-login-resend a {
    color: #FFD34E;
    text-decoration: underline;
    font-size: 0.98rem;
}
.dmp-login-footer {
    margin-top: 1.5rem;
    font-size: 0.98rem;
}
.dmp-login-footer a {
    color: #FFD34E;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .dmp-login-card {
        max-width: 98vw;
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
}

/* Responsive User Dashboard */
.dmp-user-dashboard-responsive {
    background-color: #fff !important;
    padding: 32px 12px !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10) !important;
    max-width: 900px;
    margin: 40px auto 40px auto;
}
.dmp-dashboard-tabs-responsive {
    margin-bottom: 24px;
}
.dmp-dashboard-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    border-bottom: 2px solid #f0f0f0;
    background: #fff;
    border-radius: 8px 8px 0 0;
}
.dmp-dashboard-tab-list li {
    margin-right: 0;
}
.dmp-dashboard-tab-list li a {
    display: block;
    padding: 12px 22px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    background: #f9f9f9;
}
.dmp-dashboard-tab-list li a.active {
    color: #FFD34E;
    border-color: #FFD34E;
    background: #fff;
}
.dmp-tab-content {
    padding: 18px 0 0 0;
    border: none;
    background: #fff;
    border-radius: 0 0 8px 8px;
    min-height: 180px;
}
.dmp-user-messages-list {
    margin: 0 0 18px 0;
    padding: 0;
    list-style: none;
}
.dmp-user-messages-list li {
    margin-bottom: 10px;
    padding: 10px 16px;
    background: #f7f7f7;
    border-radius: 6px;
    font-size: 1.08rem;
}
.dmp-user-messages-list li a {
    color: #005177;
    text-decoration: underline;
    font-weight: 600;
}
.dmp-user-messages-list li a:hover {
    color: #FFD34E;
}
.dmp-chat-history {
    max-height: 400px;
    overflow-y: scroll;
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
}
.dmp-chat-history p {
    margin-bottom: 5px;
    padding: 8px;
    border-radius: 5px;
}
.dmp-chat-user {
    background-color: #e6f7ff;
    text-align: left;
}
.dmp-chat-admin {
    background-color: #f0f0f0;
    text-align: left;
}
.dmp-chat-user strong, .dmp-chat-admin strong {
    color: #333;
}
@media (max-width: 900px) {
    .dmp-user-dashboard-responsive {
        max-width: 99vw;
        padding: 12px 2vw !important;
    }
    .dmp-dashboard-tab-list {
        flex-direction: column;
        gap: 0;
    }
    .dmp-dashboard-tab-list li a {
        padding: 12px 10px;
        font-size: 1.08rem;
    }
}
@media (max-width: 600px) {
    .dmp-user-dashboard-responsive {
        max-width: 100vw;
        padding: 6px 0.5vw !important;
    }
    .dmp-tab-content {
        padding: 8px 0 0 0;
    }
    .dmp-user-messages-list li {
        font-size: 0.98rem;
        padding: 8px 6px;
    }
}

/* 订单卡片样式 */
.dmp-order-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dmp-order-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dmp-order-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.dmp-order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.dmp-order-id {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.dmp-order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 状态颜色 */
.dmp-status-pending {
    background: #fff3cd;
    color: #856404;
}

.dmp-status-accepted {
    background: #d1ecf1;
    color: #0c5460;
}

.dmp-status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.dmp-status-negotiating {
    background: #d4edda;
    color: #155724;
}

.dmp-status-escrow {
    background: #cce5ff;
    color: #004085;
}

.dmp-status-paid {
    background: #d1ecf1;
    color: #0c5460;
}

.dmp-status-completed {
    background: #d4edda;
    color: #155724;
}

.dmp-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.dmp-status-new {
    background: #e2e3e5;
    color: #383d41;
}

.dmp-status-contacting_seller {
    background: #fff3cd;
    color: #856404;
}

.dmp-status-cannot_contact_seller {
    background: #f8d7da;
    color: #721c24;
}

.dmp-status-seller_disagreed {
    background: #f8d7da;
    color: #721c24;
}

.dmp-status-seller_agreed {
    background: #d4edda;
    color: #155724;
}

.dmp-status-in_transaction {
    background: #cce5ff;
    color: #004085;
}

.dmp-order-card-body {
    padding: 20px;
}

.dmp-order-domain {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    word-break: break-all;
}

.dmp-order-price {
    font-size: 24px;
    font-weight: 700;
    color: #0073aa;
    margin-bottom: 8px;
}

.dmp-order-date {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.dmp-no-orders {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dmp-order-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dmp-order-card-header {
        padding: 12px 15px;
    }
    
    .dmp-order-card-body {
        padding: 15px;
    }
    
    .dmp-order-domain {
        font-size: 16px;
    }
    
    .dmp-order-price {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .dmp-order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .dmp-order-status {
        align-self: flex-end;
    }
}

/* 报价历史和重新报价样式 */
.dmp-offer-history {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.dmp-offer-history h4 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
}

.dmp-offer-history-list {
    max-height: 120px;
    overflow-y: auto;
}

.dmp-offer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 5px;
    border-radius: 6px;
    font-size: 12px;
    background: #f8f9fa;
    border-left: 3px solid #0073aa;
}

.dmp-offer-item.initial-offer {
    background: #e8f5e8;
    border-left-color: #28a745;
}

.dmp-offer-item.reoffer {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.dmp-offer-price {
    font-weight: 600;
    color: #333;
}

.dmp-offer-time {
    color: #666;
    font-size: 11px;
}

.dmp-offer-label {
    background: #0073aa;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
}

.dmp-offer-item.initial-offer .dmp-offer-label {
    background: #28a745;
}

.dmp-offer-item.reoffer .dmp-offer-label {
    background: #ffc107;
    color: #333;
}

.dmp-reoffer-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.dmp-reoffer-toggle {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.dmp-reoffer-toggle:hover {
    background: #005177;
}

.dmp-reoffer-form {
    margin-top: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.dmp-reoffer-form-inner input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

.dmp-reoffer-form-inner textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    resize: vertical;
    min-height: 60px;
}

.dmp-submit-reoffer {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
    width: 100%;
}

.dmp-submit-reoffer:hover {
    background: #218838;
}

.dmp-submit-reoffer:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dmp-offer-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .dmp-offer-item .dmp-offer-label {
        align-self: flex-end;
    }
    
    .dmp-reoffer-form {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .dmp-offer-history-list {
        max-height: 100px;
    }
    
    .dmp-offer-item {
        font-size: 11px;
        padding: 6px 10px;
    }
} 