.options {
    display: flex;
    justify-content: center;
    /* Centers the child elements horizontally */
    margin-bottom: 30px;
    width: 100%;
    margin: 0 20px;
}

.option {
    background-color: #fff;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    /* width: 28%; */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 200px;
    align-items: center;
    margin-top: 50px;
}

.option a {
    text-decoration: none;
    color: black;
}

.option:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.create {
    margin-top: 70px;
}

#editor {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    padding: 10px;
    border: 1px solid #ccc;
    min-height: 500px;
    overflow-y: auto;
    font-size: 14px !important;
}

#editor p {
    font-family: Arial, sans-serif;
    margin: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0;
    line-height: 1.5;
    font-size: 14px !important;
}

#editor ul,
#editor ol,
#editor li {
    font-size: 14px !important;
    font-family: Arial, sans-serif;
    margin: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0;
    line-height: 1.5;
}

#editor ul,
#editor ol {
    margin-left: 20px;
    padding-left: 25px;
    list-style-position: outside;
}

#editor h1,
#editor h2,
#editor h3,
#editor h4,
#editor h5 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    margin: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.editor-container {
    width: 98%;
    margin: 20px auto;
}

.heading-h1 {
    font-size: 32px;
    font-weight: bold;
}

.heading-h2 {
    font-size: 28px;
    font-weight: bold;
}

.heading-h3 {
    font-size: 24px;
    font-weight: bold;
}

.heading-h4 {
    font-size: 20px;
    font-weight: bold;
}

.heading-h5 {
    font-size: 18px;
    font-weight: bold;
}

/* for rich text format in new documnet create page */
/* .rtf-toolbar {
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    display: flex;
    gap: 5px;
    position: relative;
}

.rtf-toolbar button,
.rtf-toolbar select {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #eee;
    cursor: pointer;
}

.rtf-toolbar button:hover,
.rtf-toolbar select:hover {
    background-color: #ddd;
} */

.rtf-toolbar {
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    display: flex;
    gap: 5px;
    position: -webkit-sticky;
    /* For Safari */
    position: sticky;
    top: 0;
    /* Make the toolbar stick at the top */
    z-index: 1000;
    /* Ensure it stays above other content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Optional: Add a subtle shadow */
}

.rtf-toolbar button,
.rtf-toolbar select {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #eee;
    cursor: pointer;
}

.rtf-toolbar button:hover,
.rtf-toolbar select:hover {
    background-color: #ddd;
}

.rtf-toolbar button:focus,
.rtf-toolbar select:focus {
    outline: none;
    /* Remove default focus outline */
    border-color: #007bff;
    /* Optional: Add custom focus border color */
}

.rtf-toolbar button:active,
.rtf-toolbar select:active {
    background-color: #ccc;
    /* Optional: Make the background darker when button is pressed */
}



.rich-test-format-editor {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 300px;
    background-color: white;
}

.rich-test-format-editor p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 14px !important;
}

.color-popover {
    display: none;
    position: absolute;
    top: 40px;
    /* Position the popover just below the highlighter button */
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    gap: 10px;
}

.color-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
}

#highlighterButton {
    background: none;
    border: none;
    cursor: pointer;
}

.fa-highlighter {
    font-size: 20px;
}

img {
    cursor: pointer;
    width: 100%;
    /* Optional: Scale images in the editor */
    max-width: 300px;
    /* Optional: Control the size of images in the editor */
    transition: transform 0.3s ease-in-out;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

/* Modal (hidden by default) */
/* Modal Style */
.image-modal {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Black with opacity */
    padding: 20px;
    /* Optional: adds padding around the modal content */
    box-sizing: border-box;
    /* Ensures the padding is included in the width/height */
}

.modal-Imagecontent {
    margin: auto;
    display: block;
    width: auto;
    max-width: 50%;
    max-height: 80vh;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #f1f1f1;
    text-decoration: none;
    cursor: pointer;
}