body {
    font-family: 'Roboto', sans-serif;
    background: #eee;
    padding: 5px;
    }

@font-face {
    font-family: 'Roboto';
    src: url('Roboto-Regular.ttf');
    }

header {
	display: flex;
	flex-direction: row;
    width: 100%;
    height: 50px;
    left: 0;
    border-bottom: 1px solid #DDA0DD;
    background: white;
    position: fixed;
    z-index: 1000;
    top: 0;
}

.col-header {
	display: flex;
	flex-direction: row;
	flex: 1;
}

.back-btn {
	flex: 1;
    justify-content: left;
	margin-left: 5px;
	align-items: center;
	margin-top: 12px;
}

#chevron-left {
width: 10px;
height: 10px;
margin-top: 5px;
border-style: solid;
border-width: 5px 5px 0 0;
transform: translateX(5px) rotate(225deg);
border-color: #DDA0DD;
cursor: pointer;
}

.title {
	flex: 6;
    justify-content: left;
	align-items: center;
}

h1 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

h2 {
    font-size: 19px;
    font-weight: 600;
    color: #222;
}

h3 {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    margin-top: 0;
    text-align: left;
}

.status {
	flex: 1;
    margin-top: 10px;
    margin-right: 10px;
    justify-content: right;
	align-items: center;
}

#sukses {
    font-size: 13px
    color: green;
    float: right;
}

#error {
    font-size: 13px;
    color: red;
    float: right;
}

.col-profil {
	width: 10%;
	height: 25px;
	margin-top: 7px;
	margin-right: 15px;
    float: right;
}

#img-profil {
	width: 25px;
    height: 25px;
	padding: 5px;
	border-radius: 50%;
	background: #eee;
}

.menu-profil {
	background: #eee;
	border: 1px solid #DDA0DD;
	border-radius: 7px;
	margin-top: 44px;
	right: 10px;
	position: fixed;
	visibility: hidden;
	opacity: 0;
}

.menu-profil a {
	text-decoration: none;
	color: #000;
	text-align: left;
	margin: 10px 25px;
	display: block;
}

.show {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.5s ease-in-out;
}

.area-editor {
    width: 100%;
    margin-top: 50px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: white;
    overflow: hidden;
    }

.column-editor {
    width: 92%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    }

.col-subjudul {
    width: 100%;
    padding: 7px 0;
    margin: 10px 0;
    border: 1px solid #ccc;
    background: #fff;
    overflow: hidden;
    }

.editor-container {
    width: 100%;
    margin: auto;
    margin-bottom: 10px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    }

.toolbar {
    background: #eee;
    padding: 10px 10px 5px 10px;
    border-bottom: 1px solid #ccc;
    }

.toolbar button {
    background: white;
    border: 1px solid #ccc;
    padding: 5px 10px;
    margin-bottom: 5px;
    font-size: 14px;
    cursor: pointer;
    }

.toolbar button:hover {
    background: #ddd;
    }

#editor {
    height: 250px;
    padding: 7px;
    outline: none;
    font-size: 16px;
    overflow-y: scroll;
    }

#editor p:first-child {
    margin: 0 0 1em 0;
    }

p {
    margin: 0 0 1em 0;
}

div[contenteditable]:empty::before {
    content: attr(placeholder);
    color: #888;
    font-style: italic;
    pointer-events: none;
    display: block;
}

input[type="text"] {
    width: 100%;
    outline: none;
    border: 0;
    padding-left: 5px;
    background: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    text-size-adjust: 100%;
    color: #222;
    }

.editor-buku {
    width: 100%;
    margin: 0;
    }

.cover-box {
    width: 100%;
    margin: auto;
    padding-bottom: 20px;
    }

.cover-buku-box {
    width: 90%;
    margin: auto;
    min-height: 300px;
    margin-top: 20px;
    text-align: center;
}

.row {
    padding-top: 20px;
}

.row1 {
    padding-top: 160px;
}

#img-cover {
    width: 200px;
    height: 300px;
    background: white;
    border: 0;
}

label {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    color: #222;
}

.ket {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    margin-top: 10px;
}

#btn {
    background: white;
    border: 1px solid #ccc;
    padding: 7px;
    font-size: 14px;
    cursor: pointer;
}

.btn-upload {
    width: 100px;
    margin: auto;
    margin-top: 20px;
    padding: 7px 10px;
    background: #DB7093;
    border-radius: 5px;
    border: 1px solid #DB7093;
    font-size: 14px;
    color: white;
    cursor: pointer;
}

.col-judul, .col-genre, .textarea {
    width: 99%;
    padding: 7px 2px 7px 0;
    margin: 5px 0 20px 0;
    border: 1px solid #ccc;
    background: #fff;
    overflow: hidden;
    }

.col-tag {
    width: 99%;
    padding: 7px 0;
    margin: 5px 0 0 0;
    border: 1px solid #ccc;
    background: #fff;
    overflow: hidden;
}

select, option {
    font-size: 16px;
    border: 0;
    outline: none;
    background: #fff;
}

textarea {
    width: 99%;
    height: 100px;
    padding: 0 5px;
	font-family: 'Roboto', sans-serif;
    font-size: 16px;
    border: 0;
    outline: none;
    background: #fff;
}

textarea::placeholder {
    font-size: 16px;
    color: #888;
    opacity: 1;
}

.col-detail {
    text-align: right;
    margin-right: 5px;
    margin-top: -15px;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: normal;
    font-style: italic;
    color: #555;
}

.tag-box {
    width: 99%;
    padding: 7px 0;
    margin: 0 0 20px 0;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    cursor: text;
    overflow: hidden;
}

.taggg {
background-color: #ddd;
color: #000;
padding: 5px 7px;
border: 1px solid #ccc;
border-radius: 15px;
display: flex;
align-items: center;
font-size: 15px;
text-transform: lowercase; 
}

.taggg .remove-btn {
margin-left: 5px;
cursor: pointer;
font-weight: bold;
}

.sembunyi {
    display: none;
}

.remove-btn {
    padding: 0 3px;
    color: #9370DB;
    border-radius: 20px;
    background: white;
}

.footer {
    padding: 10px;
    background: #eee;
    font-size: 15px;
    font-style: italic;
    color: #555;
    text-align: left;
    }

.col-button {
    width: 100%;
    margin: auto;
    text-align: center;
    overflow: hidden;
}

.col-button-medium {
    width: 100%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: center;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
}

.btn-save {
    width: 100px;
    margin-top: 10px;
    padding: 7px 0;
    font-size: 16px;
    color: #fff;
    text-align: center;
    background: #DB7093;
    border: 1px solid #DB7093;
    border-radius: 5px;
    cursor: pointer;
    }

.no-data {
    text-align: center;
    color: #222;
}

.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 600px;
border: 1px solid #ccc;
background: #fff;
z-index: 1000;
justify-content: center;
align-items: center;
}

.modal-content {
width: 90%;
padding: 15px;
height: 520px;
margin: auto;
position: relative;
background: white;
text-align: left;
font-size: 16px;
overflow-y: scroll;
}

.close-btn {
position: absolute;
top: 0;
right: 0;
font-size: 30px;
cursor: pointer;
color: #333;
border: none;
background: none;
}

.modal-overlay.active {
display: flex;
}

.container-dash {
    width: 100%;
    margin: auto;
}

.column-search {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.container-buku {
    padding: 10px;
    display: flex;
    flex-direction: column;
	flex: 1;
    gap: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px 5px #eee;
        -moz-box-shadow: 0 0 5px 5px #eee;
        -webkit-box-shadow: 0 0 5px 5px #eee;
        -os-box-shadow: 0 0 5px 5px #eee;
}

.column-buku {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.column-img {
    min-height: 120px;
}

#img-search {
    width: 80px;
    height: 120px;
}

#img-prod {
	width: 90px;
	height: 135px; 
}

.col-sinopsis {
    height: 120px;
    text-align: left;
    font-size: 15px;
    overflow-y: scroll;
}

.menu-edit {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    background: white; 
}

.edit-1 {
	width: 65px;
	height: 30px;
    padding: 5px 0;
    text-align: center;
	border: 1px solid #ddd;
}

.edit-2 {
	width: 70px;
	height: 17px;
	padding: 13px 10px 10px 10px;
	font-size: 12px;
	text-align: center;
	border: 1px solid #ddd;
}

#img-edit {
    width: 15px;
    height: 15px;
}

.column-edit-cover {
    width: 200px;
    height: 200px;
    margin: auto; 
}

#btn-upld {
    width: 100px;
    margin: auto;
    font-size: 14px;
    color: #007bff;
}

.column-daftar-buku {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: left;
	align-items: center;
}

.col-buku {
	width: 90px;
	height: 135px;
	box-sizing: border-box;
	border: 1px solid #ccc;
}

.column-daftar-bab {
	width: 100%;
}

.col-bab {
	height: 60px;
	margin-bottom: 5px;
	display: flex;
	flex-direction: row;
	gap: 5px;
	justify-content: center;
	align-items: center;
	border: 1px solid #ccc;
}

.col-bab-left {
	padding: 10px 0;
	display: flex;
	flex-direction: row;
	gap: 7px;
	flex: 5;
	text-align: left;
	justify-content: center;
	align-items: center;
}

#col-bab-left-1 {
	flex: 1;
	background: plum;
	text-align: center;
	padding: 20px 5px 0 5px;
	height: 40px;
}

#col-bab-left-2 {
	flex: 6;
	font-size: 16px;
}

.col-bab-right {
	flex: 1;
	text-align: right;
	padding: 22px 0 0 0;
	height: 38px;
}

@media only screen and (min-width: 768px) {
.column-search { width: 100%; display: block; }
.container-buku { width: 45%; float: left; margin: 5px; }
}

@media only screen and (min-width: 1024px) {
.back-btn { width: 3%; margin-left: 10px; }
.status { margin-right: 20px; }
.col-profil { width: 5%; }
.container-buku { width: 30%; margin: 7px; }
.column-buku { flex: 1; height: 195px; }
.column-img { flex: 1; min-height: 135px; }
#img-search { width: 90px; height: 135px; }
#img-prod { width: 150px; height: 225px; }
.col-sinopsis { flex: 3; height: 135px; }
.edit-1 { flex: 1; }
.edit-2 { width: 65px; }
.editor-buku { width: 60%; margin: auto; }  
.cover-box { width: 40%; margin: auto; }
input[type="text"], select, option, textarea, #editor { font-size: 16px; }
.col-detail { font-size: 14px; }
.column-daftar-buku { gap: 20px; }
.column-daftar-bab { padding: 10px 0; }
.col-buku { flex: 0 0 calc(33.3%-10px); width: 150px; height: 225px; }
.col-bab { width: 60%; margin: 0 10px 10px 0; }
}