/* Editor basic styles */
.editor-content {
    min-height: 450px;
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: white;
    line-height: 1.8;
}

.editor-content:focus {
    outline: 2px solid #3b82f6;
    border-color: transparent;
}

/* Images in editor */
.editor-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Modal background */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 50;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.modal.active {
    display: flex;
}

/*記事ないの画像のクラス*/
.postimg{
    margin: 10px 0px;
}

/*間に合わせのカウンターのクラス by Kato */
.kludgeCounter{
    font-size : 8pt;
    text-align : right;

}

/* Toast message animation */
@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.toast-msg {
    animation: slideUp 0.3s ease-out;
    transition: opacity 0.5s ease;
}

/* Thumbnail crop settings */
.thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media screen and (max-width : 767px) and (orientation: portrait){
    #blognav{
	flex-direction : column;
	padding : 0 0;
    }
    /* post log viewer  */
    #log-nav{
	flex-direction : column;
    }
    
    #log-list{
	width : 100%;
    }
    #preview{
	display : none;
    }
    #view-chart{
	height : auto;
    }
}

/* updateの表示 */

.update_p {
    display : none;
}

#post-display-update{
    display : none;
}
