/* users.css */

/* プロフィールページのスタイル */
.profile-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.profile-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.profile-field {
  margin-bottom: 15px;
}

.profile-label {
  font-weight: bold;
  color: #666;
  display: block;
  margin-bottom: 5px;
}

.profile-value {
  font-size: 16px;
}

/* ポイント履歴テーブル */
.point-history-section {
  margin-top: 15px;
}

.point-history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.point-history-table th,
.point-history-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.point-history-table th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.point-history-table .positive {
  color: #28a745;
  font-weight: bold;
}

.point-history-table .negative {
  color: #dc3545;
  font-weight: bold;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .profile-content {
    grid-template-columns: 1fr;
  }
}
