/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 卡片样式 */
.card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

/* 按钮样式 */
button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0093E9 0%, #80D0C7 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.1s;
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

/* 输入框样式 */
input, textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 18px;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: #0093E9;
    outline: none;
}

input::placeholder, textarea::placeholder {
    color: #aaa;
    opacity: 1;
}

/* 提示框样式 */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
}

/* 标签样式 */
.tags {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-top: 10px;
    margin-bottom: 20px;
}

.tag {
    background: #e0f7fa;
    color: #00796b;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    width: 80%;
    text-align: center;
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* 地图链接样式 */
.map-links a {
    display: block;
    padding: 10px;
    text-align: center;
    background: #eee;
    margin-top: 5px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
}

/* 功能按钮样式 */
.btn-retry, .btn-phone {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    font-weight: bold;
    color: white;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-retry {
    background: orange;
}

.btn-retry:disabled {
    background: #fbd38d;
    cursor: not-allowed;
}

.btn-phone {
    background: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-phone.active {
    background: #33CCFF;
    cursor: pointer;
    pointer-events: auto;
}