
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 229, 160, 0.4);
}

.btn-secondary {
  background-color: var(--accent-2);
  color: var(--text-primary);
  border: 2px solid var(--accent-2);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--accent-2);
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}


.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.custom-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.custom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--border);
  transition: var(--transition);
}

.custom-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 160, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.custom-card:hover::before {
  background-color: var(--accent);
}

.custom-card .card-icon svg {
  width: 48px;
  height: 48px;
  fill: var(--accent);
  margin-bottom: 24px;
}

.custom-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.custom-card p {
  color: var(--text-secondary);
  font-size: 15px;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 44, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  padding: 40px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  max-height: 90vh;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--text-primary);
}


.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 6px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 229, 160, 0.1);
}

.form-error {
  font-size: 13px;
  color: var(--accent-2);
  margin-top: 6px;
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}

.checkbox-group input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.checkbox-group label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.checkbox-group label a {
  color: var(--accent);
}


.table-container {
  overflow-x: auto;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background-color: var(--surface-2);
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border);
}

.custom-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 15px;
}

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

.custom-table tr:hover td {
  background-color: rgba(28, 35, 68, 0.4);
  color: var(--text-primary);
}


.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
}


.cookie-modal-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookie-pref-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background-color: var(--surface-2);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.cookie-pref-info h5 {
  font-size: 16px;
  margin-bottom: 4px;
}

.cookie-pref-info p {
  font-size: 13px;
  color: var(--text-secondary);
}


.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--accent);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

input:disabled + .slider {
  opacity: 0.5;
  cursor: not-allowed;
}


.alert-modal-content {
  border-color: var(--accent-2) !important;
}

.alert-modal-header {
  color: var(--accent-2);
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.alert-modal-message {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}


.chat-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.chat-header {
  background-color: var(--surface-2);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-status {
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.chat-header h3 {
  font-size: 20px;
  text-transform: uppercase;
  margin: 0;
}

.chat-messages {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.chat-messages::-webkit-scrollbar {
  width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.chat-bubble-container {
  display: flex;
  width: 100%;
}

.chat-bubble-container.bot {
  justify-content: flex-start;
}

.chat-bubble-container.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 70%;
  padding: 16px 20px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  animation: fadeUp 0.3s ease;
}

.chat-bubble-container.bot .chat-bubble {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}

.chat-bubble-container.user .chat-bubble {
  background-color: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-right: 3px solid var(--accent);
}

.bubble-sender {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.chat-bubble-container.user .bubble-sender {
  color: var(--accent-2);
  text-align: right;
}

.bubble-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
}

.bubble-time {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 8px;
  text-align: right;
}


.chat-input-bar {
  background-color: var(--surface-2);
  padding: 20px;
  border-top: 1px solid var(--border);
}

.chat-input-form {
  display: flex;
  gap: 12px;
}

.chat-input-form input {
  flex-grow: 1;
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
}

.chat-input-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0,229,160,0.15);
}


.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 6px 0;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background-color: var(--text-secondary);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}


.srl-floating-ai-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: rgba(17, 23, 51, 0.9);
  backdrop-filter: blur(8px);
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 229, 160, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.srl-floating-ai-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 229, 160, 0.6);
  background-color: var(--surface-2);
}

.srl-floating-ai-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
  transition: all 0.3s ease;
}

.srl-floating-ai-btn:hover svg {
  transform: rotate(10deg);
}

@media (max-width: 768px) {
  .srl-floating-ai-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  
  .srl-floating-ai-btn svg {
    width: 24px;
    height: 24px;
  }
}



