.cvault.dashboard {
    backdrop-filter: blur(4px);
}

.cvault .bg-fade {
    background: rgba(255, 255, 255, 0.1);
}

.cvault hr {
    margin-top: 40px;
    margin-bottom: 40px;
    opacity: 0.5;
}

.cvault h2 {
    font-size: 40px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.cvault h3 {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.cvault h4 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.cvault h5 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.cvault p {
    margin-bottom: 20px; 
}

.cvault ul {
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    list-style: disc;
}

.cvault ul li {
    list-style: disc;
}

.cvault ol {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style: decimal;
}

.cvault li {
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
}

.cvault label {
    display: inline-block;
    margin-bottom: 20px !important;
}

.cvault .markdown-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.cvault .markdown-table th,
.cvault .markdown-table td {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 8px;
    text-align: left;
    text-shadow: none;
}

.cvault .markdown-table th {
    background-color: rgba(255, 255, 255, 0.5);
}

.cvault .w-full {
    width: 100%;
}

@media (width >= 48rem) {
    .cvault .md\:basis-2-12 {
        flex-basis: 16.666667%;
    }
    
    .cvault .md\:basis-10-12 {
        flex-basis: 83.333333%;
    }

    .cvault .md\:w-auto {
        width: auto;
    }
}

@media (width >= 64rem) {

}

@media (width >= 80rem) {

}

.cvault .bg-light {
    background-color: rgba(255, 255, 255, 0.05);
}

.cvault input {
    margin-bottom: 20px;
}

.cvault input[type="text"],
.cvault input[type="email"],
.cvault input[type="url"],
.cvault textarea {
    margin-bottom: 20px;
    width: 100%;
    border: 1px solid;
    border-radius: 4px;
    padding: 10px;
}

.cvault input[type="file"] {
    margin-bottom: 20px;
    cursor: pointer;
}

.cvault input[type=file]::file-selector-button {
    background: #aa67ec;
    color: white;
    transition: .3s all ease-in-out;
    padding: 16px 20px;
    width: auto;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cvault input[type=file]::file-selector-button:hover {
    background: #8852c0;
    color: white;
}

.cvault .button {
    margin-bottom: 20px;
}

.cvault .italic {
    font-style: italic;
}

.cvault .inline-block {
    display: inline-block;
}

.cvault .button.button-small {
    padding: 8px;
}

.cvault .button.button-large {
    margin: 0;
    padding: 50px;
    text-align: center;
    display: inline-block;
    width: 100%;
    height: 100%;
    color: white;
    background-color: #0073aa;
    transition: all 0.3s ease-in-out;
}

.cvault .button {
    padding: 20px;
    text-align: center;
    display: inline-block;
    color: white;
    background-color: #0073aa;
    transition: all 0.3s ease-in-out;
}

.cvault .button:hover {
    color: white;
    background-color: #005f86;
}

.cvault .button.inactive {
    color: darkgray !important;
    background-color: lightgray !important;
    pointer-events: none;
}

.cvault .m-auto {
    margin: auto;
}

.cvault .pulse {
    animation: pulse 1s infinite;
    transition: 0.3s all ease-in-out;
}

/* pulse opacity */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.load-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: 0.3s all ease-in-out;
    opacity: 1;
}

.load-screen.load-screen-hide {
    pointer-events: none;
    opacity: 0;
}

.cvault .mt-0 {
    margin-top: 0 !important;
}

.cvault .mb-0 {
    margin-bottom: 0 !important;
}

.cvault .grid {
    display: grid;
}

.cvault .grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.cvault .col-span-12 {
    grid-column: span 12 / span 12;
}

.cvault .col-span-6 {
    grid-column: span 6 / span 6;
}

.cvault .col-span-3 {
    grid-column: span 4 / span 4;
}

@media (width >= 48rem) {
    .cvault .md\:col-span-6 {
        grid-column: span 6 / span 6;
    }
}

@media (width >= 64rem) {
    .cvault .lg\:col-span-6 {
        grid-column: span 6 / span 6;
    }
}

@media (width >= 80rem) {
    .cvault .xl\:col-span-4 {
        grid-column: span 4 / span 4;
    }
}

.cvault .gap-2 {
    column-gap: 0.5rem;
    row-gap: 0.5rem;
}

.cvault .gap-4 {
    column-gap: 1rem;
    row-gap: 1rem;
}

.cvault .place-content-center {
    place-content: center;
}

.cvault .flex-wrap {
    flex-wrap: wrap;
}

.cvault .grow {
    flex-grow: 1;
}

.cvault .justify-end {
    justify-content: flex-end;
}

.cvault #response,
.cvault #display-content {
    height: auto;
    opacity: 1;
    border: 2px solid #aa67ec;
    border-radius: 0.5rem;
    padding: 40px 60px;
    transition: 0.3s all ease-in-out;
}

.cvault #response div:last-child p:last-child,
.cvault #display-content div:last-child p:last-child {
    margin-bottom: 0;
}

.cvault button.settings-button {
    background-color: #AA67EC !important;
    color: white;
    font-size: 16px;
    transition: .5s all ease-in-out;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
}

.cvault .show-hidden {
    height: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
    transition: 0.3s all ease-in-out;
    position: absolute;
    pointer-events: none;
}

.cvault .m-5 {
    margin: 20px;
}

.cvault .p-5 {
    padding: 20px;
}

.cvault .rounded-full {
    border-radius: 50%;
}

.cvault .rounded-xl {
    border-radius: 1rem;
}

.cvault .rounded-lg {
    border-radius: 0.5rem;
}

.cvault .relative {
    position: relative;
}

.cvault .absolute {
    position: absolute;
}

.cvault .bottom {
    bottom: 0;
}

.cvault .right {
    right: 0;
}

.cvault .basis-2-12 {
    flex-basis: 16.666667%;
}

.cvault .basis-10-12 {
    flex-basis: 83.333333%;
}

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

.cvault .prompt-generator {
    transition: 0.3s all ease-in-out;
}

.cvault .prompt-generator textarea {
    background-color: rgba(0, 0, 0, 0) !important;
    transition: 0.3s all ease-in-out;
    outline: 0 solid transparent;
}

.cvault .prompt-generator textarea:focus {
    outline: 1px solid rgb(170, 103, 236) !important;
    box-shadow: inset 2px 2px 5px 1px rgba(0, 0, 0, 0.3);
}

.cvault .initializing {
    pointer-events: none;
    position: relative;
    transition: 0.3s all ease-in-out;
}

.cvault .initializing textarea {
    background-color: rgba(0, 0, 0, 0.3);
    transition: 0.3s all ease-in-out;
}

.cvault .initializing textarea::placeholder {
    opacity: 0;
    transition: 0.3s all ease-in-out;
}

.cvault .initializing .button {
    pointer-events: none;
    opacity: 0;
    transition: 0.3s all ease-in-out;
}

.cvault .initializing::after {
    content: "Initializing...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 20px;
    animation: pulse 1s infinite;
    transition: 0.3s all ease-in-out;
}

.cvault .initializing.kl::after {
    content: "Loading Knowledge Library..."
}

.cvault .initializing.tov::after {
    content: "Loading Tone of Voice..."
}

/* xl */
@media (width <= 96rem) { 
    .cvault .button.button-large {
        font-size: 18px;
        padding: 30px;
    }
    
    .cvault #knowledge-library a.button:before {
        width: 50px;
        height: 50px;
        left: 20px;
    }
    
    .cvault #knowledge-library a.button:after {
        right: 20px;
    }
}

/* Conversation List Styles */
.cvault-conversations-list {
    max-width: 800px;
    margin: 0 auto;
}

.cvault-conversations-list h3 {
    margin-bottom: 20px;
    color: #333;
}

.conversation-list {
    list-style: none;
    padding: 0;
    margin: 0 !important;
}

.conversation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: transparent;
    border: none;
    border-radius: 5px;
    color: #fff;
    transition: all 0.3s ease;
}

.conversation-item:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.conversation-item a {
    color: #fff;
}

.conversation-link {
    flex: 1;
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversation-title {
    font-weight: 500;
}

.conversation-date {
    color: #666;
    font-size: 0.9em;
}

.delete-conversation {
    background: #cc0000;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 10px;
    transition: 0.3s all ease-in-out;
}

.delete-conversation:hover {
    background: #ff4444;
}

/* Save Conversation Button */
#save-conversation {
    margin-left: 10px;
    background: #4CAF50;
    color: white;
}

#save-conversation:hover {
    background: #45a049;
}

/* Knowledge Library Modal Styles */
.knowledge-library-modal-trigger {
    position: fixed;
    margin: 20px;
    z-index: 9998;
    display: none; /* Hidden by default, shown via JavaScript */
    bottom: 0;
    right: 0;
}

.cvault-modal-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: #aa67ec;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
    transition: all 0.3s ease;
}

.cvault-modal-trigger:hover {
    background: #8852c0;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.cvault-modal-trigger svg {
    width: 20px;
    height: 20px;
}

/* Modal Base Styles */
.cvault-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.cvault-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvault-modal-content {
    background: rgba(12, 1, 79, 0.5);
    color: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 1400px;
    max-height: 90%;
    width: 100%;
    margin: 20px;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.cvault-modal-small {
    max-width: 500px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cvault-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.cvault-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.cvault-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cvault-modal-close:hover {
    background: #8852c0;
    color: white;
}

.cvault-modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.cvault-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

/* Button Styles */
.cvault-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.cvault-btn-primary {
    background: #aa67ec;
    color: white;
}

.cvault-btn-primary:hover {
    background: #8852c0;
    color: white;
}

.cvault-btn-secondary {
    background: #f1f1f1;
    color: #333;
    border: 1px solid #ddd;
}

.cvault-btn-secondary:hover {
    background: #e5e5e5;
    color: #333;
}

.cvault-btn-danger {
    background: #c02828;
    color: white;
}

.cvault-btn-danger:hover {
    background: #dc3232;
    color: white;
}

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

.cvault-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cvault-btn svg {
    width: 14px;
    height: 14px;
}

/* Knowledge Library Specific Styles */
.knowledge-library-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-weight: 600;
    color: white;
    font-size: 14px;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    min-width: 200px;
}

.knowledge-library-bulk-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bulk-select {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bulk-select input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.bulk-buttons {
    display: flex;
    gap: 12px;
}

.posts-grid {
    display: grid;
    gap: 16px;
}

.post-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    transition: all 0.2s ease;
}

.post-item:hover {
    border-color: #8852c0;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.1);
}

.post-checkbox {
    display: flex;
    align-items: flex-start;
    padding-top: 4px;
}

.post-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.post-content {
    flex: 1;
}

.post-header {
    margin-bottom: 12px;
}

.post-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: white;
}

.post-excerpt {
    margin-bottom: 16px;
    color: white;
    line-height: 1.5;
}

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

.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.no-posts p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

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

.form-group select[multiple] {
    min-height: 100px;
}

/* Modal open state */
body.modal-open {
    overflow: hidden;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .knowledge-library-modal-trigger {
        width: 100%;
        justify-content: center;
    }
    
    .cvault-modal-content {
        max-width: 95%;
        margin: 20px;
    }
    
    .cvault-modal-body {
        padding: 20px;
    }
    
    .knowledge-library-filters {
        flex-direction: column;
        gap: 16px;
    }
    
    .filter-group select,
    .filter-group input {
        min-width: auto;
    }
    
    .knowledge-library-bulk-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .bulk-buttons {
        justify-content: center;
    }
    
    .post-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .post-actions {
        justify-content: center;
    }
}

/* Document Gap Analysis Styles */
.document-gap-analysis {
    margin-bottom: 30px;
}

.gap-analysis-description {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.gap-analysis-controls {
    margin-bottom: 25px;
}

.analysis-options {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.analysis-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.analysis-option input[type="checkbox"] {
    margin: 0;
}

/* Loading States */
.analysis-loading {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Display */
.analysis-results {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.results-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.overall-score {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.score-label {
    font-weight: 600;
    color: #555;
}

.score-value {
    background: #0073aa;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.results-content {
    padding: 20px;
}

.result-section {
    margin-bottom: 25px;
}

.result-section:last-child {
    margin-bottom: 0;
}

.result-section h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e5e5;
}

.analysis-list {
    margin: 0;
    padding-left: 20px;
}

.analysis-list li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #444;
}

.priority-list li {
    font-weight: 600;
    color: #d63638;
}

.seo-item {
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #0073aa;
}

.seo-item:last-child {
    margin-bottom: 0;
}

.priority-actions {
    margin-top: 30px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
}

.priority-actions h5 {
    color: #856404;
    margin: 0 0 15px 0;
}

/* Error States */
.analysis-error {
    text-align: center;
    padding: 40px 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.error-message {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Button Styles */
.cvault-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cvault-btn-secondary {
    background: #6c757d;
    color: white;
}

.cvault-btn-secondary:hover {
    background: #545b62;
    color: white;
}

.cvault-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .results-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .overall-score {
        margin-left: 0;
    }
    
    .analysis-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .cvault-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Markdown content styling for preview areas */
.preview-content {
    line-height: 1.6;
    color: #fff;
}

.preview-content h1,
.preview-content h2,
.preview-content h3,
.preview-content h4,
.preview-content h5,
.preview-content h6 {
    color: #fff;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.preview-content h1 {
    font-size: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

.preview-content h2 {
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.3rem;
}

.preview-content h3 {
    font-size: 1.1rem;
}

.preview-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.preview-content ul,
.preview-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.preview-content li {
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.preview-content strong,
.preview-content b {
    font-weight: 600;
    color: #fff;
}

.preview-content em,
.preview-content i {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

.preview-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.preview-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.preview-content pre code {
    background: none;
    padding: 0;
}

.preview-content blockquote {
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

.preview-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.preview-content th,
.preview-content td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    text-align: left;
}

.preview-content th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.cvault-post-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    transition: 0.3s all ease-in-out;
}

.bottom {
    bottom: 0;
}

.right {
    right: 0;
}

.m-5 {
    margin: 20px;
}

.ai-generator-content button {
    background: #aa67ec !important;
    color: #fff;
    height: 45px;
    position: absolute;
    width: 45px;
    z-index: 10;
    border: 1px solid #fff;
}

.ai-generator-content button:before {
    background-image: url(../../img/icon-arrow-diagonal.svg);
    background-position: 50%;
    background-repeat: no-repeat;
    content: "";
    height: 30px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
}

.ai-generator-content button:hover {
    background: #8852c0 !important;
    color: #fff;
    border: 1px solid #aa67ec;
}

/* TinyMCE Editor Unsaved Changes Indicator */
.manual-content-entry.has-unsaved-changes {
    position: relative;
}

.manual-content-entry.has-unsaved-changes::before {
    content: "●";
    color: #ff6b6b;
    font-size: 12px;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.manual-content-entry.has-unsaved-changes::after {
    content: "Unsaved changes";
    position: absolute;
    top: 8px;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.manual-content-entry.has-unsaved-changes:hover::after {
    opacity: 1;
}