@charset "UTF-8";
:root {
  --theme-primary: #0ea5e9;
  --theme-secondary: #06b6d4;
  --theme-gradient-from: #0ea5e9;
  --theme-gradient-to: #06b6d4;
  --theme-primary-rgb: 14, 165, 233;
}

[data-theme=cl],
[data-company=cl] {
  --theme-primary: #0ea5e9;
  --theme-secondary: #06b6d4;
  --theme-gradient-from: #0ea5e9;
  --theme-gradient-to: #06b6d4;
  --theme-primary-rgb: 14, 165, 233;
}

[data-theme=dolsole],
[data-company=dolsole] {
  --theme-primary: #f97316;
  --theme-secondary: #fb923c;
  --theme-gradient-from: #f97316;
  --theme-gradient-to: #fb923c;
  --theme-primary-rgb: 249, 115, 22;
}

[data-theme=michael],
[data-company=michael] {
  --theme-primary: #10b981;
  --theme-secondary: #34d399;
  --theme-gradient-from: #10b981;
  --theme-gradient-to: #34d399;
  --theme-primary-rgb: 16, 185, 129;
}

[data-theme=webomega],
[data-company=webomega] {
  --theme-primary: #8b5cf6;
  --theme-secondary: #a78bfa;
  --theme-gradient-from: #8b5cf6;
  --theme-gradient-to: #a78bfa;
  --theme-primary-rgb: 139, 92, 246;
}

.theme-bg-primary {
  background-color: var(--theme-primary) !important;
}

.theme-bg-gradient {
  background: linear-gradient(135deg, var(--theme-gradient-from) 0%, var(--theme-gradient-to) 100%) !important;
}

.theme-text-primary {
  color: var(--theme-primary) !important;
}

.theme-border-primary {
  border-color: var(--theme-primary) !important;
}

.theme-shadow-primary {
  box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.3) !important;
}

.theme-hover-bg-primary:hover {
  background-color: var(--theme-primary) !important;
}

.theme-hover-text-primary:hover {
  color: var(--theme-primary) !important;
}

.btn-theme-primary {
  background: linear-gradient(135deg, var(--theme-gradient-from) 0%, var(--theme-gradient-to) 100%);
  color: white;
  border: none;
}
.btn-theme-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--theme-primary-rgb), 0.4);
}

.btn-theme-outline {
  background: white;
  color: var(--theme-primary);
  border: 2px solid var(--theme-primary);
}
.btn-theme-outline:hover {
  background: var(--theme-primary);
  color: white;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.main-content {
  flex: 1;
  padding: 0;
  width: 100%;
}
@media (max-width: 768px) {
  main.main-content {
    padding-bottom: 70px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #764ba2;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

*:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

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

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .mobile-hidden {
    display: none;
  }
}
@media (min-width: 769px) {
  .desktop-hidden {
    display: none;
  }
}
.text-center {
  text-align: center;
}

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

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

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.ml-1 {
  margin-left: 0.5rem;
}

.ml-2 {
  margin-left: 1rem;
}

.ml-3 {
  margin-left: 1.5rem;
}

.ml-4 {
  margin-left: 2rem;
}

.mr-1 {
  margin-right: 0.5rem;
}

.mr-2 {
  margin-right: 1rem;
}

.mr-3 {
  margin-right: 1.5rem;
}

.mr-4 {
  margin-right: 2rem;
}

.pt-1 {
  padding-top: 0.5rem;
}

.pt-2 {
  padding-top: 1rem;
}

.pt-3 {
  padding-top: 1.5rem;
}

.pt-4 {
  padding-top: 2rem;
}

.pb-1 {
  padding-bottom: 0.5rem;
}

.pb-2 {
  padding-bottom: 1rem;
}

.pb-3 {
  padding-bottom: 1.5rem;
}

.pb-4 {
  padding-bottom: 2rem;
}

.pl-1 {
  padding-left: 0.5rem;
}

.pl-2 {
  padding-left: 1rem;
}

.pl-3 {
  padding-left: 1.5rem;
}

.pl-4 {
  padding-left: 2rem;
}

.pr-1 {
  padding-right: 0.5rem;
}

.pr-2 {
  padding-right: 1rem;
}

.pr-3 {
  padding-right: 1.5rem;
}

.pr-4 {
  padding-right: 2rem;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
}
.button {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: all 0.15s ease-in-out;
}
.button:hover {
  opacity: 0.85;
}
.button.is-primary {
  color: #ffffff;
  background-color: #0ea5e9;
  border-color: #0ea5e9;
}
.button.is-info {
  color: #ffffff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.button.is-danger {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.button.is-success {
  color: #ffffff;
  background-color: #198754;
  border-color: #198754;
  font-weight: 600;
}
.button.is-success:hover {
  background-color: rgb(17.03125, 91.96875, 57.225);
  border-color: rgb(17.03125, 91.96875, 57.225);
}

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

.sponsor-card {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sponsor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.sponsor-card.has-image {
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  background-color: rgba(0, 0, 0, 0.6);
}
.sponsor-card.has-image .sponsor-card__header,
.sponsor-card.has-image .sponsor-card__body,
.sponsor-card.has-image .sponsor-card__footer {
  color: #ffffff;
}
.sponsor-card.has-image .sponsor-card__header h3, .sponsor-card.has-image .sponsor-card__header p, .sponsor-card.has-image .sponsor-card__header strong,
.sponsor-card.has-image .sponsor-card__body h3,
.sponsor-card.has-image .sponsor-card__body p,
.sponsor-card.has-image .sponsor-card__body strong,
.sponsor-card.has-image .sponsor-card__footer h3,
.sponsor-card.has-image .sponsor-card__footer p,
.sponsor-card.has-image .sponsor-card__footer strong {
  color: inherit;
}
.sponsor-card.has-image .button {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.sponsor-card.has-image .button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}
.sponsor-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.sponsor-card:not(.has-image) .sponsor-card__overlay {
  display: none;
}
.sponsor-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  color: #343a40;
}
.has-image .sponsor-card__content {
  color: #ffffff;
}
.sponsor-card__header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sponsor-card__header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.sponsor-card__header .partner-type {
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  color: #ffffff;
}
.sponsor-card__header .partner-type--partner {
  background-color: #6c757d;
}
.sponsor-card__header .partner-type--sponsor {
  background-color: #198754;
}
.has-image .sponsor-card__header {
  border-color: rgba(255, 255, 255, 0.2);
}
.sponsor-card__logo-area {
  background-color: #ffffff;
  padding: 1rem;
  text-align: center;
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.sponsor-card__logo-area img {
  max-width: 90%;
  max-height: 60px;
  height: auto;
  object-fit: contain;
}
.has-image .sponsor-card__logo-area img {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.9);
}
.sponsor-card__body {
  padding: 1.25rem;
  flex-grow: 1;
}
.sponsor-card__body p {
  margin: 0 0 0.75rem;
  color: #6c757d;
}
.sponsor-card__body p strong {
  color: #343a40;
}
.sponsor-card__footer {
  padding: 1rem 1.25rem;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.has-image .sponsor-card__footer {
  background-color: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}
.has-image .sponsor-card__footer .button {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
}
.has-image .sponsor-card__footer .button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.page-header--form {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.sponsor-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-errors {
  margin-bottom: 2rem;
}

.error-box {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid #ef4444;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.error-box i {
  color: #dc2626;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.error-box .error-content {
  flex: 1;
}
.error-box .error-content strong {
  display: block;
  color: #991b1b;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.error-box .error-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #dc2626;
}

.form-section {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .form-section {
    padding: 1.5rem;
  }
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}
.form-section-header i {
  color: #667eea;
  font-size: 1.5rem;
}
.form-section-header h2 {
  margin: 0;
  font-size: 1.375rem;
  color: #1e293b;
  flex: 1;
}
.form-section-header .required-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group.form-group--full {
  grid-column: 1/-1;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #ef4444;
  background: #fef2f2;
}
.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-label {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.form-label .required {
  color: #ef4444;
  font-size: 1.125rem;
}

.form-help {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.25rem;
}
.error-message i {
  font-size: 1rem;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=url],
input[type=number],
select,
textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
  background: white;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=number]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=tel]::placeholder,
input[type=url]::placeholder,
input[type=number]::placeholder,
select::placeholder,
textarea::placeholder {
  color: #94a3b8;
}
input[type=text]:disabled,
input[type=email]:disabled,
input[type=tel]:disabled,
input[type=url]:disabled,
input[type=number]:disabled,
select:disabled,
textarea:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
}
.radio-label input[type=radio] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: #667eea;
  cursor: pointer;
}
.radio-label .radio-text {
  font-size: 0.9375rem;
  color: #64748b;
  font-weight: 500;
}
.radio-label:hover {
  border-color: #667eea;
  background: #f8f9ff;
}
.radio-label input[type=radio]:checked + .radio-text {
  color: #667eea;
  font-weight: 600;
}
.radio-label:has(input[type=radio]:checked) {
  border-color: #667eea;
  background: linear-gradient(135deg, #f8f9ff 0%, #f1f5f9 100%);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 2rem 0;
}
@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  white-space: nowrap;
}
.btn.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}
.btn.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.btn.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}
.btn.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}
.btn.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn.btn-secondary {
  background: white;
  color: #64748b;
  border: 2px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.btn.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.btn.btn-secondary:active {
  transform: translateY(0);
}
.btn i {
  font-size: 1.125rem;
}
@media (max-width: 768px) {
  .btn {
    width: 100%;
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.has-error {
  animation: shake 0.4s ease-in-out;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background-color: #ffffff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  z-index: 1999;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.active {
  right: 0;
}
.mobile-menu .mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid #dee2e6;
  background-color: #0ea5e9;
  color: #ffffff;
}
.mobile-menu .mobile-menu-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}
.mobile-menu .mobile-menu-header .mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.mobile-menu .mobile-menu-header .mobile-menu-close:hover {
  transform: scale(1.1);
}
.mobile-menu .mobile-menu-header .mobile-menu-close:active {
  transform: scale(0.95);
}
.mobile-menu .mobile-nav {
  padding: 0;
}
.mobile-menu .mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu .mobile-nav li {
  border-bottom: 1px solid #f0f0f0;
}
.mobile-menu .mobile-nav li:last-child {
  border-bottom: none;
}
.mobile-menu .mobile-nav li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: #212529;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}
.mobile-menu .mobile-nav li a i {
  font-size: 1.25rem;
  color: #0ea5e9;
  width: 24px;
  text-align: center;
}
.mobile-menu .mobile-nav li a:hover {
  background-color: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}
.mobile-menu .mobile-nav li a:active {
  background-color: rgba(14, 165, 233, 0.2);
}

@media (min-width: 769px) {
  .mobile-menu-overlay,
  .mobile-menu {
    display: none !important;
  }
}
.messages {
  margin-bottom: 2rem;
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert i {
  font-size: 1.25rem;
}
.alert.alert-success {
  background-color: rgb(131.8125, 232.1875, 185.65);
  color: rgb(1.09375, 5.90625, 3.675);
  border-left: 4px solid #198754;
}
.alert.alert-success i {
  color: #198754;
}
.alert.alert-error, .alert.alert-danger {
  background-color: rgb(250.1265822785, 226.8734177215, 229.1012658228);
  color: rgb(102.2784810127, 17.7215189873, 25.8227848101);
  border-left: 4px solid #dc3545;
}
.alert.alert-error i, .alert.alert-danger i {
  color: #dc3545;
}
.alert.alert-warning {
  background-color: #fff4d3;
  color: rgb(109, 81.75, 0);
  border-left: 4px solid #ffc107;
}
.alert.alert-warning i {
  color: #ffc107;
}
.alert.alert-info {
  background-color: rgb(169.4220183486, 240.4678899083, 252.5779816514);
  color: rgb(1.7889908257, 54.2660550459, 63.2110091743);
  border-left: 4px solid #06b6d4;
}
.alert.alert-info i {
  color: #06b6d4;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal-container {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 768px) {
  .modal-container {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
    animation: slideUpMobile 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

.modal-header {
  padding: 2rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.modal-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}
.modal-header h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}
.modal-header h2 i {
  font-size: 2rem;
  animation: pulse 2s ease-in-out infinite;
}
@media (max-width: 576px) {
  .modal-header h2 {
    font-size: 1.5rem;
  }
  .modal-header h2 i {
    font-size: 1.75rem;
  }
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
.modal-close i {
  font-size: 1.25rem;
}

.modal-body {
  padding: 2rem;
  max-height: calc(90vh - 120px);
  overflow-y: auto;
}
@media (max-width: 768px) {
  .modal-body {
    padding: 1.5rem;
  }
}
.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.quick-add-intro {
  background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
  border-left: 4px solid #0ea5e9;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.quick-add-intro p {
  margin: 0;
  color: #0c4a6e;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.quick-add-intro p i {
  font-size: 1.25rem;
  color: #0ea5e9;
}

.quick-add-form .form-group {
  margin-bottom: 2rem;
}
.quick-add-form .form-group:last-of-type {
  margin-bottom: 1.5rem;
}
.quick-add-form .form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
.quick-add-form .form-label i {
  color: #0ea5e9;
  font-size: 1.125rem;
}
.quick-add-form .form-label .required {
  color: #ef4444;
  font-weight: 700;
}
.quick-add-form .form-control-lg {
  padding: 1rem 1.25rem;
  font-size: 1.125rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  width: 100%;
  transition: all 0.3s ease;
  background: #f8fafc;
}
.quick-add-form .form-control-lg:focus {
  outline: none;
  border-color: #0ea5e9;
  background: white;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}
.quick-add-form .form-control-lg::placeholder {
  color: #94a3b8;
}

.radio-group {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}
.radio-group--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 576px) {
  .radio-group--grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .radio-group {
    flex-direction: column;
  }
}

.radio-card {
  flex: 1;
  cursor: pointer;
  position: relative;
}
.radio-card input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-card input[type=radio]:checked + .radio-content {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  border-color: #0ea5e9;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}
.radio-card input[type=radio]:checked + .radio-content i {
  color: white;
  transform: scale(1.2);
}
.radio-card input[type=radio]:focus + .radio-content {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.radio-content {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.radio-content:hover {
  border-color: #0ea5e9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}
.radio-content i {
  font-size: 2rem;
  color: #0ea5e9;
  transition: all 0.3s ease;
}
.radio-content span {
  font-weight: 600;
  font-size: 1rem;
}

.form-actions--sticky {
  padding-top: 1.5rem;
  border-top: 2px solid #f1f5f9;
  margin-top: 2rem;
}
.form-actions--sticky .btn-block {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}
.form-actions--sticky .btn-block::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.form-actions--sticky .btn-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.6);
}
.form-actions--sticky .btn-block:hover::before {
  width: 400px;
  height: 400px;
}
.form-actions--sticky .btn-block:active {
  transform: translateY(0);
}
.form-actions--sticky .btn-block:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.form-actions--sticky .btn-block i,
.form-actions--sticky .btn-block span {
  position: relative;
  z-index: 1;
}
.form-actions--sticky .form-hint {
  margin-top: 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.form-actions--sticky .form-hint i {
  color: #0ea5e9;
}

.error-box {
  background: #fee2e2;
  border: 2px solid #fecaca;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #991b1b;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: shake 0.5s ease;
}
.error-box i {
  font-size: 1.25rem;
  color: #dc2626;
}
.error-box span {
  font-weight: 600;
}

.success-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeIn 0.3s ease;
}
.success-animation .success-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.success-animation .success-icon i {
  font-size: 4rem;
  color: white;
  animation: successCheck 0.8s ease 0.3s;
}
.success-animation p {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  animation: slideUp 0.5s ease 0.3s both;
}

.btn-quick-add {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}
.btn-quick-add::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.btn-quick-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
}
.btn-quick-add:hover::before {
  width: 300px;
  height: 300px;
}
.btn-quick-add i,
.btn-quick-add span {
  position: relative;
  z-index: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUpMobile {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-10px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(10px);
  }
}
@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes successCheck {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}
.app-header {
  background: linear-gradient(135deg, var(--theme-gradient-from, #0ea5e9) 0%, var(--theme-gradient-to, #06b6d4) 100%);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.app-header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
.app-header .header-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.app-header .logo {
  flex-shrink: 0;
}
.app-header .logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  transition: opacity 0.2s ease;
}
.app-header .logo a:hover {
  opacity: 0.9;
  color: #ffffff;
}
.app-header .logo a i {
  font-size: 1.5rem;
  color: #ffffff;
}
@media (max-width: 500px) {
  .app-header .logo .logo-text {
    font-size: 0.95rem;
  }
}
.app-header .company-switcher {
  margin-left: 0.5rem;
}
@media (max-width: 768px) {
  .app-header .company-switcher {
    margin-left: auto;
    margin-right: 0.5rem;
  }
}
.app-header .company-indicator,
.app-header .company-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: white;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.app-header .company-indicator:hover,
.app-header .company-switcher-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}
.app-header .company-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  line-height: 1;
}
.app-header .company-name {
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 22px;
}
@media (max-width: 768px) {
  .app-header .company-name {
    display: none;
  }
}
.app-header .company-switcher-toggle i.fa-chevron-down {
  font-size: 0.7rem;
  opacity: 0.8;
  margin-left: 0.25rem;
  transition: transform 0.2s;
}
@media (max-width: 768px) {
  .app-header .company-switcher-toggle i.fa-chevron-down {
    display: none;
  }
}
.app-header .company-switcher-dropdown {
  position: relative;
}
.app-header .company-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1001;
  overflow: hidden;
}
.app-header .company-switcher-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .app-header .company-switcher-menu {
    right: 0;
    left: auto;
  }
}
.app-header .company-switch-form {
  display: contents;
}
.app-header .company-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-family: inherit;
  font-size: 0.9rem;
}
.app-header .company-option:hover {
  background: #f8fafc;
}
.app-header .company-option.active {
  background: #f1f5f9;
}
.app-header .company-option-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}
.app-header .company-option-name {
  flex: 1;
  color: #1e293b;
  font-weight: 500;
}
.app-header .company-option i.fa-check {
  color: #22c55e;
  font-size: 0.875rem;
}
.app-header .desktop-nav {
  display: none;
  margin-left: auto;
}
@media (min-width: 769px) {
  .app-header .desktop-nav {
    display: block;
  }
}
.app-header .desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}
.app-header .desktop-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.app-header .desktop-nav .nav-link i {
  font-size: 0.9rem;
}
.app-header .desktop-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.app-header .desktop-nav .nav-link-logout {
  opacity: 0.7;
}
.app-header .desktop-nav .nav-link-logout:hover {
  opacity: 1;
}
.app-header .nav-dropdown {
  position: relative;
}
.app-header .nav-dropdown .nav-dropdown-toggle {
  cursor: pointer;
}
.app-header .nav-dropdown .nav-dropdown-toggle i.fa-chevron-down {
  font-size: 0.65rem;
  margin-left: 0.25rem;
  opacity: 0.7;
  transition: transform 0.2s;
}
.app-header .nav-dropdown.active .nav-dropdown-toggle i.fa-chevron-down {
  transform: rotate(180deg);
}
.app-header .nav-dropdown .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 180px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 1001;
  overflow: hidden;
}
.app-header .nav-dropdown .nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.app-header .nav-dropdown .nav-dropdown-menu a i {
  width: 18px;
  text-align: center;
  color: #64748b;
}
.app-header .nav-dropdown .nav-dropdown-menu a:hover {
  background: #f8fafc;
}
.app-header .nav-dropdown .nav-dropdown-menu a:hover i {
  color: var(--theme-primary, #0ea5e9);
}
.app-header .nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.app-header .mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 8px;
  font-size: 1.25rem;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s ease;
}
.app-header .mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}
@media (min-width: 769px) {
  .app-header .mobile-menu-toggle {
    display: none;
  }
}

.app-footer {
  background-color: #212529;
  color: #ffffff;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 4px solid #0ea5e9;
}
.app-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
.app-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 768px) {
  .app-footer {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

.app-footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
  z-index: 999;
  height: 70px;
}
@media (min-width: 769px) {
  .app-footer-nav {
    display: none;
  }
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.3s;
  padding: 0.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  gap: 0.25rem;
}
.nav-item i {
  font-size: 1.25rem;
  transition: all 0.3s;
}
.nav-item span {
  font-size: 0.7rem;
  transition: all 0.3s;
}
.nav-item:active {
  transform: scale(0.95);
}
.nav-item.active {
  color: #667eea;
}
.nav-item.active i {
  transform: scale(1.1);
}
.nav-item.nav-item-add {
  position: relative;
  flex: 0;
  margin: 0 0.5rem;
}
.nav-item.nav-item-add .add-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0.5rem;
  position: relative;
  bottom: 10px;
}
.nav-item.nav-item-add .add-button i {
  color: white;
  font-size: 1.75rem;
  font-weight: bold;
}
.nav-item.nav-item-add span {
  color: #667eea;
  font-weight: 600;
  font-size: 0.7rem;
  position: relative;
  bottom: 5px;
}
.nav-item.nav-item-add:hover .add-button {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}
.nav-item.nav-item-add:active .add-button {
  transform: translateY(-2px) scale(1.02);
}
.nav-item.nav-item-add .add-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0.5;
  animation: pulse 2s infinite;
}
.nav-item.nav-item-placeholder {
  flex: 0;
  width: 60px;
  margin: 0 0.5rem;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 0;
  }
}
@media (max-width: 374px) {
  .nav-item {
    font-size: 0.65rem;
  }
  .nav-item i {
    font-size: 1.125rem;
  }
  .nav-item span {
    font-size: 0.65rem;
  }
  .nav-item.nav-item-add .add-button {
    width: 50px;
    height: 50px;
  }
  .nav-item.nav-item-add .add-button i {
    font-size: 1.5rem;
  }
}
.mobile-only {
  display: flex;
}
@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

.desktop-only {
  display: none;
}
@media (min-width: 769px) {
  .desktop-only {
    display: block;
  }
}

:root {
  --front-primary: #6366f1;
  --front-primary-light: #818cf8;
  --front-accent-cyan: #06b6d4;
  --front-accent-violet: #8b5cf6;
  --front-accent-amber: #f59e0b;
  --front-text-primary: #1e293b;
  --front-text-secondary: #64748b;
  --front-text-muted: #94a3b8;
  --front-bg-white: #ffffff;
  --front-bg-light: #f8fafc;
  --front-border-light: #e2e8f0;
  --front-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --front-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --front-shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f0f9ff 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4rem 2rem;
}
@media (max-width: 640px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 1.5rem;
  }
}

.hero-content {
  text-align: center;
  max-width: 700px;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--front-bg-white);
  border: 1px solid var(--front-border-light);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--front-primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--front-shadow-sm);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--front-text-primary);
  letter-spacing: -0.02em;
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--front-primary) 0%, var(--front-accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--front-text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-modern.btn-primary {
  background: var(--front-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.btn-modern.btn-primary:hover {
  background: var(--front-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.btn-modern.btn-secondary {
  background: var(--front-bg-white);
  border: 1px solid var(--front-border-light);
  color: var(--front-text-primary);
}
.btn-modern.btn-secondary:hover {
  background: var(--front-bg-light);
  border-color: var(--front-primary);
  color: var(--front-primary);
}

.section {
  padding: 3rem 2rem;
}
@media (max-width: 640px) {
  .section {
    padding: 2rem 1rem;
  }
}

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

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--front-bg-white);
  border: 1px solid var(--front-border-light);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--front-shadow-lg);
  border-color: transparent;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.stat-icon.stat-icon-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--front-accent-cyan);
}
.stat-icon.stat-icon-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--front-accent-amber);
}
.stat-icon.stat-icon-violet {
  background: rgba(139, 92, 246, 0.1);
  color: var(--front-accent-violet);
}

.stat-content {
  flex: 1;
  min-width: 0;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--front-text-primary);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--front-text-secondary);
  font-weight: 500;
}

.stat-arrow {
  color: var(--front-text-muted);
  transition: transform 0.2s ease;
}

.stat-card:hover .stat-arrow {
  transform: translateX(4px);
  color: var(--front-primary);
}

.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--front-primary) 0%, var(--front-accent-violet) 100%);
  color: white;
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--front-text-primary);
  margin-bottom: 0.25rem;
}

.service-desc {
  font-size: 0.8rem;
  color: var(--front-text-secondary);
}

.service-badge {
  display: inline-flex;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.badge-inhouse {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.badge-outsource {
  background: rgba(251, 146, 60, 0.1);
  color: #ea580c;
}

.action-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  background: var(--front-primary);
  color: white;
  flex-shrink: 0;
}

.action-content {
  flex: 1;
}

.action-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--front-text-primary);
}

.action-desc {
  font-size: 0.8rem;
  color: var(--front-text-secondary);
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--front-text-primary);
  margin-bottom: 0.25rem;
}

.section-subtitle {
  color: var(--front-text-secondary);
  font-size: 0.9rem;
}

.fade-up {
  animation: fadeIn 0.5s ease-out both;
}

.fade-up:nth-child(1) {
  animation-delay: 0.1s;
}

.fade-up:nth-child(2) {
  animation-delay: 0.15s;
}

.fade-up:nth-child(3) {
  animation-delay: 0.2s;
}

.fade-up:nth-child(4) {
  animation-delay: 0.25s;
}

.page-header--detail {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  padding: 2rem 0;
}
.page-header--detail .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.page-header--detail .status-badge--existing {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.page-header--detail .status-badge--prospect {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.page-header--detail .status-badge i {
  font-size: 1rem;
}
.page-header--detail h1 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}
.page-header--detail h1 i {
  margin-right: 0.5rem;
}
.page-header--detail .page-description {
  opacity: 0.9;
  font-size: 1.1rem;
}
.page-header--detail .page-description i {
  margin-right: 0.5rem;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .action-buttons {
    flex-direction: column;
  }
  .action-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 992px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.detail-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.detail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.detail-card-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-card-header i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}
.detail-card-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.detail-card-header .btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}
.detail-card-header .btn-sm:hover {
  background: rgba(255, 255, 255, 0.3);
}

.detail-card-body {
  padding: 1.5rem;
}

.info-row {
  display: flex;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.info-row:last-child {
  border-bottom: none;
}
.info-row .info-label {
  flex-shrink: 0;
  width: 120px;
  font-weight: 600;
  color: #6b7280;
  font-size: 0.875rem;
}
.info-row .info-value {
  flex: 1;
  color: #111827;
  font-size: 0.9375rem;
}
.info-row .info-value a {
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.2s ease;
}
.info-row .info-value a:hover {
  color: #0284c7;
  text-decoration: underline;
}
.info-row .info-value a i {
  margin-right: 0.25rem;
}
@media (max-width: 576px) {
  .info-row {
    flex-direction: column;
    gap: 0.25rem;
  }
  .info-row .info-label {
    width: 100%;
  }
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}
.badge-success {
  background: #d1fae5;
  color: #065f46;
}
.badge-warning {
  background: #fef3c7;
  color: #92400e;
}
.badge-success-dark {
  background: #10b981;
  color: white;
}
.badge-warning-dark {
  background: #f59e0b;
  color: white;
}
.badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #0ea5e9, #06b6d4);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item:last-child .timeline-content {
  border-bottom: none;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  border: 3px solid #0ea5e9;
  z-index: 1;
}

.timeline-content {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1rem;
  border-left: 3px solid #0ea5e9;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.timeline-header .timeline-date {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
}
.timeline-header .timeline-date i {
  margin-right: 0.25rem;
}
.timeline-header .timeline-badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
}

.timeline-body p {
  margin: 0 0 0.5rem 0;
  color: #374151;
  line-height: 1.6;
}
.timeline-body .next-action,
.timeline-body .assigned-to {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.timeline-body .next-action i,
.timeline-body .assigned-to i {
  margin-top: 2px;
  flex-shrink: 0;
}
.timeline-body .next-action strong,
.timeline-body .assigned-to strong {
  color: #374151;
}

.no-data {
  text-align: center;
  padding: 2rem 1rem;
  color: #9ca3af;
  font-size: 0.9375rem;
}
.no-data i {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.notes-content {
  line-height: 1.8;
  color: #374151;
  white-space: pre-wrap;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .page-header--detail {
    padding: 1.5rem 0;
  }
  .page-header--detail h1 {
    font-size: 1.5rem;
  }
  .page-header--detail .page-description {
    font-size: 1rem;
  }
  .detail-card-header {
    padding: 0.75rem 1rem;
  }
  .detail-card-header h2 {
    font-size: 1.125rem;
  }
  .detail-card-header i {
    font-size: 1rem;
  }
  .detail-card-body {
    padding: 1rem;
  }
  .timeline {
    padding-left: 1.5rem;
  }
  .timeline-marker {
    left: -1.5rem;
  }
}
.detail-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.detail-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.1);
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-4px);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.btn--edit {
  background: white;
  color: #10b981;
  border-color: white;
}

.btn--edit:hover {
  background: #10b981;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn--delete {
  background: rgba(239, 68, 68, 0.2);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--delete:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.header-main {
  /* 既存のスタイル */
}

.company-info {
  /* 既存のスタイル */
}

.company-name {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge--success {
  background: rgba(16, 185, 129, 0.3);
}

.badge--warning {
  background: rgba(245, 158, 11, 0.3);
}

.badge--info {
  background: rgba(59, 130, 246, 0.3);
}

.badge--secondary {
  background: rgba(148, 163, 184, 0.3);
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .header-actions {
    width: 100%;
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .company-name {
    font-size: 1.75rem;
  }
}
/* ============================================
   顧客一覧ページ（list.html）のスタイル
   2025年最新デザイントレンド適用版
   ============================================ */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. ページヘッダー
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  padding: 2.5rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.page-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.page-header .header-text h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-header .header-text h1 i {
  font-size: 1.75rem;
}

.page-header .header-text .page-description {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

.page-header .header-actions .btn {
  background: white;
  color: #0ea5e9;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-header .header-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: #e0f2fe;
}

.page-header .header-actions .btn:active {
  transform: translateY(0);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. ページコンテンツエリア
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-content {
  padding: 0;
}

.page-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. タブナビゲーション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: white;
  padding: 0.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.tab-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: #64748b;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.tab-item i {
  font-size: 1.125rem;
}

.tab-item .badge {
  background: #e2e8f0;
  color: #64748b;
  padding: 0.25rem 0.625rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s;
}

.tab-item:hover {
  background: #f1f5f9;
  color: #475569;
}

.tab-item.active {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.tab-item.active .badge {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. 検索・フィルターセクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.search-filter-section {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-input-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.125rem;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s;
}

.search-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.search-input::placeholder {
  color: #94a3b8;
}

.filter-row {
  display: flex;
  gap: 1rem;
}

.filter-select {
  flex: 1;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-select:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.btn-search {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-search:active {
  transform: translateY(0);
}

.filter-stats {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.filter-stats .total-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.875rem;
}

.filter-stats .total-count i {
  color: #94a3b8;
}

.filter-stats .total-count strong {
  color: #0ea5e9;
  font-size: 1.125rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. 顧客カードグリッド
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.sponsor-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.sponsor-card__header {
  background: linear-gradient(135deg, #f8f9ff 0%, #f1f5f9 100%);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}

.sponsor-card__header .sponsor-number {
  font-family: "Courier New", monospace;
  font-weight: 700;
  color: #94a3b8;
  font-size: 0.875rem;
}

.sponsor-card__header .badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-existing {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-prospect {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.badge-business {
  background: #e2e8f0;
  color: #64748b;
}

.sponsor-card__body {
  padding: 1.25rem;
  flex: 1;
}

.sponsor-card__body .company-name {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.sponsor-card__body .company-name a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.3s;
}

.sponsor-card__body .company-name a:hover {
  color: #0ea5e9;
}

.sponsor-card__body .info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #64748b;
  font-size: 0.9375rem;
}

.sponsor-card__body .info-row i {
  color: #94a3b8;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.sponsor-card__body .info-row a {
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.3s;
}

.sponsor-card__body .info-row a:hover {
  color: #0284c7;
  text-decoration: underline;
}

.sponsor-card__body .info-row.last-negotiation {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
  color: #94a3b8;
}

.sponsor-card__footer {
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 0.75rem;
}

.btn-card-action {
  flex: 1;
  padding: 0.75rem 1rem;
  background: white;
  color: #0ea5e9;
  border: 2px solid #0ea5e9;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-card-action:hover {
  background: #0ea5e9;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-card-action.btn-edit {
  border-color: #10b981;
  color: #10b981;
}

.btn-card-action.btn-edit:hover {
  background: #10b981;
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. 空の状態（データなし）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.empty-state .empty-icon {
  font-size: 4rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin: 0 0 0.5rem;
}

.empty-state p {
  color: #64748b;
  margin: 0 0 2rem;
}

.empty-state .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.empty-state .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. モーダル（簡易登録用）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.modal-close:hover {
  background: #f1f5f9;
  color: #64748b;
}

.modal-body {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e293b;
}

.form-input {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.btn--secondary {
  background: #f1f5f9;
  color: #64748b;
}

.btn--secondary:hover {
  background: #e2e8f0;
  color: #475569;
}

.btn--primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. レスポンシブ調整
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
  .page-header {
    padding: 2rem 0;
  }
  .page-header .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-header .header-text h1 {
    font-size: 1.5rem;
  }
  .page-header .header-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .page-content .container {
    padding: 0 1rem 1rem;
  }
  .tabs-nav {
    flex-direction: column;
    gap: 0.25rem;
  }
  .search-filter-section {
    padding: 1rem;
  }
  .filter-row {
    flex-direction: column;
  }
  .btn-search {
    width: 100%;
    justify-content: center;
  }
  .sponsor-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .sponsor-card__footer {
    flex-direction: column;
    gap: 0.5rem;
  }
  .btn-card-action {
    width: 100%;
  }
}
.delete-confirm-card {
  background-color: #ffffff;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  margin: 2rem auto;
  padding: 2rem;
  max-width: 600px;
  text-align: center;
  border-top: 5px solid #dc3545;
}
.delete-confirm-card h2 {
  font-size: 1.8rem;
  color: #dc3545;
  margin-bottom: 1.5rem;
}
.delete-confirm-card p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.delete-confirm-card .warning {
  font-weight: bold;
  color: #dc3545;
}

.login-page-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, rgb(239.075, 241.35, 243.625) 100%);
}
@media (max-width: 768px) {
  .login-page-container {
    padding: 1rem;
    padding-bottom: 100px;
  }
}

.login-card {
  width: 100%;
  max-width: 450px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: fadeInUp 0.5s ease;
}
@media (max-width: 768px) {
  .login-card {
    max-width: 100%;
    border-radius: 12px;
  }
}
.login-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0 1rem;
  background: linear-gradient(135deg, #0ea5e9 0%, rgb(9.6639676113, 113.8967611336, 160.8360323887) 100%);
}
.login-card__icon i {
  font-size: 4rem;
  color: #ffffff;
  animation: pulse 2s ease-in-out infinite;
}
@media (max-width: 768px) {
  .login-card__icon i {
    font-size: 3rem;
  }
}
.login-card__header {
  background: linear-gradient(135deg, #0ea5e9 0%, rgb(9.6639676113, 113.8967611336, 160.8360323887) 100%);
  color: #ffffff;
  padding: 1.5rem 2rem 2rem;
  text-align: center;
}
.login-card__header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
@media (max-width: 768px) {
  .login-card__header h2 {
    font-size: 1.6rem;
  }
}
.login-card__header p {
  margin: 0;
  opacity: 0.95;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .login-card__header p {
    font-size: 0.9rem;
  }
}
.login-card__body {
  padding: 2.5rem;
}
@media (max-width: 768px) {
  .login-card__body {
    padding: 2rem 1.5rem;
  }
}
.login-card__footer {
  padding: 1.5rem 2rem;
  background-color: #f8f9fa;
  border-top: 1px solid rgb(233.125, 236.25, 239.375);
  text-align: center;
}
.login-card__footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.login-card__footer p i {
  color: #0ea5e9;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}
.login-form .form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.login-form .form-group label i {
  color: #0ea5e9;
  font-size: 1rem;
}
.login-form .form-group .input-wrapper {
  position: relative;
}
.login-form .form-group .input-wrapper input {
  width: 100%;
  padding: 0.9rem 1.2rem 0.9rem 3rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  font-family: inherit;
}
.login-form .form-group .input-wrapper input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}
.login-form .form-group .input-wrapper input::placeholder {
  color: rgb(161.1158798283, 167.8755364807, 173.8841201717);
}
.login-form .form-group .input-wrapper .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 1rem;
  pointer-events: none;
}
.login-form .form-group .input-wrapper.password-wrapper input {
  padding-right: 3.5rem;
}
.login-form .form-group .input-wrapper .password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.login-form .form-group .input-wrapper .password-toggle:hover {
  color: #0ea5e9;
}
.login-form .form-group .input-wrapper .password-toggle:focus {
  outline: none;
}
.login-form .form-group .field-error {
  display: block;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  padding-left: 0.5rem;
}

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease;
}
.alert i {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.alert-danger {
  color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
  background-color: rgb(248.6202531646, 218.1797468354, 221.0962025316);
  border: 1px solid rgb(238.8291139241, 161.6708860759, 169.0632911392);
}
.alert-info {
  color: rgb(11.1093117409, 130.9311740891, 184.8906882591);
  background-color: rgb(189.7222672065, 232.0267206478, 251.0777327935);
  border: 1px solid rgb(127.1801619433, 210.016194332, 247.3198380567);
}
.alert-success {
  color: rgb(17.03125, 91.96875, 57.225);
  background-color: rgb(153.328125, 236.171875, 197.7625);
  border: 1px solid rgb(88.78125, 224.21875, 161.425);
}

.login-button {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
  background: linear-gradient(135deg, #0ea5e9 0%, rgb(11.1093117409, 130.9311740891, 184.8906882591) 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}
.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}
.login-button:active {
  transform: translateY(0);
}
.login-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}
.login-button i {
  font-size: 1.2rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.shinewater-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-card .stat-icon {
  font-size: 3rem;
  flex-shrink: 0;
}
.stat-card .stat-content {
  flex: 1;
}
.stat-card .stat-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}
.stat-card .stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #0ea5e9;
}
.stat-card .stat-value--warning {
  color: #f59e0b;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  flex-wrap: wrap;
}
.filter-bar .filter-label {
  font-weight: bold;
  color: #64748b;
}
.filter-bar .filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-bar .filter-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.filter-bar .filter-btn:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
}
.filter-bar .filter-btn.active {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: white;
}

.data-table .row-warning {
  background-color: #fef3c7 !important;
}
.data-table .maintenance-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.data-table .maintenance-date--urgent {
  color: #dc2626;
  font-weight: bold;
}
.data-table .col-company {
  width: 20%;
}
.data-table .col-location {
  width: 15%;
}
.data-table .col-date {
  width: 12%;
}
.data-table .col-price {
  width: 15%;
}
.data-table .col-status {
  width: 10%;
}
.data-table .col-actions {
  width: 8%;
}

.price {
  font-weight: bold;
  color: #0ea5e9;
}

.price-note {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-left: 0.25rem;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-bar .filter-buttons {
    flex-direction: column;
  }
  .filter-bar .filter-btn {
    width: 100%;
  }
}
.insurance-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.insurance-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.insurance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.insurance-card__header {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  padding: 1.5rem;
  text-align: center;
}
.insurance-card__icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.insurance-card__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}
.insurance-card__body {
  padding: 1.5rem;
}
.insurance-card__price {
  text-align: center;
  padding: 1rem 0;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 1.5rem;
}
.insurance-card__price .price-label {
  display: block;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}
.insurance-card__price .price-amount {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #0ea5e9;
}
.insurance-card__price .price-note {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
.insurance-card__coverage {
  margin-bottom: 1.5rem;
}
.insurance-card__coverage .coverage-title {
  font-size: 1rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
.insurance-card__coverage .coverage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.insurance-card__coverage .coverage-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.insurance-card__coverage .coverage-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}
.insurance-card__contact {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 8px;
}
.insurance-card__contact .contact-title {
  font-size: 0.875rem;
  font-weight: bold;
  color: #64748b;
  margin-bottom: 0.5rem;
}
.insurance-card__contact .contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: white;
  border: 2px solid #0ea5e9;
  border-radius: 8px;
  color: #0ea5e9;
  font-weight: bold;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.2s;
}
.insurance-card__contact .contact-phone:hover {
  background: #0ea5e9;
  color: white;
}
.insurance-card__contact .contact-hours {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.insurance-card__footer {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  text-align: center;
}

.insurance-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: bold;
}
.insurance-badge--active {
  background: #dcfce7;
  color: #16a34a;
}
.insurance-badge--info {
  background: #dbeafe;
  color: #2563eb;
}

.insurance-notice {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
}
.insurance-notice .notice-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #92400e;
  margin-bottom: 1rem;
}
.insurance-notice .notice-list {
  margin: 0;
  padding-left: 1.5rem;
}
.insurance-notice .notice-list li {
  color: #78350f;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .insurance-grid {
    grid-template-columns: 1fr;
  }
}
.tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0 1rem;
  border-bottom: 2px solid #e2e8f0;
  overflow-x: auto;
}
@media (max-width: 768px) {
  .tabs {
    gap: 0.25rem;
  }
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #64748b;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}
.tab-btn:hover {
  color: #0ea5e9;
  background: #f0f9ff;
}
.tab-btn.active {
  color: #0ea5e9;
  border-bottom-color: #0ea5e9;
  background: #f0f9ff;
}
.tab-btn .tab-icon {
  font-size: 1.25rem;
}
.tab-btn .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.5rem;
  background: #0ea5e9;
  color: white;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
}

.tab-content {
  display: none;
  padding: 2rem 0;
}
.tab-content.active {
  display: block;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .activity-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
}

.activity-timeline {
  position: relative;
  padding-left: 3rem;
}
@media (max-width: 768px) {
  .activity-timeline {
    padding-left: 2rem;
  }
}
.activity-timeline:before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #0ea5e9, #e2e8f0);
}
@media (max-width: 768px) {
  .activity-timeline:before {
    left: 0.5rem;
  }
}

.activity-item {
  position: relative;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .activity-item {
    gap: 1rem;
  }
}
.activity-item:last-child {
  margin-bottom: 0;
}

.activity-icon {
  position: absolute;
  left: -3rem;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: white;
  border: 3px solid #0ea5e9;
  border-radius: 50%;
  font-size: 1.25rem;
  z-index: 1;
}
@media (max-width: 768px) {
  .activity-icon {
    left: -2rem;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
}

.activity-content {
  flex: 1;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}
.activity-content:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #0ea5e9;
}
@media (max-width: 768px) {
  .activity-content {
    padding: 1rem;
  }
}

.activity-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.activity-sponsor .sponsor-link {
  font-weight: bold;
  font-size: 1.125rem;
  color: #0f172a;
  text-decoration: none;
}
.activity-sponsor .sponsor-link:hover {
  color: #0ea5e9;
}

.activity-type {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  background: #f0f9ff;
  color: #0ea5e9;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.activity-date {
  color: #64748b;
  font-size: 0.875rem;
  white-space: nowrap;
}

.activity-location {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.activity-text {
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.activity-text p {
  margin: 0.5rem 0;
}
.activity-text p:first-child {
  margin-top: 0;
}
.activity-text p:last-child {
  margin-bottom: 0;
}

.activity-participants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.participant-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 6px;
  font-size: 0.875rem;
}

.activity-outcome {
  padding: 0.75rem;
  background: #f0fdf4;
  border-left: 3px solid #10b981;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.activity-outcome strong {
  color: #059669;
}
.activity-outcome p {
  margin: 0.25rem 0 0 0;
  color: #065f46;
}

.activity-next-action {
  padding: 0.75rem;
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.activity-next-action strong {
  color: #d97706;
}
.activity-next-action p {
  margin: 0.25rem 0 0 0;
  color: #92400e;
}

.activity-cost {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background: #fef3c7;
  color: #d97706;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.activity-tags .tag {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
}

.activity-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
  margin-top: 0.75rem;
}

.activity-creator {
  color: #94a3b8;
  font-size: 0.875rem;
}

.activity-actions {
  display: flex;
  gap: 0.5rem;
}
.activity-actions .btn-icon {
  padding: 0.25rem 0.5rem;
  font-size: 1.125rem;
  cursor: pointer;
  transition: transform 0.2s;
}
.activity-actions .btn-icon:hover {
  transform: scale(1.2);
}

.activity-more {
  text-align: center;
  margin-top: 2rem;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  border-radius: 16px 16px 0 0;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: transform 0.2s;
}
.modal-close:hover {
  transform: scale(1.2);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.radio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.radio-card {
  position: relative;
  cursor: pointer;
}
.radio-card input[type=radio] {
  position: absolute;
  opacity: 0;
}
.radio-card input[type=radio]:checked + .radio-card-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
  transform: scale(1.05);
}

.radio-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s;
}
.radio-card-content:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}
.radio-card-content .radio-icon {
  font-size: 2rem;
}
.radio-card-content .radio-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.filter-section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.filter-form {
  width: 100%;
}

.filter-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-item {
  flex: 0 0 auto;
}
.filter-item--search {
  flex: 1 1 300px;
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  background: white;
  cursor: pointer;
}
.filter-select:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.activity-list-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #334155;
  font-weight: 600;
  font-size: 0.875rem;
}
.form-label.required:after {
  content: " *";
  color: #ef4444;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

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

.stxt-viewer {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.stxt-viewer .stxt-metadata {
  background: #f5f5f5;
  border-left: 4px solid #2196F3;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 4px;
}
.stxt-viewer .stxt-metadata .stxt-meta-item {
  margin: 4px 0;
  font-size: 14px;
}
.stxt-viewer .stxt-metadata .stxt-meta-item strong {
  color: #1976D2;
}
.stxt-viewer .stxt-line {
  display: flex;
  margin: 8px 0;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.stxt-viewer .stxt-line:hover {
  background: #f9f9f9;
}
.stxt-viewer .stxt-line .stxt-number {
  color: #757575;
  font-weight: 500;
  margin-right: 12px;
  min-width: 40px;
  flex-shrink: 0;
}
.stxt-viewer .stxt-line .stxt-content {
  flex: 1;
}
.stxt-viewer .stxt-level-0 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
}
.stxt-viewer .stxt-level-1 {
  padding-left: 24px;
  font-size: 16px;
  font-weight: 500;
}
.stxt-viewer .stxt-level-2 {
  padding-left: 48px;
  font-size: 15px;
}
.stxt-viewer .stxt-level-3 {
  padding-left: 72px;
  font-size: 14px;
}
.stxt-viewer .stxt-level-4 {
  padding-left: 96px;
  font-size: 14px;
  color: #616161;
}
.stxt-viewer .mnemonic {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.2em;
}
.stxt-viewer .stxt-critical {
  color: #d32f2f;
  background: #ffebee;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.stxt-viewer .stxt-hidden {
  background: #333;
  color: #333;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}
.stxt-viewer .stxt-hidden:hover {
  background: #555;
}
.stxt-viewer .stxt-hidden.revealed {
  background: transparent;
  color: inherit;
}
.stxt-viewer .stxt-empty-line {
  height: 12px;
}

.stxt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.stxt-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
}
.stxt-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.stxt-card .stxt-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.stxt-card .stxt-card-header .stxt-category {
  background: #E3F2FD;
  color: #1976D2;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.stxt-card .stxt-card-header .stxt-version {
  color: #757575;
  font-size: 12px;
}
.stxt-card h3 {
  margin: 12px 0;
  font-size: 18px;
}
.stxt-card h3 a {
  color: #212121;
  text-decoration: none;
}
.stxt-card h3 a:hover {
  color: #1976D2;
}
.stxt-card .stxt-summary {
  color: #616161;
  font-size: 14px;
  margin: 12px 0;
  line-height: 1.6;
}
.stxt-card .stxt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
  font-size: 13px;
  color: #757575;
}
.stxt-card .stxt-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}
.stxt-card .stxt-actions a {
  color: #1976D2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.stxt-card .stxt-actions a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Mobile Menu Category Sections (人、物、知、金)
   ========================================================================== */
.mobile-nav-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-top: 1px solid #e2e8f0;
  border-bottom: none;
}

.mobile-nav-section i {
  font-size: 0.875rem;
  color: #0ea5e9;
  width: 20px;
  text-align: center;
}

/* First category section shouldn't have top margin */
.mobile-nav li:first-child + .mobile-nav-section,
.mobile-nav li.mobile-nav-section:nth-of-type(1) {
  margin-top: 0;
}

/*# sourceMappingURL=styles.css.map */
