/* 个人中心页面样式 */

.profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.profile-container > h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.profile-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-item label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.info-item span {
    font-size: 15px;
    color: #1a1a1a;
}

/* Token 容器 */
.token-container {
    margin-bottom: 24px;
}

.token-display {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.token-display input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: #f8f9fa;
}

.token-display input:focus {
    outline: none;
    border-color: #4a90e2;
}

.token-display button {
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-primary {
    background: #4a90e2;
    color: white;
}

.btn-primary:hover {
    background: #357abd;
}

.btn-danger {
    background: #dc3545;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: #c82333;
}

/* Token 使用说明 */
.token-usage {
    background: #f8f9fa;
    border-left: 3px solid #4a90e2;
    padding: 16px;
    border-radius: 4px;
}

.token-usage h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.token-usage p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.token-usage pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 12px;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 12px;
}

.token-usage code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-container {
        padding: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .token-display {
        flex-direction: column;
    }

    .token-display button {
        width: 100%;
    }
}
