body {
    font-family: sans-serif;
    background: #fff;
    color: #000;
    transition: background 0.3s, color 0.3s;
}

body.dark {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #e5e7eb;
}

body.dark header {
    background: #1f2937;
    border-color: #374151;
    color: #f9fafb;
}

body.dark .text-gray-600 {
    --tw-text-opacity: 1;
    color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

body.dark .action-btn {
    border: 1px solid rgba(255, 255, 255, .1);
    background: transparent;
    color: #e5e7eb;
}

body.dark .action-btn:hover {
    background: rgba(255, 255, 255, .08);
}

.dark .bg-gray-200 {
    --tw-bg-opacity: 1;
    background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

.dark .hover\:bg-gray-300:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}

body.dark textarea {
    background-color: #1e293b;
    color: #f1f5f9;
    border: 1px solid #334155;
}

body.dark textarea::placeholder {
    color: #94a3b8;
}

body.dark .text-gray-700 {
    color: rgb(226 232 240 / 1);
}

body.dark #settingsModal .bg-white  {
	background-color: #1e293b;
}

body.dark #settingsModal .bg-white input, body.dark #settingsModal .bg-white select {
	color: #000;
}

textarea {
    width: 100%;
    min-height: 100px;
    margin: 1rem 0;
    padding: 0.5rem;
}

.toolbar {
    display: flex;
    justify-content: flex-end;
}
.action-btn {
  padding: .5rem .75rem;
  border-radius: .375rem;
  border: 1px solid rgba(0, 0, 0, .08);
  background: transparent;
}
.action-btn:hover {
  background: rgba(15, 23, 42, .04);
}

.toast {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #16a34a;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1000;
    font-size: 14px;
}

.toast.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}