.store-cabinet-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .store-cabinet-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
}
.store-cabinet-wrapper .store-cabinet-sidebar {
  flex: 0 0 250px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
}
.store-cabinet-wrapper .store-cabinet-sidebar .store-cabinet-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.store-cabinet-wrapper .store-cabinet-sidebar .store-cabinet-nav li {
  margin-bottom: 5px;
}
.store-cabinet-wrapper .store-cabinet-sidebar .store-cabinet-nav li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}
.store-cabinet-wrapper .store-cabinet-sidebar .store-cabinet-nav li a:hover {
  background: #e9ecef;
}
.store-cabinet-wrapper .store-cabinet-sidebar .store-cabinet-nav li.active a {
  background: #007bff;
  color: #fff;
}
.store-cabinet-wrapper .store-cabinet-content {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.store-cabinet-pets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.store-cabinet-pets-grid .pet-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.store-cabinet-pets-grid .pet-card .pet-card-photo {
  height: 200px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.store-cabinet-pets-grid .pet-card .pet-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-cabinet-pets-grid .pet-card .pet-card-photo .pet-photo-placeholder {
  color: #adb5bd;
  font-size: 14px;
}
.store-cabinet-pets-grid .pet-card .pet-card-info {
  padding: 15px;
  flex: 1;
}
.store-cabinet-pets-grid .pet-card .pet-card-info h4 {
  margin-top: 0;
  margin-bottom: 10px;
}
.store-cabinet-pets-grid .pet-card .pet-card-info p {
  margin: 0 0 5px;
  font-size: 14px;
}
.store-cabinet-pets-grid .pet-card .pet-card-actions {
  padding: 15px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  display: flex;
  gap: 10px;
}

.store-cabinet-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-cabinet-modal .store-cabinet-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.store-cabinet-modal .store-cabinet-modal-content .store-cabinet-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.sc-btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}
.sc-btn:hover {
  text-decoration: none;
}
.sc-btn.sc-btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 0.2rem;
}
.sc-btn.sc-btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
.sc-btn.sc-btn-primary:hover {
  background-color: #0069d9;
  border-color: #0062cc;
}
.sc-btn.sc-btn-success {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}
.sc-btn.sc-btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}
.sc-btn.sc-btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.sc-btn.sc-btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}
.sc-btn.sc-btn-warning {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}
.sc-btn.sc-btn-warning:hover {
  background-color: #e0a800;
  border-color: #d39e00;
}
.sc-btn.sc-btn-default {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #ced4da;
}
.sc-btn.sc-btn-default:hover {
  background-color: #e2e6ea;
  border-color: #dae0e5;
}

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

.sc-orders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sc-order-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s;
}
.sc-order-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.sc-order-card .sc-order-card-header {
  background: #f8f9fa;
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.sc-order-card .sc-order-card-header .sc-order-card-title h4 {
  margin: 0 0 5px 0;
  font-size: 18px;
  color: #333;
}
.sc-order-card .sc-order-card-header .sc-order-card-title .sc-order-date {
  font-size: 13px;
  color: #6c757d;
}
.sc-order-card .sc-order-card-meta {
  padding: 15px 20px;
  display: flex;
  gap: 30px;
  border-bottom: 1px solid #f1f3f5;
  background: #fff;
}
.sc-order-card .sc-order-card-meta .sc-meta-item {
  display: flex;
  flex-direction: column;
}
.sc-order-card .sc-order-card-meta .sc-meta-item .sc-meta-label {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sc-order-card .sc-order-card-meta .sc-meta-item .sc-meta-value {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.sc-order-card .sc-order-card-body {
  padding: 20px;
  background: #fff;
}
.sc-order-card .sc-order-card-body .sc-order-items-table {
  width: 100%;
  border-collapse: collapse;
}
.sc-order-card .sc-order-card-body .sc-order-items-table th, .sc-order-card .sc-order-card-body .sc-order-items-table td {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  text-align: left;
  font-size: 14px;
}
.sc-order-card .sc-order-card-body .sc-order-items-table th {
  font-weight: 600;
  color: #495057;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 12px;
}
.sc-order-card .sc-order-card-body .sc-order-items-table tbody tr:last-child td {
  border-bottom: none;
}
.sc-order-card .sc-order-card-body .sc-order-items-table .sc-item-name {
  color: #333;
}
.sc-order-card .sc-order-card-body .sc-order-items-table .sc-item-qty {
  color: #6c757d;
  width: 80px;
}
.sc-order-card .sc-order-card-body .sc-order-items-table .sc-item-stock {
  width: 130px;
  font-weight: 500;
}
.sc-order-card .sc-order-card-body .sc-order-items-table .sc-item-stock.sc-in-stock {
  color: #28a745;
}
.sc-order-card .sc-order-card-body .sc-order-items-table .sc-item-stock.sc-out-of-stock {
  color: #dc3545;
}
.sc-order-card .sc-order-card-body .sc-order-items-table .sc-item-stock .sc-stock-icon {
  font-weight: bold;
}
.sc-order-card .sc-order-card-footer {
  padding: 15px 20px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  display: flex;
  align-items: center;
}

/* Badges */
.sc-badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}
.sc-badge.sc-badge-completed {
  background-color: #28a745;
  color: #fff;
}
.sc-badge.sc-badge-processing {
  background-color: #007bff;
  color: #fff;
}
.sc-badge.sc-badge-on-hold {
  background-color: #ffc107;
  color: #212529;
}
.sc-badge.sc-badge-cancelled, .sc-badge.sc-badge-failed {
  background-color: #dc3545;
  color: #fff;
}
.sc-badge.sc-badge-pending {
  background-color: #6c757d;
  color: #fff;
}