#database {
  overflow: hidden;
  max-width: 728px;
  width: 100%;
  color: #252525;
}
table {
  border: 0px;
  border-radius: 2px !important;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  max-width: 728px;
  width: 100%;
  margin-bottom: 80px;
  overflow: hidden;
}
table:last-of-type {
  margin-bottom: 0px;
}
th {
  border: 0px solid #e2e2e2;
  border-bottom: 0px solid #8e8e8e;
  text-align: left;
  padding: 20px;
  padding-bottom: 21px;
  background: #252525;
  color: #ffffff;
  letter-spacing: 0px;
  overflow: hidden;
}
td {
  border: 0px solid #e2e2e2;
  padding: 20px;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 360px;
}
td:first-of-type {
  font-weight: 500;
  border-right: 0px solid #ebebeb;
  background: #f8f8f8;
  width: 140px;
}
td a {
  color: #252525;
}
td a:hover {
  color: #1d4dae;
}
tr {
  background: #ffffff;
  border-bottom: 3px solid #ebebeb;
}
tr:last-of-type {
  border-bottom: 0px solid #ebebeb;
  margin-top: -3px !important;
}
tr:first-of-type {
  border-bottom: 0px solid #ebebeb;
}
td.film-title:hover {
  color: #1d4dae;
  cursor: pointer;
  background: #f2f2f2;
}
td.film-title a:hover {
  color: #1d4dae;
  cursor: pointer;
}
table input,
table textarea {
  font-family: arboria, sans-serif;
  border: 0;
  font-size: 16px;
  max-width: 400px;
  width: 100%;
  background: none;
}
table textarea {
  padding: 0;
  margin-bottom: 0px;
}
input.button,
button.button {
  background: #42a826 !important;
  color: #ffffff;
  padding: 20px !important;
  padding-top: 19px !important;
  padding-bottom: 21px !important;
  margin-bottom: 0px !important;
  margin-top: 0px;
  margin-right: 12px;
  font-size: 22px !important;
  width: 100% !important;
  display: inline-block;
  overflow: hidden;
  text-transform: none !important;
  letter-spacing: 0px !important;
  font-weight: 500 !important;
  text-align: center;
  border: 0 !important;
  -webkit-transition: background 0.2s; /* Safari */
  transition: background 0.2s;
  font-family: arboria, sans-serif;
  -webkit-transition: background 0.2s; /* Safari */
  transition: background 0.2s;
  border-radius: 2px !important;
  margin-top: 24px !important;
  cursor: pointer;
}
input.button:first-of-type {
  margin-top: 0px !important;
}
input.blue,
button.blue {
  background: #1d4dae !important;
}
input.red,
button.red {
  background: #bc1c13 !important;
  color: #ffffff !important;
}
form {
  margin: 0;
}
#status {
  color: #252525;
  text-align: center;
  margin-top: 10px;
  margin-bottom: -10px;
}
input.button:hover,
button.button:hover {
  filter: brightness(90%);
}
label {
  margin-right: 12px;
  text-align: left;
}
select {
  appearance: none;
  background-color: transparent;
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
}
#sidebar {
  top: 122px;
  margin-top: 102px !important;
  overflow: visible;
  color: #252525;
}
#sidebar img,
#sidebar video {
}
#save-mobile {
  display: none;
}
#box-header {
  margin-bottom: 48px;
}
.autoresizing {
  display: block;
  overflow: hidden;
  resize: none;
}
.clear {
  background: #bc1c13 !important;
  color: #ffffff;
  padding: 0px !important;
  padding-bottom: 2px !important;
  font-size: 14px !important;
  line-height: 0px;
  width: 20px;
  height: 20px;
  display: block;
  overflow: hidden;
  font-weight: bold !important;
  text-align: center;
  border: 0 !important;
  -webkit-transition: background 0.2s; /* Safari */
  transition: background 0.2s;
  font-family: arboria, sans-serif;
  -webkit-transition: background 0.2s; /* Safari */
  transition: background 0.2s;
  border-radius: 50px !important;
  float: right;
  margin-top: 1px;
}
.add {
  background: #42a826 !important;
  color: #ffffff;
  padding: 0px !important;
  padding-bottom: 2px !important;
  font-size: 14px !important;
  line-height: 0px;
  width: 20px;
  height: 20px;
  display: block;
  overflow: hidden;
  font-weight: bold !important;
  text-align: center;
  border: 0 !important;
  -webkit-transition: background 0.2s; /* Safari */
  transition: background 0.2s;
  font-family: arboria, sans-serif;
  -webkit-transition: background 0.2s; /* Safari */
  transition: background 0.2s;
  border-radius: 50px !important;
  float: right;
}
#omdbStatus {
  margin-top: -10px;
  margin-bottom: 10px;
}
#dim1,
#dim2,
#vdim {
  padding: 12px;
  background: #252525;
  color: #ffffff;
  margin-top: -5px;
  text-align: center;
}
#art-preview,
#spotContainer {
  border-radius: 2px !important;
  display: block;
  overflow: hidden !important;
  margin-top: 24px !important;
  background: #edb849;
}
input.search-bar {
  color: #ffffff !important;
  font-weight: bold !important;
  width: 360px;
}
input.search-bar::placeholder {
  color: #ffffff !important;
}
#hoverPreview {
  display: inline-block;
  width: 320px;
  margin-top: 24px;
  height: 474px;
  border-radius: 2px !important;
  object-fit: cover;
  background: #252525;
}

#hoverPreview:not([src]),
#hoverPreview[src=""] {
  visibility: hidden;
}
.start-date {
  background: #42a826 !important;
  color: #ffffff !important;
  padding-bottom: 6px;
  padding-top: 5px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 30px;
  display: inline;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 500;
}
.date,
.more {
  background: #ebebeb !important;
  color: #8e8e8e !important;
  padding-bottom: 6px;
  padding-top: 5px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 30px;
  display: inline;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 500;
}
.end-date {
  background: #bc1c13 !important;
  color: #ffffff !important;
  padding-bottom: 6px;
  padding-top: 5px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 30px;
  display: inline;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 500;
}
.poster,
.spotlight {
  background: #edb849 !important;
  color: #ffffff !important;
  padding-bottom: 6px;
  padding-top: 5px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 30px;
  display: inline;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 500;
}
.series {
  color: #ffffff;
  padding-bottom: 6px;
  padding-top: 5px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 30px;
  display: inline;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 500;
}

/* Editable area */
.note-editor [data-original-title] {
  pointer-events: none !important; /* disables tooltip trigger */
}
.note-editor .tooltip {
  display: none !important;
}
.note-editor .note-editable {
  font-family: arboria, sans-serif;
  font-size: 16px !important;
  line-height: 24px !important;
  color: #2b2b2b;
  background: #ffffff;
  padding: 20px !important;
}

.note-editor .note-editable a {
  color: #1d4dae !important;
}
/* Toolbar background + spacing */
.note-editor .note-toolbar {
  background: #ffffff;
  border-bottom: 3px dotted #e2e2e2 !important;
  display: flex;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}
/* Button groups */
.note-editor .note-toolbar .note-btn-group {
  margin-right: 0px;
}
/* Toolbar buttons */
.note-editor .note-toolbar .note-btn {
  background: #ffffff;
  border: none;
  color: #2b2b2b;
  border-radius: 2px;
}
.note-editor .note-toolbar .note-btn:hover {
  background: #ffffff;
}
/* Entire editor frame */
.note-editor {
  border: 0px solid #ccc !important;
  border-radius: 0px;
  overflow: hidden;
  margin-left: -24px;
  margin-top: -20px;
  margin-right: -24px;
  margin-bottom: -20px;
}
/* Whole bottom status bar */
.note-editor .note-statusbar {
  display: none !important;
}
/* The little drag “icon bars” */
.note-editor .note-statusbar .note-resizebar .note-icon-bar {
  width: 60px !important;
  height: 2px;
  background: #f2f2f2;
  border-radius: 2px;
}

/* Keep Summernote UI above tables/sidebars if needed */
.note-editor .note-popover,
.note-editor .note-modal,
.note-editor .note-dropdown-menu {
  z-index: 9999 !important;
}

/* Remove the inner focus/active glow on toolbar buttons */
.note-editor .note-toolbar .note-btn:focus,
.note-editor .note-toolbar .note-btn:active,
.note-editor .note-toolbar .note-btn.active {
  box-shadow: none !important;
  outline: none !important;
}

/* Normalize the editing surface */
.note-editor.note-frame .note-editing-area .note-editable {
  font-family:
    arboria,
    system-ui,
    -apple-system,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
/* Make new blocks/inline elements inherit size/leading */
.note-editor .note-editable p,
.note-editor .note-editable div,
.note-editor .note-editable li,
.note-editor .note-editable span {
  font-size: inherit !important;
  line-height: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Optional: avoid unexpected spacing if a <p> sneaks in */
.note-editor .note-editable p {
  margin: 0;
}

/* Force proper bold/italic inside the editor */
.note-editor .note-editable strong,
.note-editor .note-editable b {
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  display: inline !important;
}
.note-editor .note-editable em,
.note-editor .note-editable i {
  font-style: italic !important;
}

/* Ensure buttons remain clickable and show active state */
.note-editor .note-toolbar .note-btn {
  pointer-events: auto !important;
}
.note-editor .note-toolbar .note-btn.active {
  filter: none !important; /* if you had visual overrides */
  opacity: 1 !important;
}

/* Don’t block text selection in the editing surface */
.note-editor .note-editable * {
  user-select: text !important;
}

/* Avoid global resets leaking into toolbar icons */
.note-editor .note-toolbar i,
.note-editor .note-toolbar .note-icon {
  font-style: normal; /* Summernote uses icon fonts */
  font-weight: normal;
}

@media screen and (max-width: 800px) {
  #content-inner {
    padding-left: 0px;
    padding-right: 0px;
  }
  table {
    border-radius: 0px !important;
    margin-bottom: 0px;
  }
  td {
    max-width: 160px !important;
  }
  td:first-of-type {
    width: 60px;
  }
  #box-header {
    margin-bottom: 34px;
    text-align: center;
    padding-left: 24px;
    padding-right: 24px;
  }
  #box-header span {
    text-align: center;
    width: 100%;
  }
  #sidebar {
    display: none;
  }
  #save-mobile {
    display: block;
    margin-top: 0px;
    margin-bottom: -40px !important;
  }
  #save-mobile button,
  #save-mobile input {
    border-radius: 0px !important;
    margin-top: 0px !important;
  }
  .tags {
    display: block;
    float: none !important;
    width: 100% !important;
    overflow: visible;
  }
  .series,
  .poster,
  .start-date,
  .end-date,
  .date {
    margin-left: 0px !important;
    margin-right: 10px !important;
    margin-top: 8px !important;
    display: inline-block;
  }
}
