#edit-doc-assistant-interface {
    width: 850px;
    margin: 0px auto;
    padding: 15px 20px 20px 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

#edit-doc-assistant-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    justify-content: center;
    margin: 20px auto;
}

#wp-edit_doc_editor-wrap {
    width: 800px;
    box-sizing: border-box;
    margin: 0 auto; /* Center it on the page */
    padding: 0; /* Add padding */
    background: #fff; /* Set background to white */
    border-radius: 5px; /* Round the corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

#edit-doc-editor-area {
    width: 800px;
    box-sizing: border-box;
    margin: 15px auto 20px auto; /* Center it on the page */
    padding: 0; /* Add padding */
    background: #fff; /* Set background to white */
    border-radius: 5px; /* Round the corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

.input-group-edit-doc {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}


button#submit-edit-doc {
    display: none;
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button#submit-edit-doc:hover {
    background: #005a87;
}

#edit_doc_editor {
    width: 100%;
    min-height: 600px;
    border: none;
    padding: 8px;
    background-color: #fff; 
}

/* Main wrapper */
#edit-doc-response-area {
    margin: 0;
    padding: 7px 15px;
    background: #f9f9f9;
    border-radius: 4px;
    text-align: left;
}

/* Loading text */
#edit-doc-loading {
    text-align: center;
    color: #666;
    padding: 10px;
    font-style: italic;
}

/* Pagination wrapper */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-button {
    background: #3A3A3A;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-button:hover {
    transform: scale(1.05);
    background: #3A3A3A; /* Keep the same background color */
}

.pagination-button svg {
    width: 19px;
    height: 19px;
}

/* Page number text */
#page-number {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 15px;
}

#edit-doc-save-area {
    margin-top: 20px;
    text-align: center;
}

#save-edit-doc {
    background: transparent;
    color: #3A3A3A;
    border: 2px solid #3A3A3A;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

#save-edit-doc:hover {
    background: #3A3A3A;
    color: #fff;
}

#edit-doc-saving {
    text-align: center;
    color: #666;
    padding: 10px;
    font-style: italic;
}

#namespace-dropdown {
    appearance: none;
    background: #3A3A3A;
    color: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    transition: width 0.3s ease;
    width: 100% !important; /* Fills its wrapper */
    box-sizing: border-box;
}

#namespace-dropdown-wrapper {
    display: inline-block;
    box-sizing: border-box;
    transition: width 0.3s ease;
}

@media (min-width: 768px) and (max-width: 1024px) {
    #edit-doc-assistant-interface {
        width: 90vw !important;
			padding: 15px 15px 20px 15px !important;
    }
	
    #edit-doc-assistant-container #wp-edit_doc_editor-wrap {
        width: 100% !important;
    }
	
    #edit-doc-editor-area {
        width: 100% !important;
			max-height: 680px !important;
    }
	
    #wp-edit_doc_editor-wrap {
			max-height: 680px !important;
    }
	
    #wp-edit_doc_editor-editor-container {
			max-height: 680px !important;
    }
	
    #wp-edit_doc_editor-editor-container #mceu_15 {
			max-height: 680px !important;
    }
	
    #edit_doc_editor_ifr {
			height: 633px !important;
    }
	
    #edit-doc-assistant-interface .input-group-edit-doc {
        margin-bottom: 20px;
			margin-top: 5px;
    }
}