/* 約會頁面樣式 - 精確複製 design/date.html */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans TC', sans-serif;
  background: #fdeff3;
  color: #432c4d;
  line-height: 1.6;
  min-height: 100vh;
}

/* 主容器 - 精確匹配設計文件 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff5f8;
  border-radius: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Header - 精確匹配設計文件 */
header {
  background: #fff5f8;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

header h1 {
  font-size: 24px;
  font-weight: bold;
  color: #432c4d;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #5a3a60;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: #693a6d;
}

.btn-primary {
  background: #693a6d;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}

.btn-primary:hover {
  background: #5a2f5e;
}

/* 主要內容區域 - 精確匹配設計文件 */
.main-content {
  background: white;
  display: flex;
  gap: 30px;
  padding: 40px;
}

.dating-main {
  flex: 2;
}

.sidebar {
  flex: 1;
  max-width: 400px;
}

/* 頁面標題 - 精確匹配設計文件 */
.page-title {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 0;
  background: #fff5f8;
  border-radius: 16px;
}

.page-title h2 {
  font-size: 28px;
  color: #432c4d;
  margin-bottom: 12px;
}

.page-title p {
  color: #8b6c86;
  font-size: 16px;
}

/* 約會卡片 - 精確匹配設計文件 */
.dating-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  transition: all 0.3s;
  cursor: pointer;
}

.dating-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.dating-header {
  display: flex;
  padding: 24px;
  border-bottom: 1px solid #f0e6f0;
}

.dating-avatar {
  width: 120px;
  height: 150px;
  background: linear-gradient(135deg, #f7e2ef, #e8d5e8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b6c86;
  font-size: 14px;
  margin-right: 24px;
  flex-shrink: 0;
}

.dating-basic-info {
  flex: 1;
}

.dating-title {
  font-size: 20px;
  font-weight: bold;
  color: #432c4d;
  margin-bottom: 12px;
}

.dating-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  color: #5a3a60;
  font-size: 14px;
}

.meta-label {
  color: #8b6c86;
  margin-right: 8px;
  min-width: 70px;
}

.dating-status {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 12px;
}

.status-ended {
  background: rgba(139, 108, 134, 0.2);
  color: #8b6c86;
}

.status-active {
  background: rgba(105, 58, 109, 0.2);
  color: #693a6d;
}

.dating-stats {
  position: absolute;
  top: 24px;
  right: 24px;
  text-align: center;
  background: #fff5f8;
  border-radius: 12px;
  padding: 16px;
  min-width: 120px;
}

.stat-item {
  margin-bottom: 8px;
  font-size: 14px;
  color: #8b6c86;
}

.stat-number {
  color: #693a6d;
  font-weight: bold;
  font-size: 16px;
}

.dating-content {
  padding: 24px;
  position: relative;
}

.dating-description {
  color: #5a3a60;
  line-height: 1.6;
  margin-bottom: 20px;
}

.dating-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-apply {
  background: #693a6d;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-apply:hover:not(:disabled) {
  background: #5a2f5e;
  transform: translateY(-2px);
}

.btn-apply:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.btn-details {
  background: transparent;
  color: #693a6d;
  padding: 12px 24px;
  border: 2px solid #693a6d;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-details:hover {
  background: #693a6d;
  color: white;
  transform: translateY(-2px);
}

/* 側邊欄 - 精確匹配設計文件 */
.sidebar-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  color: #432c4d;
  margin-bottom: 20px;
  text-align: center;
}

.search-section {
  background: #fff5f8;
  border-radius: 12px;
  padding: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  color: #5a3a60;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-select,
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #f0e6f0;
  border-radius: 12px;
  font-size: 14px;
  color: #432c4d;
  background: white;
  transition: border-color 0.3s;
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: #693a6d;
}

.search-btn {
  width: 100%;
  background: #693a6d;
  color: white;
  border: none;
  border-radius: 24px;
  padding: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 14px;
  margin-top: 12px;
}

.search-btn:hover {
  background: #5a2f5e;
}

.hot-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hot-tag {
  background: #f7e2ef;
  color: #693a6d;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.hot-tag:hover {
  background: #693a6d;
  color: white;
}

.safety-tips {
  background: #fff5f8;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.safety-title {
  color: #693a6d;
  font-weight: bold;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.safety-text {
  color: #8b6c86;
  font-size: 13px;
  line-height: 1.6;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #8b6c86;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-text {
  font-size: 16px;
  line-height: 1.6;
}

/* Footer - 精確匹配設計文件 */
footer {
  background: #fff5f8;
  padding: 40px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  gap: 40px;
}

.footer-section h5 {
  color: #693a6d;
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-section p {
  color: #8b6c86;
  font-size: 14px;
  margin-bottom: 8px;
}

.contact-info {
  text-align: center;
}

.phone {
  color: #693a6d;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e8d5e8;
  color: #a67aa6;
  font-size: 12px;
}

/* 響應式設計 - 精確匹配設計文件 */
@media (max-width: 768px) {
  .container {
    margin: 20px;
    border-radius: 16px;
  }
  
  .main-content {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  
  .dating-header {
    flex-direction: column;
    text-align: center;
  }
  
  .dating-avatar {
    margin-right: 0;
    margin-bottom: 16px;
    align-self: center;
  }
  
  .dating-meta {
    grid-template-columns: 1fr;
  }
  
  .dating-actions {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

/* 覆蓋原有樣式 */
.navbox {
  display: none !important;
}

/* 清除浮動 */
.clear {
  clear: both;
} 