@import "https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Barlow+Condensed:wght@300;400;500;600&display=swap";

/* src/styles.scss */
.admin-page {
  min-height: 100vh;
  background: #101318;
  color: #e8dcc8;
  font-family: "Barlow Condensed", sans-serif;
  padding: 24px;
}
@media (max-width: 600px) {
  .admin-page {
    padding: 12px;
  }
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1e2530;
}
@media (max-width: 600px) {
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.admin-title {
  font-family: "Cinzel", serif;
  font-size: 22px;
  font-weight: 700;
  color: #c9a84c;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-title .back-link {
  font-size: 14px;
  color: #6a7280;
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  transition: all 0.12s ease;
}
.admin-title .back-link:hover {
  color: #e8dcc8;
}
.admin-subtitle {
  font-size: 13px;
  color: #6a7280;
  margin-top: 2px;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
.search-input {
  flex: 1;
  min-width: 200px;
  padding: 8px 14px;
  background: #0e1219;
  border: 1px solid #2a3040;
  border-radius: 8px;
  color: #e8dcc8;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  outline: none;
  transition: all 0.12s ease;
}
.search-input::placeholder {
  color: #6a7280;
}
.search-input:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.1);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: none;
  border-radius: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s ease;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-primary {
  background: #c9a84c;
  color: #0c0f13;
  font-weight: 600;
}
.btn-primary:hover:not(:disabled) {
  background: #e8d090;
}
.btn-danger {
  background: rgba(155, 35, 53, 0.15);
  color: #d64f63;
  border: 1px solid rgba(155, 35, 53, 0.3);
}
.btn-danger:hover:not(:disabled) {
  background: rgba(155, 35, 53, 0.3);
}
.btn-ghost {
  background: rgba(232, 220, 200, 0.05);
  color: #8a9aaa;
  border: 1px solid #1e2530;
}
.btn-ghost:hover:not(:disabled) {
  background: rgba(232, 220, 200, 0.1);
  color: #e8dcc8;
}
.btn-sm {
  padding: 4px 10px;
  font-size: 12px;
}
.btn-icon {
  padding: 6px;
  background: transparent;
  border: 1px solid transparent;
}
.btn-icon:hover {
  background: rgba(232, 220, 200, 0.08);
  border-color: #1e2530;
}
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #1e2530;
  border-radius: 12px;
  background: #13181f;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  padding: 10px 14px;
  text-align: left;
  font-family: "Cinzel", serif;
  font-size: 10px;
  font-weight: 600;
  color: #c9a84c;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #161b24;
  border-bottom: 1px solid #1e2530;
  white-space: nowrap;
}
.admin-table th.col-actions {
  width: 120px;
  text-align: right;
}
.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #1e2530;
  color: #e8dcc8;
  vertical-align: middle;
}
.admin-table td.col-muted {
  color: #6a7280;
}
.admin-table td.col-actions {
  text-align: right;
  white-space: nowrap;
}
.admin-table td.col-truncate {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-table td.col-wrap {
  max-width: 280px;
  white-space: normal;
  line-height: 1.5;
}
.admin-table tbody tr {
  transition: background 0.1s;
}
.admin-table tbody tr:last-child td {
  border-bottom: none;
}
.admin-table tbody tr:hover {
  background: rgba(232, 220, 200, 0.03);
}
.admin-table .row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: #6a7280;
  font-size: 14px;
  gap: 8px;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #2a3040;
  border-top-color: #c9a84c;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.empty-state {
  padding: 48px;
  text-align: center;
  color: #6a7280;
  font-size: 14px;
}
.form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  backdrop-filter: blur(2px);
}
.form-panel {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: #13181f;
  border-left: 1px solid #1e2530;
  padding: 24px;
  overflow-y: auto;
  animation: slide-in-right 0.2s ease;
}
@media (max-width: 600px) {
  .form-panel {
    max-width: 100%;
    min-height: auto;
    border-left: none;
    border-top: 1px solid #1e2530;
    border-radius: 12px 12px 0 0;
  }
}
@keyframes slide-in-right {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.form-panel-title {
  font-family: "Cinzel", serif;
  font-size: 16px;
  font-weight: 700;
  color: #c9a84c;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e2530;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #6a7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 8px 12px;
  background: #0e1219;
  border: 1px solid #2a3040;
  border-radius: 8px;
  color: #e8dcc8;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  outline: none;
  transition: all 0.12s ease;
}
.form-control::placeholder {
  color: #6a7280;
}
.form-control:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.1);
}
.form-control.ng-invalid.ng-touched {
  border-color: #9b2335;
}
textarea.form-control {
  resize: vertical;
  min-height: 80px;
}
select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid #1e2530;
  margin-top: 16px;
}
.field-error {
  font-size: 11px;
  color: #d64f63;
  margin-top: 4px;
}
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.confirm-dialog {
  background: #161b24;
  border: 1px solid #2a3040;
  border-radius: 12px;
  padding: 24px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: pop-in 0.15s ease;
}
.confirm-dialog h4 {
  font-family: "Cinzel", serif;
  font-size: 15px;
  color: #e8dcc8;
  margin-bottom: 8px;
}
.confirm-dialog p {
  font-size: 13px;
  color: #6a7280;
  margin-bottom: 16px;
  line-height: 1.5;
}
.confirm-dialog .confirm-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
@keyframes pop-in {
  from {
    transform: scale(0.93);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.child-panel {
  background: rgba(12, 15, 19, 0.6);
  border-top: 1px solid #1e2530;
  padding: 16px;
  animation: fade-down 0.15s ease;
}
.child-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.child-panel-title {
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: 600;
  color: #c9a84c;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
}
.badge--active {
  background: rgba(122, 184, 90, 0.15);
  color: #7ab85a;
}
.badge--inactive {
  background: rgba(106, 114, 128, 0.12);
  color: #6a7280;
}
.badge--gm {
  background: rgba(201, 168, 76, 0.15);
  color: #c9a84c;
}
.badge--player {
  background: rgba(74, 144, 217, 0.15);
  color: #4a90d9;
}
.badge--tier1 {
  background: rgba(122, 184, 90, 0.12);
  color: #7ab85a;
}
.badge--tier2 {
  background: rgba(201, 168, 76, 0.12);
  color: #c9a84c;
}
.badge--tier3 {
  background: rgba(168, 85, 176, 0.12);
  color: #a855b0;
}
.expand-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #6a7280;
  padding: 2px 4px;
  border-radius: 6px;
  transition: all 0.12s ease;
  font-size: 12px;
}
.expand-btn:hover {
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.08);
}
.expand-btn.expanded {
  color: #c9a84c;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  background-color: #101318;
  background-image: url(/app-background.svg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: #e8dcc8;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: #101318;
}
::-webkit-scrollbar-thumb {
  background: #2a3040;
  border-radius: 9999px;
}
.text-gold {
  color: #c9a84c;
}
.text-crimson {
  color: #9b2335;
}
.text-hope {
  color: #4a90d9;
}
.text-fear {
  color: #a855b0;
}
.text-muted {
  color: #6a7280;
}
.text-dim {
  color: #4a5060;
}
.text-green {
  color: #7ab85a;
}
.font-display {
  font-family: "Cinzel", serif;
}
.font-body {
  font-family: "Barlow Condensed", sans-serif;
}
.uppercase {
  text-transform: uppercase;
}
.letter-wide {
  letter-spacing: 1.5px;
}
.divider {
  height: 1px;
  background: #1e2530;
  width: 100%;
  margin: 8px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ripple-host {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  transform: scale(0);
  animation: ripple-anim 0.5s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
