/* Cafe24 Admin Auth Frontend Styles */

body {
  font-family: 'Noto Sans KR', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar {
  margin-bottom: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 1140px;
}

.card {
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
}

.btn-outline-danger {
  color: #dc3545;
  border-color: #dc3545;
}

.btn-outline-danger:hover {
  background-color: #dc3545;
  color: #fff;
}

.orders-table {
  font-size: 0.9rem;
  width: 100%;
  border-collapse: collapse;
}

.orders-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
}

.orders-table td {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  vertical-align: middle;
}

.orders-table tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
}

.loading {
  display: none;
  text-align: center;
  padding: 20px;
}

.alert {
  border-radius: 4px;
  margin-bottom: 20px;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Dashboard specific styles */
.dashboard-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stat-card {
  flex: 1;
  margin: 0 10px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.stat-card h3 {
  margin-bottom: 5px;
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-card p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
}

/* Login page specific styles */
.login-card {
  max-width: 400px;
  margin: 0 auto;
}

.toggle-password {
  cursor: pointer;
}

/* Jumbotron styles (Bootstrap 5 doesn't have jumbotron) */
.jumbotron {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-color: #e9ecef;
  border-radius: 0.3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-stats {
    flex-direction: column;
  }
  
  .stat-card {
    margin: 10px 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .orders-table {
    font-size: 0.8rem;
  }
  
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
}

/* Animation for loading spinner */
@keyframes spinner {
  to {transform: rotate(360deg);}
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner .75s linear infinite;
}

/* Custom alert styles */
.alert-dismissible {
  padding-right: 3rem;
}

.alert-dismissible .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.25rem 1rem;
}