/* Apple 風格設計 - 大按鈕、圓角、分組列表 */

/* 基礎重置 */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* Apple 風格按鈕 */
.btn-apple {
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.2s ease-in-out;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-apple:active {
  transform: scale(0.98);
}

/* 分組列表 */
.list-group-apple {
  background: transparent;
  margin: 0;
  padding: 0;
}

.list-group-apple .list-group-item {
  background: var(--surface);
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 16px;
  border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  list-style: none;
}

/* 主題切換按鈕 */
#theme-toggle {
  background: var(--surface);
  border: 1px solid var(--text-secondary);
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
}

/* 可收合區塊 */
.collapsible {
  border: 1px solid var(--text-secondary);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.collapsible-header {
  background: var(--surface);
  padding: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.collapsible-content {
  padding: 16px;
  background: var(--bg);
  display: none;
}

.collapsible-content.show {
  display: block;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .btn-apple {
    width: 100%;
    margin-bottom: 8px;
  }
  
  .list-group-apple .list-group-item {
    margin: 0 16px 8px 16px;
  }
}
