/* モダンなデザインのテンプレート */

/* ログインページ */
.client-login-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 30px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-login-box {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.client-login-box h1 {
  text-align: center;
  margin-bottom: 35px;
  color: #2c3e50;
  font-size: 28px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #34495e;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  outline: none;
}

.login-button {
  width: 100%;
  padding: 14px;
  background: #3498db;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.login-button:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

.login-button:active {
  transform: translateY(1px);
}

.login-error {
  background: #fff5f5;
  border: 2px solid #feb2b2;
  color: #c53030;
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 8px;
  font-weight: 500;
}

.form-footer {
  text-align: center;
  margin-top: 25px;
}

.form-footer a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.form-footer a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* ダッシュボード */
.client-dashboard {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: #f8fafc;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 2px solid #e2e8f0;
}

.dashboard-header h1 {
  color: #2d3748;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.user-info {
  text-align: right;
  color: #4a5568;
  font-size: 16px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.stat-box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.stat-box h3 {
  margin: 0 0 15px;
  color: #4a5568;
  font-size: 18px;
  font-weight: 600;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #3498db;
  margin: 0;
  line-height: 1.2;
}

.stat-text {
  font-size: 24px;
  color: #2d3748;
  margin: 0;
  font-weight: 600;
}

.dashboard-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-content h2 {
  margin: 0 0 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
  color: #2d3748;
  font-size: 24px;
  font-weight: 600;
}

.project-list {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.project-list th,
.project-list td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.project-list th {
  background: #f8fafc;
  font-weight: 600;
  color: #4a5568;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.project-list tr:hover {
  background: #f8fafc;
}

.logout-button {
  display: inline-block;
  padding: 10px 20px;
  background: #e53e3e;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  margin-left: 15px;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}

.logout-button:hover {
  background: #c53030;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.logout-button:active {
  transform: translateY(1px);
}