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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1e293b;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.logo a {
  color: #6366f1;
  text-decoration: none;
  transition: color 0.2s;
}
.logo a:hover {
  color: #4f46e5;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav .nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}
.nav .nav-link:hover {
  color: #6366f1;
  background-color: #f8fafc;
}
.nav .nav-link.btn-logout {
  color: #ef4444;
}
.nav .user-info {
  color: #64748b;
  font-size: 14px;
}

.main {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.5;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.btn:active {
  transform: translateY(0);
}
.btn.btn-primary {
  background-color: #6366f1;
  color: white;
}
.btn.btn-primary:hover {
  background-color: #4f46e5;
}
.btn.btn-secondary {
  background-color: #64748b;
  color: white;
}
.btn.btn-secondary:hover {
  background-color: #4f5b6d;
}
.btn.btn-outline {
  background-color: transparent;
  color: #6366f1;
  border: 1px solid #6366f1;
}
.btn.btn-outline:hover {
  background-color: #6366f1;
  color: white;
}
.btn.btn-danger {
  background-color: #ef4444;
  color: white;
}
.btn.btn-danger:hover {
  background-color: #eb1515;
}
.btn.btn-sm {
  padding: 0.25rem 1rem;
  font-size: 14px;
}
.btn.btn-block {
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
}
.badge.status-open {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.badge.status-in-progress {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.badge.status-resolved {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.badge.status-closed {
  background-color: rgba(100, 116, 139, 0.1);
  color: #64748b;
}
.badge.priority-low {
  background-color: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
}
.badge.priority-medium {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.badge.priority-high {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.badge.priority-critical {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.alert.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: #085b40;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.alert.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #bd1010;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.alert a {
  color: inherit;
  text-decoration: underline;
}

.filters {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.filter-form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 150px;
}

.filter-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.form-label .required {
  color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 16px;
  font-family: inherit;
  color: #1e293b;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background-color: #f1f5f9;
  cursor: not-allowed;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.inline-form {
  display: inline-block;
}

.table-wrapper {
   background: #ffffff;
   border: 1px solid #e2e8f0;
   border-radius: 8px;
   overflow: hidden;
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
   overflow-x: auto;
 }

 .bug-table {
   width: 100%;
   border-collapse: collapse;
   font-size: 14px;
   background: #ffffff;
 }

 .bug-table thead {
   background: #f1f5f9;
   border-bottom: 2px solid #e2e8f0;
 }

 .bug-table thead th {
   padding: 1rem;
   text-align: left;
   font-weight: 600;
   color: #1e293b;
   white-space: nowrap;
   border-right: 1px solid #e2e8f0;
   position: sticky;
   top: 0;
   z-index: 10;
 }

 .bug-table thead th:last-child {
   border-right: none;
 }

 .bug-table tbody tr {
   border-bottom: 1px solid #e2e8f0;
   transition: background-color 0.15s;
 }

 .bug-table tbody tr:hover {
   background-color: rgba(99, 102, 241, 0.03);
 }

 .bug-table tbody tr:last-child {
   border-bottom: none;
 }

 .bug-table tbody td {
   padding: 1rem;
   border-right: 1px solid #f1f5f9;
   vertical-align: middle;
   color: #1e293b;
 }

 .bug-table tbody td:last-child {
   border-right: none;
 }

 .bug-table .col-id {
   width: 60px;
   text-align: center;
   font-weight: 600;
   color: #64748b;
 }

 .bug-table .col-title {
   min-width: 200px;
   max-width: 300px;
 }

 .bug-table .col-title .table-link {
   color: #1e293b;
   text-decoration: none;
   font-weight: 500;
   transition: color 0.2s;
 }

 .bug-table .col-title .table-link:hover {
   color: #6366f1;
   text-decoration: underline;
 }

 .bug-table .col-status {
   width: 100px;
   text-align: center;
 }

 .bug-table .col-priority {
   width: 80px;
   text-align: center;
 }

 .bug-table .col-description {
   min-width: 200px;
   max-width: 300px;
   color: #64748b;
   line-height: 1.5;
 }

 .bug-table .col-created,
 .bug-table .col-updated {
   width: 140px;
   white-space: nowrap;
   color: #64748b;
   font-size: 14px;
 }

 .bug-table .col-actions {
   width: 80px;
   text-align: center;
 }

.bug-detail {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.bug-detail-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.bug-detail-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

.bug-detail-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bug-detail-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
}

.info-item {
  display: flex;
  gap: 0.5rem;
}

.info-label {
  font-weight: 500;
  color: #64748b;
  font-size: 14px;
}

.info-value {
  color: #1e293b;
  font-size: 14px;
}

.bug-detail-description {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

.description-content {
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  line-height: 1.8;
  color: #1e293b;
}

.bug-detail-actions {
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.quick-status-update {
  display: inline-block;
}

.form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #1e293b;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.auth-footer {
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}
.auth-footer a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
}
.auth-footer a:hover {
  text-decoration: underline;
}

.status-summary {
   background: #ffffff;
   border: 1px solid #e2e8f0;
   border-radius: 8px;
   padding: 2rem;
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
   margin-bottom: 2rem;
 }

 .status-summary-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 1.5rem;
 }

 .status-summary-title {
   font-size: 18px;
   font-weight: 600;
   color: #1e293b;
   margin: 0;
 }

 .status-summary-total {
   font-size: 16px;
   color: #64748b;
 }

 .status-summary-total strong {
   color: #1e293b;
   font-size: 20px;
   font-weight: 700;
 }

 .status-summary-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 1rem;
 }

 .status-card {
   display: flex;
   align-items: center;
   gap: 1rem;
   padding: 1.5rem;
   background: #f8fafc;
   border: 2px solid #e2e8f0;
   border-radius: 8px;
   text-decoration: none;
   transition: all 0.2s;
   cursor: pointer;
 }

 .status-card:hover {
   transform: translateY(-2px);
   box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
   border-color: #6366f1;
 }

 .status-card.active {
   border-color: #6366f1;
   background: rgba(99, 102, 241, 0.05);
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
 }

 .status-card-icon {
   font-size: 2rem;
   line-height: 1;
 }

 .status-card-content {
   flex: 1;
 }

 .status-card-label {
   font-size: 14px;
   color: #64748b;
   margin-bottom: 0.25rem;
   font-weight: 500;
 }

 .status-card-count {
   font-size: 24px;
   font-weight: 700;
   color: #1e293b;
 }

 .status-card-open .status-card-count {
   color: #3b82f6;
 }

 .status-card-open.active {
   border-color: #3b82f6;
   background: rgba(59, 130, 246, 0.1);
 }

 .status-card-in-progress .status-card-count {
   color: #f59e0b;
 }

 .status-card-in-progress.active {
   border-color: #f59e0b;
   background: rgba(245, 158, 11, 0.1);
 }

 .status-card-resolved .status-card-count {
   color: #10b981;
 }

 .status-card-resolved.active {
   border-color: #10b981;
   background: rgba(16, 185, 129, 0.1);
 }

 .status-card-closed .status-card-count {
   color: #64748b;
 }

 .status-card-closed.active {
   border-color: #64748b;
   background: rgba(100, 116, 139, 0.1);
 }

 .empty-state {
   text-align: center;
   padding: 3rem;
   background: #ffffff;
   border: 1px solid #e2e8f0;
   border-radius: 8px;
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
 }

 .empty-state p {
   color: #64748b;
   margin-bottom: 1.5rem;
   font-size: 18px;
 }

.footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

 @media (max-width: 768px) {
   .header-content {
     flex-direction: column;
     gap: 1rem;
   }
   .nav {
     flex-wrap: wrap;
     justify-content: center;
   }
   .page-header {
     flex-direction: column;
     align-items: flex-start;
     gap: 1rem;
   }
   .status-summary-header {
     flex-direction: column;
     align-items: flex-start;
     gap: 0.5rem;
   }
   .status-summary-grid {
     grid-template-columns: 1fr;
   }
   .filter-form {
     flex-direction: column;
   }
   .filter-group {
     width: 100%;
   }
   .table-wrapper {
     overflow-x: auto;
   }
   .bug-table {
     font-size: 12px;
   }
   .bug-table thead th,
   .bug-table tbody td {
     padding: 0.75rem 0.5rem;
   }
   .bug-table .col-title,
   .bug-table .col-description {
     min-width: 150px;
     max-width: 200px;
   }
   .bug-table .col-created,
   .bug-table .col-updated {
     width: 100px;
     font-size: 11px;
   }
   .form-row {
     grid-template-columns: 1fr;
   }
   .form-actions {
     flex-direction: column;
   }
   .btn {
     width: 100%;
   }
 }/*# sourceMappingURL=style.css.map */