* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

* {
    font-family: Calibri, Helvetica, Sans-Serif;
}

/* This is used to remove ghost letters when scrolling */
.all-white,
.all-white * {
    background-color: #555 !important;
    color: #555 !important;
}

main {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 10px 5px;
}

img {
    max-width: 90%;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content::-webkit-scrollbar { width: 0 !important }

.toolbar {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    flex-shrink: 0;
}

.button {
    border: 2px solid;
    font-size: 16pt;
    background-color: transparent;
    border-radius: 100%;
    margin: 5px 0;
    padding: 10px;
    min-width: 45px;
    min-height: 45px;
    text-align: center;
}

button:focus {
    outline: none;
}

.section-header {
    display: flex;
    align-items: center;
    border-bottom: 1px #666 solid;
    padding: 5px 15px;
}

.section-header-buttons {
    margin-left: auto;
}

#middle-space-toolbar {
    height: 100%;
}

p {
    text-align: justify;
}

h1, h2, h3, h4, h5, h6 {
    margin: 10px 5px;
}

sub {
    font-family: Calibri, Helvetica, Sans-Serif;
    margin: 0;
}

.list {
    overflow: auto;
    padding: 8px;
}

.list::-webkit-scrollbar { width: 0 !important }

.list h1,
.list h2,
.list h3,
.list h4,
.list h5,
.list h6 {
    margin: 5px;
}

.body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.body::-webkit-scrollbar { width: 0 !important }

.badge-new {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin: 10px;
}

.not-found {
  text-align: center;
  padding: 40px;
}

.unread-count {
  display: inline-block;
  font-size: 0.8em;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Add feed form styles */
.feed-form {
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 16pt;
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  padding: 12px;
  font-size: 16pt;
  border: 2px solid #666;
  border-radius: 4px;
  background-color: transparent;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.rect-btn {
  padding: 12px 30px;
  font-size: 16pt;
  border: 2px solid #666;
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
}

.dialog-ovelay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog {
    padding: 20px;
    border: 2px solid #666;
    border-radius: 5px;
}

.dialog header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog-msg {
    margin: 20px 0;
}

.controls {
    display: flex;
    justify-content: space-between;
}
