/* ═══════════════════════════════════════════════════════════
   ACTIVE ADMIN CUSTOM STYLES - SANCTUARY THEME
   Clean, professional admin interface with minimal animations
   ═══════════════════════════════════════════════════════════ */

/* Override ActiveAdmin body styles */
body.active_admin {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #ffffff;
  color: #1e293b;
}

/* Header styling */
#header {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #e5e7eb;
}

#site_title {
  font-family: "Crimson Pro", serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: #1e293b;
}

#site_title:hover {
  opacity: 0.7;
}

/* Navigation tabs */
#tabs {
  background: transparent;
  border-bottom: 1px solid #e5e7eb;
}

#tabs > ul > li > a {
  color: #64748b;
  font-weight: 500;
  padding: 12px 20px;
  transition: all 0.2s ease;
}

#tabs > ul > li > a:hover {
  background: #f8fafc;
  color: #1e293b;
}

#tabs > ul > li.current > a {
  background: transparent;
  color: #1e293b;
  border-bottom: 2px solid #1e293b;
}

/* Utility nav (logout, etc) */
#utility_nav {
  background: transparent;
}

#utility_nav a {
  color: #64748b;
  font-weight: 500;
}

#utility_nav a:hover {
  color: #1e293b;
}
/* Main content area */
#active_admin_content {
  padding: 30px;
  background: #fafafa;
}

#title_bar {
  background: white;
  box-shadow: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px 30px;
  margin-bottom: 30px;
} margin-bottom: 30px;
}

#title_bar h2 {
  font-family: "Crimson Pro", serif;
  font-size: 28px;
  font-weight: 600;
  color: #1e293b;
/* Action items in title bar */
.action_items a {
  background: #1e293b;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
  display: inline-block;
}

.action_items a:hover {
  background: #334155;
} transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Panels */
/* Panels */
.panel {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  margin-bottom: 30px;
  overflow: hidden;
}

.panel_contents {
  padding: 24px;
}

.panel > h3 {
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
  color: #1e293b;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 16px 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* Tables */
.index_table {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.index_table th {
.index_table th {
  background: #fafafa;
  color: #1e293b;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.index_table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e9ecef;
  color: #475569;
}

.index_table tr:hover td {
  background: #f8fafc;
}

.index_table tr:last-child td {
  border-bottom: none;
}

/* Status tags */
.status_tag {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status_tag.yes,
.status_tag.premium {
  background: #10b981;
  color: white;
}

.status_tag.no,
.status_tag.free {
  background: #94a3b8;
  color: white;
}

/* Forms */
form fieldset {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 24px;
  margin-bottom: 24px;
}

form fieldset > legend {
  background: #fafafa;
  border-radius: 6px;
  color: #1e293b;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form textarea,
form select {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form input[type="number"]:focus,
form textarea:focus,
form select:focus {
  border-color: #1e293b;
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
  outline: none;
}

/* Submit buttons */
form input[type="submit"],
.button,
a.button {
  background: #1e293b;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  transition: background 0.2s ease;
  cursor: pointer;
}

form input[type="submit"]:hover,
.button:hover,
a.button:hover {
  background: #334155;
}

/* Action buttons */
/* Action buttons */
.table_actions a {
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.table_actions a:hover {
  color: #64748b;
}
.table_actions .delete_link {
  color: #ef4444;
}

.table_actions .delete_link:hover {
  color: #dc2626;
}

/* Pagination */
/* Pagination */
.pagination {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: none;
  padding: 16px;
  margin-top: 24px;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  margin: 0 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.pagination a:hover {
  background: #f8fafc;
  color: #1e293b;
}

.pagination .current {
  background: #1e293b;
  color: white;
  font-weight: 600;
}
/* Flash messages */
.flash {
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-weight: 500;
}

.flash.flash_notice {
  background: #10b981;
  color: white;
}

.flash.flash_alert,
.flash.flash_error {
  background: #ef4444;
  color: white;
}

/* Attributes table (show pages) */
.attributes_table th {
  background: #f8f9fa;
  color: #1e293b;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  width: 200px;
}

.attributes_table td {
  padding: 12px 16px;
  color: #475569;
}

.attributes_table tr {
  border-bottom: 1px solid #e9ecef;
}

.attributes_table tr:last-child {
  border-bottom: none;
}

/* Sidebar */
#sidebar {
  width: 300px;
}

#sidebar .sidebar_section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  margin-bottom: 24px;
  overflow: hidden;
}

#sidebar .sidebar_section h3 {
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
  color: #1e293b;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 12px;
  padding: 14px 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Login page styling */
#login {
  background: #fafafa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#login #content_wrapper {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 48px;
  max-width: 450px;
  width: 100%;
}

#login h2 {
  font-family: "Crimson Pro", serif;
  font-size: 32px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  text-align: center;
}

#login #content_wrapper:before {
  content: "🕊️";
  display: block;
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
}

/* Login form specific styles */
#login form {
  margin-top: 32px;
}

#login form fieldset {
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

#login form fieldset > legend {
  display: none;
}

#login form ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

#login form ol li {
  margin-bottom: 20px;
  padding: 0;
}

#login form ol li:before {
  content: none !important;
  display: none !important;
}

#login form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 8px;
}

#login form input[type="email"],
#login form input[type="password"] {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
}

#login form input[type="email"]:focus,
#login form input[type="password"]:focus {
  border-color: #1e293b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
}

#login form input[type="checkbox"] {
  margin-right: 8px;
}

#login form label[for="admin_user_remember_me"] {
  display: inline;
  font-weight: 500;
  font-size: 14px;
}

#login form input[type="submit"] {
  width: 100%;
  background: #1e293b;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
}

#login form input[type="submit"]:hover {
  background: #334155;
}

#login a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
}

#login a:hover {
  color: #1e293b;
}

/* Remove unnecessary animations */
* {
  animation: none !important;
}

/* Hide column numbers */
.index_table .col {
  display: none;
}

.index_table th:before,
.index_table td:before {
  content: none !important;
}

/* Clean up table styling */
.index_table .col-selectable,
.index_table .col-id {
  text-align: left;
}
