body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

[v-cloak] {
    display: none;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #f5f5f5;
    transition: transform 0.3s ease;
}

.header {
    display: none;
}

.back-btn {
    display: none;
}

.list-group {
    background-color: #fff;
    margin-top: 20px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
}

.list-item:last-child {
    border-bottom: none;
}

.label {
    font-size: 16px;
    color: #333;
}

.value {
    font-size: 14px;
    color: #999;
}

.highlight {
    color: #07c160;
    font-weight: 500;
}

.arrow {
    color: #c7c7cc;
    margin-left: 10px;
}

.form-section {
    background-color: #fff;
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.section-title {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.required {
    color: #e64340;
}

.optional {
    color: #999;
}

.image-uploader {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-preview {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
}

.upload-btn {
    width: 80px;
    height: 80px;
    border: 1px dashed #d9d9d9;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.plus {
    font-size: 40px;
    color: #d9d9d9;
    font-weight: 100;
}

.counter {
    text-align: right;
    font-size: 12px;
    color: #b2b2b2;
    margin-top: 5px;
}

.textarea-wrapper {
    position: relative;
}

textarea {
    width: 100%;
    height: 100px;
    border: none;
    resize: none;
    font-size: 16px;
    outline: none;
    padding: 0;
}

.char-counter {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 12px;
    color: #b2b2b2;
}

.input-group .list-item {
    padding: 10px 15px;
}

.input-group input {
    flex: 1;
    border: none;
    text-align: right;
    font-size: 16px;
    outline: none;
    margin-left: 10px;
}

.submit-bar {
    padding: 30px 15px;
}

.submit-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    color: #fff;
    background-color: #d2d2d2; /* Disabled color */
    cursor: not-allowed;
    transition: background-color 0.3s;
}

.submit-btn.active {
    background-color: #07c160; /* WeChat Green */
    cursor: pointer;
}

/* Chat Select Styles */
.chat-list {
    background-color: #f5f5f5;
    padding-bottom: 60px; /* Space for bottom bar */
}

.chat-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid #c7c7cc;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
}

.checkbox.checked {
    background-color: #07c160;
    border-color: #07c160;
}

.checkbox.checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.chat-content {
    flex: 1;
}

.chat-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.chat-text {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.chat-time {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.confirm-btn {
    background-color: #07c160;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
}

/* Loading & Toast */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #07c160;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 10px;
    color: #333;
    font-size: 14px;
}

.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 10000;
}

/* Success Page Styles */
.page-success {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-content {
    text-align: center;
    margin-top: -20%;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.success-title {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.success-desc {
    font-size: 14px;
    color: #888;
}
