/* Custom styles for Simple Strategic Plans */

/* Additional utility classes */
.policy-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Ensure proper spacing and typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Rich Text Editor Styles */
.rich-text-editor {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
}

.rich-text-editor .ql-container {
    font-size: 0.875rem;
    min-height: 150px;
}

.rich-text-editor .ql-editor {
    min-height: 150px;
}

.rich-text-editor .ql-editor.ql-blank::before {
    color: #9ca3af;
    font-style: normal;
}

/* Rich Text Content Display */
.rich-text-content {
    line-height: 1.75;
}

.rich-text-content p {
    margin-bottom: 1em;
}

.rich-text-content p:last-child {
    margin-bottom: 0;
}

.rich-text-content ul,
.rich-text-content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
    padding-left: 1.5em;
    list-style-position: outside;
}

.rich-text-content ul {
    list-style-type: disc;
}

.rich-text-content ol {
    list-style-type: decimal;
}

.rich-text-content li {
    margin-bottom: 0.5em;
    display: list-item;
}

.rich-text-content a {
    color: #2563eb;
    text-decoration: underline;
}

.rich-text-content a:hover {
    color: #1d4ed8;
}

.rich-text-content strong,
.rich-text-content b {
    font-weight: 600;
}

.rich-text-content em,
.rich-text-content i {
    font-style: italic;
}

.rich-text-content u {
    text-decoration: underline;
}

/* Dropdown menu improvements */
nav .group:hover .group-hover\:visible {
    visibility: visible;
}

nav .group:hover .group-hover\:opacity-100 {
    opacity: 1;
}