/* ===================== TOP BAR ===================== */
#topbar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;

  /* RECTÁNGULO BASE */
  background-color: #e8e8f0; /* gris sólido */

  /* IMAGEN ENCIMA */
  background-image: url("https://64.media.tumblr.com/956f186d1a9ed7dc807e364dd16f122e/c472c61361379feb-a9/s1280x1920/3001f411daeb4a6c8402dbcb5d84ea67fa089ecc.pnj");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;

  display: flex;
  align-items: center;
  z-index: 1000;
}

#topbar img{ height:25px; }
#clock{
  margin-left: auto;   /* 🔑 esto lo empuja a la derecha */
  padding-right: 8px;
  font-size: 13px;
  color: #000;
  font-family: monospace; /* opcional, queda muy OS */
}


.app{
  margin: 20px;
}

body {
  font-family: Arial, sans-serif;

}
/* sidebar */
.sidebar{
  float: left;
  width: 160px;
  background: #e3e3e3;
  border: 2px solid #9a9a9a;
}

.sidebar li {
  cursor: pointer; /* 👈 hace que el ratón cambie a manita */
  color: #000;     /* color normal */
  text-decoration: none; /* por defecto sin subrayado */
  padding: 2px 0;  /* opcional: un poquito de espacio vertical */
}
.sidebar li:hover {
  color: #1a0dab;        /* color azul como un link */
  text-decoration: underline; /* subrayado al pasar el ratón */
}



/* visor */
.viewer-window{
  float: left;
  margin-left: 6px;
  background: #e3e3e3;
  border: 2px solid #9a9a9a;
  padding: 4px;
}



#comic-viewer {
    background-image: url("https://64.media.tumblr.com/1f59f997f2f13d487a340b4610b041fb/c472c61361379feb-b4/s2048x3072/e649abfe06efb5d8131586b45a468a9193dc370b.pnj");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}


.viewer-header{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: linear-gradient(#eeeeee, #cccccc);
  border-bottom: 1px solid #9a9a9a;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.viewer-header img{
  height: 18px;
  image-rendering: auto;
}


.viewer-window{
  display: inline-block;
  background: #e3e3e3;
  border: 2px solid #9a9a9a;
  padding: 4px;
}


.viewer-image-area {
  background: #bdbdbd;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.viewer-image-area img {
  max-width: 100%;
  max-height: calc(100vh - 80px); /* ajusta según tu toolbar */
  width: auto;
  height: auto;
  cursor: pointer;
}

.viewer-toolbar {
  background: linear-gradient(#eeeeee, #cfcfcf);
  border-top: 1px solid #9a9a9a;
  padding: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.viewer-toolbar button {
  background: #efefef;
  border: 1px solid #8a8a8a;
  padding: 2px 8px;
  cursor: pointer;
}

.viewer-toolbar button:active {
  background: #cfcfcf;
}
.viewer-content{
  width: 100%;
}

.viewer-main{
  display: inline-block;
  text-align: center;
}



#pageIndicator {
  min-width: 60px;
  text-align: center;
}
