.own-page {
    min-height: 100vh;
    background: var(--bg-color);
}

/* 用户信息 */
.user-info {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--primary-color);
    color: var(--white);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info .name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
}

.login-btn {
    font-size: 14px;
    opacity: 0.9;
    cursor: pointer;
}

/* 预约列表 */
.appointments {
}

.section-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 15px;
}

.appointment-card {
    background: var(--white);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.property-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.property-info .name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.property-info .status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    background: #fff3e6;
    color: #fa8c16;
}

.property-info .status.confirmed {
    background: #e6f7ff;
    color: #1890ff;
}

.appointment-info {
    font-size: 14px;
    color: var(--text-color-light);
}

.appointment-info > div {
    margin-bottom: 6px;
}

.empty-tip {
    text-align: center;
    padding: 30px 0;
    color: var(--text-color-light);
    font-size: 14px;
}

/* 登录弹窗 */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 90%;
    max-width: 360px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
}

.close-btn {
    font-size: 24px;
    color: var(--text-color-light);
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-color);
}

.input-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.code-group {
    display: flex;
    gap: 10px;
}

.code-input {
    flex: 1;
}

.code-btn {
    padding: 8px 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
}

.code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 16px;
    margin-top: 20px;
}

/* 响应式设计 */
@media screen and (min-width: 768px) {
    .own-page {
        max-width: 800px;
        margin: 0 auto;
    }

    .user-info {
        border-radius: 8px;
        margin: 20px;
    }

    .appointments {
        padding: 20px;
    }

    .modal-content {
        width: 400px;
    }
}
