* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  max-width: 735px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.card:last-child {
  margin-bottom: 0;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-content {
  padding: 25px;
}

.text {
  font-size: 18px;
  color: #2d3748;
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.time, .score {
  font-size: 16px;
  color: #4a5568;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.checkbox-label-text {
  color: #4a5568;
  font-weight: 600;
}
.time::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'%3E%3C/path%3E%3C/svg%3E") center/contain no-repeat;
}

.filter-panel {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 20px;
}

.filter-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-input {
  flex: 1;
  min-width: 200px;
  padding: 10px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

.filter-input:focus {
  border-color: #0072ff;
}

.filter-select {
  padding: 10px 35px 10px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  cursor: pointer;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") right 10px center/20px no-repeat white;
  transition: border-color 0.2s ease;
}

.filter-select:focus {
  border-color: #0072ff;
}

.checkbox-label {
  margin-top: 10px;
}

@media (max-width: 600px) {
  body {
    padding: 20px 15px;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .text {
    font-size: 16px;
  }
  
  .time {
    font-size: 14px;
  }
  
  .filter-panel {
    padding: 15px;
  }
  
  .filter-input,
  .filter-select {
    font-size: 14px;
    padding: 8px 12px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.page-size-select {
  padding: 10px 30px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  background: white;
  margin-left: auto;
  outline: none;
  cursor: pointer;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") right 10px center/20px no-repeat white;
  transition: border-color 0.2s ease;
}

.page-size-select:focus {
  border-color: #0072ff;
}

.page-button {
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  color: #4a5568;
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-button:hover {
  border-color: #0072ff;
  color: #0072ff;
}

.page-button.active {
  background: #0072ff;
  border-color: #0072ff;
  color: white;
}

.page-button.dots {
  border: none;
  padding: 8px 4px;
  cursor: default;
}

.page-button.dots:hover {
  color: #4a5568;
}

.filter-button {
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.unfiltered-title {
  text-align: center;
  margin-bottom: 10px;
  color: #2d3748;
}

.auth-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-container,
.login-container {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.register-container h2,
.login-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.register-container .filter-input,
.login-container .filter-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.register-container .filter-button,
.login-container .filter-button {
    font-size: 16px;
}

.register-container button,
.login-container button,
.logout-container button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.logout-container button {
    width: auto;
}

.register-container button:hover,
.login-container button:hover,
.logout-container button:hover {
    background-color: #0072ec;
}

.login-redirect,
.register-redirect {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.logout-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

@media (max-width: 600px) {
  .page-button {
    padding: 6px 10px;
    font-size: 14px;
  }
}