
.editor-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.editor-panel, .preview-panel {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.panel-title {
    color: #4682B4;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #4682B4;
    font-size: 1.5rem;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    background: #f0f8ff;
    border-radius: 8px;
    margin-bottom: 15px;
}

.toolbar button {
    background: white;
    border: 1px solid #4682B4;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    color: #4682B4;
    transition: all 0.3s;
}

.toolbar button:hover {
    background: #4682B4;
    color: white;
}

.toolbar select {
    padding: 8px;
    border: 1px solid #4682B4;
    border-radius: 4px;
    background: white;
    color: #4682B4;
}

.editor {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-height: 300px;
    overflow-y: auto;
    background: #fafcff;
}

.preview {
    flex: 1;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-height: 300px;
    overflow-y: auto;
    background: #fafcff;
}

/* SteelBlue Styling for Blog Content */
.steelblue-content {
    color: #2F4F4F;
    line-height: 1.6;
}

.steelblue-content h1,
.steelblue-content h2,
.steelblue-content h3,
.steelblue-content h4 {
    color: #4682B4;
    margin: 1.2em 0 0.6em 0;
    border-bottom: 1px solid #87CEEB;
    padding-bottom: 0.3em;
}

.steelblue-content h1 {
    font-size: 2.2em;
}

.steelblue-content h2 {
    font-size: 1.8em;
}

.steelblue-content h3 {
    font-size: 1.5em;
}

.steelblue-content p {
    margin-bottom: 1.2em;
    font-size: 1.05em;
}

.steelblue-content blockquote {
    border-left: 4px solid #4682B4;
    padding-left: 20px;
    margin-left: 0;
    color: #5F9EA0;
    font-style: italic;
    background: #f0f8ff;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin: 1.5em 0;
}

.steelblue-content a {
    color: #4169E1;
    text-decoration: none;
    border-bottom: 1px dotted #4169E1;
}

.steelblue-content a:hover {
    color: #1E90FF;
    border-bottom: 1px solid #1E90FF;
}

.steelblue-content ul, 
.steelblue-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.steelblue-content li {
    margin-bottom: 0.5em;
}

.steelblue-content code {
    background: #e6f2ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #2E8B57;
}

.steelblue-content pre {
    background: #e6f2ff;
    padding: 15px;
    border-radius: 8px;
    overflow: auto;
    margin: 1.2em 0;
}

.steelblue-content pre code {
    background: none;
    padding: 0;
    color: #2F4F4F;
}

.steelblue-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.steelblue-content th, 
.steelblue-content td {
    border: 1px solid #87CEEB;
    padding: 10px 15px;
    text-align: left;
}

.steelblue-content th {
    background-color: #4682B4;
    color: white;
}

.steelblue-content tr:nth-child(even) {
    background-color: #f0f8ff;
}

.steelblue-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1em 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.inputDiv {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
}


.actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.actions button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

#saveBtn {
    background: #4682B4;
    color: white;
}

#saveBtn:hover {
    background: #36648B;
}

#clearBtn {
    background: #f0f8ff;
    color: #4682B4;
    border: 1px solid #4682B4;
}

#clearBtn:hover {
    background: #e0f0ff;
}

@media (max-width: 768px) {
    .editor-container {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2rem;
    }
}

.steelBlueBtn {
    background: #4682B4;
    color: white;
    margin-bottom: 1.2em;
    margin-top: 1.2em;
}

.steelBlueBtn:hover {
    background: #36648B;
}



/* Select box styling */
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: all 0.3s ease;
}

select:focus {
    outline: none;
    border-color: #4a86e8;
    box-shadow: 0 0 0 3px rgba(74, 134, 232, 0.2);
}

/* Style for the options */
option {
    padding: 12px 15px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    background-color: white;
    color: #333;
}

/* Style for option groups */
optgroup {
    font-weight: bold;
    font-style: normal;
    color: #2c3e50;
    background-color: #f8f9fa;
    padding: 5px;
}

/* Hover effect for options */
option:hover {
    background-color: #4a86e8 !important;
    color: white;
}

/* Selected option style */
option:checked {
    background-color: #eaf1fd;
    color: #4a86e8;
    font-weight: 600;
}

/* Disabled option style */
option:disabled {
    color: #999;
    background-color: #f5f5f5;
}

/* Style for different option values */
option[value="premium"] {
    background-color: #fff4e6;
    color: #e67700;
}

option[value="basic"] {
    background-color: #e3fafc;
    color: #0b7285;
}

.optionLabel {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.inputBlog {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border 0.3s;
}

.inputBlog:focus {
    outline: none;
    border-color: #4682b4;
    box-shadow: 0 0 0 2px rgba(70, 130, 180, 0.2);
}