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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #111827;
  background: #f9fafb;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}
.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: #8d57d7;
  color: #fff;
}
.btn-primary:hover {
  background: #7c4ed6;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #282449;
  border: 1px solid #e5e7eb;
}
.btn-secondary:hover {
  background: #f9fafb;
}

.btn-danger {
  background: #ef4444;
  color: #fff;
}
.btn-danger:hover {
  background: #dc2626;
  color: #fff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.form-group {
  margin-bottom: 16px;
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
}

.password-input-wrapper {
  position: relative;
}

.password-input {
  padding-right: 45px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  font-size: 18px;
  padding: 4px 8px;
}
.password-toggle-btn:hover {
  color: #111827;
}

.btn-full-width {
  width: 100%;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.form-check-input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.form-check-input:focus {
  outline: 2px solid #8d57d7;
  outline-offset: 2px;
}

.form-check-label {
  font-size: 14px;
  color: #111827;
  cursor: pointer;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}
.form-check-label a {
  color: #8d57d7;
  text-decoration: underline;
}
.form-check-label a:hover {
  color: #7c4ed6;
}

.form-footer-text {
  text-align: center;
  margin-top: 16px;
  color: #6b7280;
}
.form-footer-text a {
  color: #8d57d7;
  text-decoration: none;
}
.form-footer-text a:hover {
  text-decoration: underline;
}

.cgu-acceptance-info {
  margin-bottom: 24px;
}

.cgu-acceptance-text {
  font-size: 16px;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.6;
}

.cgu-acceptance-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.cgu-acceptance-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.cgu-acceptance-link-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}
.cgu-acceptance-link-text a {
  color: #8d57d7;
  text-decoration: underline;
}
.cgu-acceptance-link-text a:hover {
  color: #7c4ed6;
}

.cgu-acceptance-form {
  margin-top: 24px;
}

.cgu-acceptance-actions {
  margin-top: 16px;
}

.cgu-reminder-banner {
  background: #fff3cd;
  border-bottom: 2px solid #ffc107;
  padding: 16px 24px;
  text-align: center;
  position: relative;
}
.cgu-reminder-banner p {
  margin: 0;
  color: #856404;
  font-size: 14px;
}
.cgu-reminder-banner p a {
  color: #8d57d7;
  text-decoration: underline;
  font-weight: 600;
}
.cgu-reminder-banner p a:hover {
  color: #7c4ed6;
}

.page-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-container-sm {
  max-width: 400px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #6b7280;
}

.text-primary {
  color: #111827;
}

.mb-lg {
  margin-bottom: 24px;
}

.mb-md {
  margin-bottom: 16px;
}

.mb-sm {
  margin-bottom: 8px;
}

.mt-md {
  margin-top: 16px;
}

.mt-sm {
  margin-top: 8px;
}

.mt-lg {
  margin-top: 24px;
}

.form-help {
  color: #6b7280;
  font-size: 14px;
}

.hero-section {
  text-align: center;
  padding: 80px 24px;
}

.hero-title {
  font-size: 42px;
  margin-bottom: 16px;
  color: #282449;
}

.hero-text {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.table-col-fixed {
  width: 200px;
}

.media-item-form {
  flex: 1;
}

.story-empty-text {
  padding: 32px;
}

.stats-card {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.stats-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.stats-value {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.stats-label {
  color: #6b7280;
}

.content-block {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #111827;
}

.content-block-muted {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #4b5563;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
}

.content-block-info {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #0c4a6e;
  padding: 16px;
  background: #f0f9ff;
  border-radius: 8px;
  margin-bottom: 16px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.section-subtitle {
  color: #6b7280;
}

.grid-auto-fill {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.badge-inline {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.badge-inline-type {
  background: #e5e7eb;
  color: #374151;
}

.badge-inline-status-new {
  background: #dbeafe;
  color: #1e40af;
}

.badge-inline-status-in_progress {
  background: #fef3c7;
  color: #92400e;
}

.badge-inline-status-resolved {
  background: #d1fae5;
  color: #065f46;
}

.badge-inline-status-closed {
  background: #f3f4f6;
  color: #374151;
}

.badge-inline-priority-critical {
  background: #fee2e2;
  color: #991b1b;
}

.badge-inline-priority-high {
  background: #fed7aa;
  color: #9a3412;
}

.badge-inline-priority-medium {
  background: #fef3c7;
  color: #92400e;
}

.badge-inline-priority-low {
  background: #e5e7eb;
  color: #374151;
}

.flex-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section-label {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-weight: 600;
}

.section-text {
  color: #4b5563;
}

.section-text-small {
  font-size: 12px;
  color: #6b7280;
}

.link-muted {
  color: #6b7280;
  text-decoration: none;
}
.link-muted:hover {
  text-decoration: underline;
}

.link-primary {
  color: #8d57d7;
  text-decoration: none;
}
.link-primary:hover {
  text-decoration: underline;
}

.link-break {
  word-break: break-all;
}

.media-grid-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.media-placeholder {
  height: 200px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex-direction: column;
  gap: 8px;
}
.media-placeholder-icon {
  font-size: 32px;
}
.media-placeholder-text {
  font-size: 12px;
  text-align: center;
  padding: 0 8px;
}

.media-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.story-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.story-title-large {
  font-size: 32px;
  margin-bottom: 8px;
}

.story-meta {
  color: #6b7280;
  font-size: 14px;
}

.story-content {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #111827;
}

.story-media-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.story-media-title {
  font-size: 20px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.media-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.media-item-content {
  padding: 12px;
}

.media-item-name {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-item-actions {
  display: flex;
  gap: 8px;
}

.media-item-btn {
  flex: 1;
  padding: 6px 12px;
  font-size: 14px;
}

.stories-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.stories-list-title {
  font-size: 32px;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.story-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.story-card-meta {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 8px;
}

.story-card-content {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 14px;
}

.story-card-files {
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 16px;
}

.story-card-actions {
  display: flex;
  gap: 8px;
}
.story-card-actions .btn {
  flex: 1;
}

.story-empty {
  text-align: center;
  padding: 60px 24px;
}

.story-empty-text {
  color: #6b7280;
  font-size: 18px;
  margin-bottom: 24px;
}

.form-inline {
  display: inline;
}

.actions-flex {
  display: flex;
  gap: 8px;
}

.dashboard-welcome {
  font-size: 32px;
  margin-bottom: 24px;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.dashboard-stat-card {
  text-align: center;
}

.dashboard-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #8d57d7;
  margin-bottom: 8px;
}

.dashboard-stat-label {
  color: #6b7280;
}

.dashboard-section-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.dashboard-section-empty {
  text-align: center;
  padding: 32px;
}

.dashboard-section-empty-text {
  color: #6b7280;
  margin-bottom: 16px;
}

.mb-xl {
  margin-bottom: 32px;
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.feedback-title-large {
  font-size: 32px;
  margin-bottom: 8px;
}

.feedback-meta-text {
  color: #6b7280;
  font-size: 14px;
}

.feedback-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.feedback-list-title {
  font-size: 32px;
}

.feedback-list-grid {
  display: grid;
  gap: 16px;
}

.feedback-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.feedback-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.feedback-card-date {
  color: #6b7280;
  font-size: 14px;
}

.feedback-card-description {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 14px;
}

.feedback-response-card {
  background: #f0f9ff;
  border-left: 3px solid #0ea5e9;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 6px;
}

.feedback-response-label {
  font-size: 12px;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 4px;
}

.feedback-response-text {
  color: #0c4a6e;
  font-size: 14px;
}

.feedback-admin-response-card {
  background: #f0f9ff;
  border-left: 4px solid #0ea5e9;
}

.feedback-admin-response-title {
  font-size: 20px;
  margin-bottom: 16px;
  color: #0369a1;
}

.feedback-admin-response-date {
  font-size: 12px;
  color: #0369a1;
}

.feedback-pending-card {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
}

.feedback-pending-text {
  color: #92400e;
  font-size: 14px;
}

.feedback-page-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.feedback-page-label {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 4px;
}

.mb-sm {
  margin-bottom: 8px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #374151;
}

.form-control,
.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
}
.form-control:focus,
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #8d57d7;
  box-shadow: 0 0 0 3px rgba(141, 87, 215, 0.1);
}

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

.form-file {
  width: 100%;
}

.form-error {
  color: #dc2626;
  font-size: 14px;
  margin-top: 4px;
}

.flash {
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 8px;
}

.flash-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.flash-info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge-primary {
  background: #ede9fe;
  color: #8d57d7;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-info {
  background: #dbeafe;
  color: #1e40af;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}
.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: #8d57d7;
  color: #fff;
}
.btn-primary:hover {
  background: #7c4ed6;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #282449;
  border: 1px solid #e5e7eb;
}
.btn-secondary:hover {
  background: #f9fafb;
}

.btn-danger {
  background: #ef4444;
  color: #fff;
}
.btn-danger:hover {
  background: #dc2626;
  color: #fff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.form-group {
  margin-bottom: 16px;
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
}

.password-input-wrapper {
  position: relative;
}

.password-input {
  padding-right: 45px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  font-size: 18px;
  padding: 4px 8px;
}
.password-toggle-btn:hover {
  color: #111827;
}

.btn-full-width {
  width: 100%;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.form-check-input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.form-check-input:focus {
  outline: 2px solid #8d57d7;
  outline-offset: 2px;
}

.form-check-label {
  font-size: 14px;
  color: #111827;
  cursor: pointer;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}
.form-check-label a {
  color: #8d57d7;
  text-decoration: underline;
}
.form-check-label a:hover {
  color: #7c4ed6;
}

.form-footer-text {
  text-align: center;
  margin-top: 16px;
  color: #6b7280;
}
.form-footer-text a {
  color: #8d57d7;
  text-decoration: none;
}
.form-footer-text a:hover {
  text-decoration: underline;
}

.cgu-acceptance-info {
  margin-bottom: 24px;
}

.cgu-acceptance-text {
  font-size: 16px;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.6;
}

.cgu-acceptance-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.cgu-acceptance-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.cgu-acceptance-link-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}
.cgu-acceptance-link-text a {
  color: #8d57d7;
  text-decoration: underline;
}
.cgu-acceptance-link-text a:hover {
  color: #7c4ed6;
}

.cgu-acceptance-form {
  margin-top: 24px;
}

.cgu-acceptance-actions {
  margin-top: 16px;
}

.cgu-reminder-banner {
  background: #fff3cd;
  border-bottom: 2px solid #ffc107;
  padding: 16px 24px;
  text-align: center;
  position: relative;
}
.cgu-reminder-banner p {
  margin: 0;
  color: #856404;
  font-size: 14px;
}
.cgu-reminder-banner p a {
  color: #8d57d7;
  text-decoration: underline;
  font-weight: 600;
}
.cgu-reminder-banner p a:hover {
  color: #7c4ed6;
}

.page-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-container-sm {
  max-width: 400px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #6b7280;
}

.text-primary {
  color: #111827;
}

.mb-lg {
  margin-bottom: 24px;
}

.mb-md {
  margin-bottom: 16px;
}

.mb-sm {
  margin-bottom: 8px;
}

.mt-md {
  margin-top: 16px;
}

.mt-sm {
  margin-top: 8px;
}

.mt-lg {
  margin-top: 24px;
}

.form-help {
  color: #6b7280;
  font-size: 14px;
}

.hero-section {
  text-align: center;
  padding: 80px 24px;
}

.hero-title {
  font-size: 42px;
  margin-bottom: 16px;
  color: #282449;
}

.hero-text {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.table-col-fixed {
  width: 200px;
}

.media-item-form {
  flex: 1;
}

.story-empty-text {
  padding: 32px;
}

.stats-card {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.stats-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.stats-value {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.stats-label {
  color: #6b7280;
}

.content-block {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #111827;
}

.content-block-muted {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #4b5563;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
}

.content-block-info {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #0c4a6e;
  padding: 16px;
  background: #f0f9ff;
  border-radius: 8px;
  margin-bottom: 16px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.section-subtitle {
  color: #6b7280;
}

.grid-auto-fill {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.badge-inline {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.badge-inline-type {
  background: #e5e7eb;
  color: #374151;
}

.badge-inline-status-new {
  background: #dbeafe;
  color: #1e40af;
}

.badge-inline-status-in_progress {
  background: #fef3c7;
  color: #92400e;
}

.badge-inline-status-resolved {
  background: #d1fae5;
  color: #065f46;
}

.badge-inline-status-closed {
  background: #f3f4f6;
  color: #374151;
}

.badge-inline-priority-critical {
  background: #fee2e2;
  color: #991b1b;
}

.badge-inline-priority-high {
  background: #fed7aa;
  color: #9a3412;
}

.badge-inline-priority-medium {
  background: #fef3c7;
  color: #92400e;
}

.badge-inline-priority-low {
  background: #e5e7eb;
  color: #374151;
}

.flex-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section-label {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-weight: 600;
}

.section-text {
  color: #4b5563;
}

.section-text-small {
  font-size: 12px;
  color: #6b7280;
}

.link-muted {
  color: #6b7280;
  text-decoration: none;
}
.link-muted:hover {
  text-decoration: underline;
}

.link-primary {
  color: #8d57d7;
  text-decoration: none;
}
.link-primary:hover {
  text-decoration: underline;
}

.link-break {
  word-break: break-all;
}

.media-grid-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.media-placeholder {
  height: 200px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex-direction: column;
  gap: 8px;
}
.media-placeholder-icon {
  font-size: 32px;
}
.media-placeholder-text {
  font-size: 12px;
  text-align: center;
  padding: 0 8px;
}

.media-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.story-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.story-title-large {
  font-size: 32px;
  margin-bottom: 8px;
}

.story-meta {
  color: #6b7280;
  font-size: 14px;
}

.story-content {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #111827;
}

.story-media-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.story-media-title {
  font-size: 20px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.media-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.media-item-content {
  padding: 12px;
}

.media-item-name {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-item-actions {
  display: flex;
  gap: 8px;
}

.media-item-btn {
  flex: 1;
  padding: 6px 12px;
  font-size: 14px;
}

.stories-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.stories-list-title {
  font-size: 32px;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.story-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.story-card-meta {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 8px;
}

.story-card-content {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 14px;
}

.story-card-files {
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 16px;
}

.story-card-actions {
  display: flex;
  gap: 8px;
}
.story-card-actions .btn {
  flex: 1;
}

.story-empty {
  text-align: center;
  padding: 60px 24px;
}

.story-empty-text {
  color: #6b7280;
  font-size: 18px;
  margin-bottom: 24px;
}

.form-inline {
  display: inline;
}

.actions-flex {
  display: flex;
  gap: 8px;
}

.dashboard-welcome {
  font-size: 32px;
  margin-bottom: 24px;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.dashboard-stat-card {
  text-align: center;
}

.dashboard-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #8d57d7;
  margin-bottom: 8px;
}

.dashboard-stat-label {
  color: #6b7280;
}

.dashboard-section-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.dashboard-section-empty {
  text-align: center;
  padding: 32px;
}

.dashboard-section-empty-text {
  color: #6b7280;
  margin-bottom: 16px;
}

.mb-xl {
  margin-bottom: 32px;
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.feedback-title-large {
  font-size: 32px;
  margin-bottom: 8px;
}

.feedback-meta-text {
  color: #6b7280;
  font-size: 14px;
}

.feedback-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.feedback-list-title {
  font-size: 32px;
}

.feedback-list-grid {
  display: grid;
  gap: 16px;
}

.feedback-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.feedback-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.feedback-card-date {
  color: #6b7280;
  font-size: 14px;
}

.feedback-card-description {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 14px;
}

.feedback-response-card {
  background: #f0f9ff;
  border-left: 3px solid #0ea5e9;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 6px;
}

.feedback-response-label {
  font-size: 12px;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 4px;
}

.feedback-response-text {
  color: #0c4a6e;
  font-size: 14px;
}

.feedback-admin-response-card {
  background: #f0f9ff;
  border-left: 4px solid #0ea5e9;
}

.feedback-admin-response-title {
  font-size: 20px;
  margin-bottom: 16px;
  color: #0369a1;
}

.feedback-admin-response-date {
  font-size: 12px;
  color: #0369a1;
}

.feedback-pending-card {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
}

.feedback-pending-text {
  color: #92400e;
  font-size: 14px;
}

.feedback-page-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.feedback-page-label {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 4px;
}

.mb-sm {
  margin-bottom: 8px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #374151;
}

.form-control,
.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
}
.form-control:focus,
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #8d57d7;
  box-shadow: 0 0 0 3px rgba(141, 87, 215, 0.1);
}

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

.form-file {
  width: 100%;
}

.form-error {
  color: #dc2626;
  font-size: 14px;
  margin-top: 4px;
}

.flash {
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 8px;
}

.flash-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.flash-info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge-primary {
  background: #ede9fe;
  color: #8d57d7;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-info {
  background: #dbeafe;
  color: #1e40af;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

.header .container {
  padding: 0 20px;
}

.header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #282449;
  font-weight: 700;
}
.logo img {
  height: 32px;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav a {
  color: #6b7280;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
}
.nav a:hover {
  background: #f3f4f6;
  color: #282449;
}
.nav a.btn-primary {
  background: #8d57d7;
  color: #fff;
}
.nav a.btn-primary:hover {
  background: #7c4ed6;
}
.nav a.nav-link-admin {
  color: #8d57d7;
  font-weight: 600;
}

.footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  margin-top: 60px;
  padding: 40px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 8px;
}
.footer-section a {
  color: #6b7280;
  text-decoration: none;
}
.footer-section a:hover {
  color: #8d57d7;
}
.footer-section p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}
.footer-section p.footer-section-margin {
  margin-top: 8px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
.footer-bottom p {
  color: #9ca3af;
  font-size: 14px;
  margin: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}
.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 250px;
}
.cookie-banner-text p {
  margin: 0;
  color: #374151;
  font-size: 14px;
}
.cookie-banner-text a {
  color: #8d57d7;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner-actions .btn {
  padding: 10px 20px;
  font-size: 14px;
}

.maintenance-banner {
  padding: 12px 20px;
  margin: 0;
  border-bottom: 2px solid;
  text-align: center;
  position: relative;
  z-index: 999;
}
.maintenance-banner.info {
  background: #dbeafe;
  color: #1e40af;
  border-color: #3b82f6;
}
.maintenance-banner.warning {
  background: #fef3c7;
  color: #92400e;
  border-color: #f59e0b;
}
.maintenance-banner.error {
  background: #fee2e2;
  color: #991b1b;
  border-color: #ef4444;
}
.maintenance-banner p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.maintenance-banner-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.7;
}
.maintenance-banner-close:hover {
  opacity: 1;
}

.maintenance-banner.hidden {
  display: none;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 12px;
  }
  .nav {
    flex-wrap: wrap;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-actions .btn {
    flex: 1;
  }
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}
.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: #8d57d7;
  color: #fff;
}
.btn-primary:hover {
  background: #7c4ed6;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #282449;
  border: 1px solid #e5e7eb;
}
.btn-secondary:hover {
  background: #f9fafb;
}

.btn-danger {
  background: #ef4444;
  color: #fff;
}
.btn-danger:hover {
  background: #dc2626;
  color: #fff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.form-group {
  margin-bottom: 16px;
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
}

.password-input-wrapper {
  position: relative;
}

.password-input {
  padding-right: 45px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  font-size: 18px;
  padding: 4px 8px;
}
.password-toggle-btn:hover {
  color: #111827;
}

.btn-full-width {
  width: 100%;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.form-check-input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.form-check-input:focus {
  outline: 2px solid #8d57d7;
  outline-offset: 2px;
}

.form-check-label {
  font-size: 14px;
  color: #111827;
  cursor: pointer;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}
.form-check-label a {
  color: #8d57d7;
  text-decoration: underline;
}
.form-check-label a:hover {
  color: #7c4ed6;
}

.form-footer-text {
  text-align: center;
  margin-top: 16px;
  color: #6b7280;
}
.form-footer-text a {
  color: #8d57d7;
  text-decoration: none;
}
.form-footer-text a:hover {
  text-decoration: underline;
}

.cgu-acceptance-info {
  margin-bottom: 24px;
}

.cgu-acceptance-text {
  font-size: 16px;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.6;
}

.cgu-acceptance-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.cgu-acceptance-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.cgu-acceptance-link-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}
.cgu-acceptance-link-text a {
  color: #8d57d7;
  text-decoration: underline;
}
.cgu-acceptance-link-text a:hover {
  color: #7c4ed6;
}

.cgu-acceptance-form {
  margin-top: 24px;
}

.cgu-acceptance-actions {
  margin-top: 16px;
}

.cgu-reminder-banner {
  background: #fff3cd;
  border-bottom: 2px solid #ffc107;
  padding: 16px 24px;
  text-align: center;
  position: relative;
}
.cgu-reminder-banner p {
  margin: 0;
  color: #856404;
  font-size: 14px;
}
.cgu-reminder-banner p a {
  color: #8d57d7;
  text-decoration: underline;
  font-weight: 600;
}
.cgu-reminder-banner p a:hover {
  color: #7c4ed6;
}

.page-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-container-sm {
  max-width: 400px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #6b7280;
}

.text-primary {
  color: #111827;
}

.mb-lg {
  margin-bottom: 24px;
}

.mb-md {
  margin-bottom: 16px;
}

.mb-sm {
  margin-bottom: 8px;
}

.mt-md {
  margin-top: 16px;
}

.mt-sm {
  margin-top: 8px;
}

.mt-lg {
  margin-top: 24px;
}

.form-help {
  color: #6b7280;
  font-size: 14px;
}

.hero-section {
  text-align: center;
  padding: 80px 24px;
}

.hero-title {
  font-size: 42px;
  margin-bottom: 16px;
  color: #282449;
}

.hero-text {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.table-col-fixed {
  width: 200px;
}

.media-item-form {
  flex: 1;
}

.story-empty-text {
  padding: 32px;
}

.stats-card {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.stats-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.stats-value {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.stats-label {
  color: #6b7280;
}

.content-block {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #111827;
}

.content-block-muted {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #4b5563;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
}

.content-block-info {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #0c4a6e;
  padding: 16px;
  background: #f0f9ff;
  border-radius: 8px;
  margin-bottom: 16px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.section-subtitle {
  color: #6b7280;
}

.grid-auto-fill {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.badge-inline {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.badge-inline-type {
  background: #e5e7eb;
  color: #374151;
}

.badge-inline-status-new {
  background: #dbeafe;
  color: #1e40af;
}

.badge-inline-status-in_progress {
  background: #fef3c7;
  color: #92400e;
}

.badge-inline-status-resolved {
  background: #d1fae5;
  color: #065f46;
}

.badge-inline-status-closed {
  background: #f3f4f6;
  color: #374151;
}

.badge-inline-priority-critical {
  background: #fee2e2;
  color: #991b1b;
}

.badge-inline-priority-high {
  background: #fed7aa;
  color: #9a3412;
}

.badge-inline-priority-medium {
  background: #fef3c7;
  color: #92400e;
}

.badge-inline-priority-low {
  background: #e5e7eb;
  color: #374151;
}

.flex-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section-label {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-weight: 600;
}

.section-text {
  color: #4b5563;
}

.section-text-small {
  font-size: 12px;
  color: #6b7280;
}

.link-muted {
  color: #6b7280;
  text-decoration: none;
}
.link-muted:hover {
  text-decoration: underline;
}

.link-primary {
  color: #8d57d7;
  text-decoration: none;
}
.link-primary:hover {
  text-decoration: underline;
}

.link-break {
  word-break: break-all;
}

.media-grid-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.media-placeholder {
  height: 200px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex-direction: column;
  gap: 8px;
}
.media-placeholder-icon {
  font-size: 32px;
}
.media-placeholder-text {
  font-size: 12px;
  text-align: center;
  padding: 0 8px;
}

.media-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.story-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.story-title-large {
  font-size: 32px;
  margin-bottom: 8px;
}

.story-meta {
  color: #6b7280;
  font-size: 14px;
}

.story-content {
  white-space: pre-wrap;
  line-height: 1.8;
  color: #111827;
}

.story-media-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.story-media-title {
  font-size: 20px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.media-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.media-item-content {
  padding: 12px;
}

.media-item-name {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-item-actions {
  display: flex;
  gap: 8px;
}

.media-item-btn {
  flex: 1;
  padding: 6px 12px;
  font-size: 14px;
}

.stories-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.stories-list-title {
  font-size: 32px;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.story-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.story-card-meta {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 8px;
}

.story-card-content {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 14px;
}

.story-card-files {
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 16px;
}

.story-card-actions {
  display: flex;
  gap: 8px;
}
.story-card-actions .btn {
  flex: 1;
}

.story-empty {
  text-align: center;
  padding: 60px 24px;
}

.story-empty-text {
  color: #6b7280;
  font-size: 18px;
  margin-bottom: 24px;
}

.form-inline {
  display: inline;
}

.actions-flex {
  display: flex;
  gap: 8px;
}

.dashboard-welcome {
  font-size: 32px;
  margin-bottom: 24px;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.dashboard-stat-card {
  text-align: center;
}

.dashboard-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #8d57d7;
  margin-bottom: 8px;
}

.dashboard-stat-label {
  color: #6b7280;
}

.dashboard-section-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.dashboard-section-empty {
  text-align: center;
  padding: 32px;
}

.dashboard-section-empty-text {
  color: #6b7280;
  margin-bottom: 16px;
}

.mb-xl {
  margin-bottom: 32px;
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.feedback-title-large {
  font-size: 32px;
  margin-bottom: 8px;
}

.feedback-meta-text {
  color: #6b7280;
  font-size: 14px;
}

.feedback-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.feedback-list-title {
  font-size: 32px;
}

.feedback-list-grid {
  display: grid;
  gap: 16px;
}

.feedback-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.feedback-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.feedback-card-date {
  color: #6b7280;
  font-size: 14px;
}

.feedback-card-description {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 14px;
}

.feedback-response-card {
  background: #f0f9ff;
  border-left: 3px solid #0ea5e9;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 6px;
}

.feedback-response-label {
  font-size: 12px;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 4px;
}

.feedback-response-text {
  color: #0c4a6e;
  font-size: 14px;
}

.feedback-admin-response-card {
  background: #f0f9ff;
  border-left: 4px solid #0ea5e9;
}

.feedback-admin-response-title {
  font-size: 20px;
  margin-bottom: 16px;
  color: #0369a1;
}

.feedback-admin-response-date {
  font-size: 12px;
  color: #0369a1;
}

.feedback-pending-card {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
}

.feedback-pending-text {
  color: #92400e;
  font-size: 14px;
}

.feedback-page-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.feedback-page-label {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 4px;
}

.mb-sm {
  margin-bottom: 8px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #374151;
}

.form-control,
.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
}
.form-control:focus,
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #8d57d7;
  box-shadow: 0 0 0 3px rgba(141, 87, 215, 0.1);
}

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

.form-file {
  width: 100%;
}

.form-error {
  color: #dc2626;
  font-size: 14px;
  margin-top: 4px;
}

.flash {
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 8px;
}

.flash-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.flash-info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge-primary {
  background: #ede9fe;
  color: #8d57d7;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-info {
  background: #dbeafe;
  color: #1e40af;
}

.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.admin-container {
  display: flex;
  min-height: 100vh;
}

.admin-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1001;
  background: #8d57d7;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.admin-menu-toggle:hover {
  background: #7c4ed6;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.admin-menu-toggle:focus {
  outline: 2px solid #8d57d7;
  outline-offset: 2px;
}
.admin-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.admin-menu-toggle span:nth-child(1) {
  top: 16px;
}
.admin-menu-toggle span:nth-child(2) {
  top: 23px;
}
.admin-menu-toggle span:nth-child(3) {
  top: 30px;
}
.admin-menu-toggle.active span:nth-child(1) {
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}
.admin-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}
.admin-menu-toggle.active span:nth-child(3) {
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}
.admin-sidebar-overlay.active {
  display: block;
  opacity: 1;
}

.admin-sidebar {
  width: 250px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  padding: 24px 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}
.admin-sidebar .logo {
  padding: 0 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #282449;
  font-weight: 700;
}
.admin-sidebar .logo img {
  height: 32px;
}

.admin-nav {
  padding: 0 16px;
}
.admin-nav a {
  display: block;
  padding: 12px 16px;
  color: #6b7280;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 4px;
  transition: all 0.2s;
}
.admin-nav a:hover {
  background: #f3f4f6;
  color: #282449;
}
.admin-nav a.active {
  background: #ede9fe;
  color: #8d57d7;
  font-weight: 600;
}

.admin-content {
  flex: 1;
  margin-left: 250px;
  padding: 32px;
}

.admin-header {
  margin-bottom: 32px;
}
.admin-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.admin-header p {
  color: #6b7280;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.metric-card {
  background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.metric-card .metric-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.metric-card .metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.metric-card .metric-label {
  color: #6b7280;
  font-size: 14px;
}
.metric-card.primary {
  border-left: 4px solid #8d57d7;
}
.metric-card.success {
  border-left: 4px solid #10b981;
}
.metric-card.info {
  border-left: 4px solid #3b82f6;
}

.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}
.table tr:hover {
  background: #f9fafb;
}

.users-cards-mobile {
  display: none;
}

.user-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}
.user-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}
.user-card-name {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}
.user-card-email {
  font-size: 14px;
  color: #6b7280;
}
.user-card-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.user-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.user-card-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.user-card-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.user-card-label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.user-card-value {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}
.user-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.user-card-empty {
  text-align: center;
  padding: 32px;
  color: #6b7280;
}

.feedback-cards-mobile {
  display: none;
}

.feedback-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}
.feedback-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 8px;
}
.feedback-card-id {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}
.feedback-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.feedback-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feedback-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.4;
}
.feedback-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feedback-card-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.feedback-card-label {
  font-size: 14px;
  color: #6b7280;
}
.feedback-card-value {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}
.feedback-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feedback-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.feedback-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.feedback-stat-card-info {
  border-left: 4px solid #3b82f6;
}
.feedback-stat-card-warning {
  border-left: 4px solid #f59e0b;
}
.feedback-stat-card-success {
  border-left: 4px solid #10b981;
}
.feedback-stat-card-muted {
  border-left: 4px solid #6b7280;
}

.feedback-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.feedback-stat-card-info .feedback-stat-value {
  color: #3b82f6;
}

.feedback-stat-card-warning .feedback-stat-value {
  color: #f59e0b;
}

.feedback-stat-card-success .feedback-stat-value {
  color: #10b981;
}

.feedback-stat-card-muted .feedback-stat-value {
  color: #6b7280;
}

.feedback-stat-label {
  color: #6b7280;
  font-size: 14px;
}

.feedback-badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.feedback-badge-type {
  background: #e5e7eb;
  color: #374151;
}
.feedback-badge-empty {
  color: #9ca3af;
}
.feedback-badge-status-new {
  background: #dbeafe;
  color: #1e40af;
}
.feedback-badge-status-in_progress {
  background: #fef3c7;
  color: #92400e;
}
.feedback-badge-status-resolved {
  background: #d1fae5;
  color: #065f46;
}
.feedback-badge-status-closed {
  background: #f3f4f6;
  color: #374151;
}
.feedback-badge-priority-critical {
  background: #fee2e2;
  color: #991b1b;
}
.feedback-badge-priority-high {
  background: #fed7aa;
  color: #9a3412;
}
.feedback-badge-priority-medium {
  background: #fef3c7;
  color: #92400e;
}
.feedback-badge-priority-low {
  background: #e5e7eb;
  color: #374151;
}

.admin-form-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.admin-form-group-flex {
  flex: 1;
  min-width: 200px;
}
.admin-form-group-fixed {
  min-width: 150px;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.admin-empty-message {
  text-align: center;
  padding: 32px;
  color: #6b7280;
}

.admin-empty-table-cell {
  text-align: center;
  padding: 32px;
  color: #6b7280;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.pagination a,
.pagination span {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-decoration: none;
  color: #374151;
}
.pagination a:hover {
  background: #f3f4f6;
}
.pagination .active {
  background: #8d57d7;
  color: #fff;
  border-color: #8d57d7;
}

.admin-pagination-info {
  padding: 8px 16px;
  color: #6b7280;
}

.admin-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.admin-chart-title {
  margin: 0;
}

.admin-chart-select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
}

.admin-nav-link-back {
  margin-top: 24px;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.maintenance-alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.maintenance-alert strong {
  display: block;
  margin-bottom: 4px;
}
.maintenance-alert p {
  margin: 4px 0 0 0;
}
.maintenance-alert-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
}
.maintenance-alert-error p {
  color: #991b1b;
}
.maintenance-alert-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
}
.maintenance-alert-success p {
  color: #065f46;
}
.maintenance-alert-info {
  background: #dbeafe;
  border: 1px solid #93c5fd;
}
.maintenance-alert-info p {
  color: #1e40af;
}
.maintenance-alert-muted {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
}
.maintenance-alert-muted p {
  color: #6b7280;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-form-help {
  color: #6b7280;
  font-size: 14px;
}

.admin-card-muted {
  background: #f9fafb;
}

.admin-card-text-muted {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

.admin-logs-container {
  background: #1f2937;
  color: #f9fafb;
  padding: 16px;
  border-radius: 8px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  max-height: 600px;
  overflow-y: auto;
}

.admin-logs-empty {
  color: #6b7280;
  text-align: center;
  padding: 32px;
}

.admin-log-entry {
  margin-bottom: 8px;
  padding: 8px;
  border-left: 3px solid;
  background: rgba(255, 255, 255, 0.05);
}
.admin-log-entry-error {
  border-left-color: #ef4444;
}
.admin-log-entry-warning {
  border-left-color: #f59e0b;
}
.admin-log-entry-info {
  border-left-color: #3b82f6;
}

.admin-log-level {
  font-weight: 600;
  margin-right: 8px;
}
.admin-log-level-error {
  color: #fca5a5;
}
.admin-log-level-warning {
  color: #fcd34d;
}
.admin-log-level-info {
  color: #93c5fd;
}

.admin-feedback-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.admin-feedback-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.admin-metadata-pre {
  font-size: 12px;
  color: #6b7280;
  background: #f9fafb;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
}

.chart-container {
  position: relative;
  height: 300px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .admin-menu-toggle {
    display: flex;
  }
  .admin-sidebar {
    width: 280px;
    transform: translateX(-100%);
  }
  .admin-sidebar.active {
    transform: translateX(0);
  }
  .admin-content {
    margin-left: 0;
    padding: 24px 16px;
    padding-top: 80px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .admin-header h1 {
    font-size: 20px;
  }
  .table-responsive {
    display: none;
  }
  .users-cards-mobile {
    display: block;
  }
  .feedback-cards-mobile {
    display: block;
  }
  .card form {
    flex-direction: column;
    gap: 16px;
  }
  .card form .form-group {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }
  .card form .btn {
    width: 100%;
  }
  .pagination {
    flex-wrap: wrap;
    gap: 4px;
  }
  .pagination a,
  .pagination span {
    padding: 8px 8px;
    font-size: 14px;
  }
  .feedback-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .feedback-stat-value {
    font-size: 20px;
  }
}

/*# sourceMappingURL=app.output.css.map */
