/* iPhone15外观模拟 - 现代化升级 */
.iphone-frame {
  position: relative;
  width: 390px;
  height: 844px;
  margin: 40px auto;
  border-radius: 48px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.1);
  background: #000;
  border: 2px solid #1a1a1a;
  overflow: hidden;
  transition: all 0.3s ease;
}

.iphone-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 56px rgba(0,0,0,0.2), 0 6px 20px rgba(0,0,0,0.15);
}

.iphone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  height: 32px;
  background: #000;
  border-radius: 0 0 24px 24px;
  z-index: 10;
}

.iphone-homebar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  z-index: 10;
}

.iframe-content {
  width: 100%;
  height: 100%;
  border: none;
  background: #f8fafc;
  padding-top: 32px;
  padding-bottom: 80px;
  box-sizing: border-box;
}

.iphone-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-top: 0.5px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 8px;
  z-index: 20;
}

.iphone-tabbar .tab-item {
  flex: 1;
  text-align: center;
  color: #8E8E93;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.iphone-tabbar .tab-item.active {
  color: #007AFF;
}

.iphone-tabbar .tab-item i {
  font-size: 24px;
  display: block;
  margin-bottom: 4px;
  transition: transform 0.2s ease;
}

.iphone-tabbar .tab-item:active i {
  transform: scale(0.9);
}

/* 全局动画和过渡效果 */
* {
  -webkit-tap-highlight-color: transparent;
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

/* 卡片悬停效果 */
.card-hover {
  transition: all 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* 按钮动效 */
.btn-primary {
  background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,122,255,0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* 状态标签样式 */
.status-important { background: linear-gradient(135deg, #FF3B30 0%, #D70015 100%); }
.status-success { background: linear-gradient(135deg, #34C759 0%, #248A3D 100%); }
.status-warning { background: linear-gradient(135deg, #FF9500 0%, #D1670A 100%); }
.status-info { background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%); }

/* 头像样式增强 */
.avatar {
  border: 2px solid rgba(255,255,255,0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 输入框现代化样式 */
.modern-input {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.modern-input:focus {
  background: #fff;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
} 