.hidden {
  display: none;
}

/* common button styles */
.btn {
  padding: 8px 12px;
  margin: 4px;
  border: none;
  border-radius: 4px;
  font-size: 0.95em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* “dark” variant (your current look) */
.btn-dark {
  background-color: #666;  /* 444  */
  color: #fff;
}
.btn-dark:hover {
  background-color: #222;
}

/* “light” variant */
.btn-light {
  background-color: #eee;
  color: #333;
}
.btn-light:hover {
  background-color: #ddd;
}
.hidden {
  display: none;
}

img {
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

h3 {
  font-size: 1.2em;
  color: #333;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: #fafafa;
}
#defaultCanvas0 {
  display: block;
  margin: auto;
}
  
/* ---- Grid de miniaturas ---------------- */
#gallery {
  display: none;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, 200px);
  gap: 16px;
  justify-content: center;
}
.gallery-item {
  width: 200px;
  text-align: center;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.gallery-item .buttons {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}
.gallery-item button {
  flex: 1;
  margin: 0 2px;
  padding: 4px 0;
  font-size: 0.9em;
  cursor: pointer;
}

/* ---- Cabecera ---------------------------  */
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
 /* border-bottom: 2px solid #ccc;  */
}

.title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.logged-user {
  text-align: right;
  font-size: 12px;
  color: #666;
}










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

#app {
  width: 700px;
  margin: 0 auto;
}

#user-info {
  text-align: center;
}
#user-info img {
  border-radius: 50%;
  display: block;
  width: 100px;
  margin: 0 auto;
}
#user-info span {
  display: block;
  padding: 10px 0;
  font-weight: bolder;
  font-size: 28px;
}

input[type="text"] {
  box-sizing: border-box;
  padding: 10px 5px;
  width: 100%;
  border-radius: 5px;
}

#todos-container li {
  list-style: none;
  padding: 15px 0;
  font-size: 20px;
  border-bottom: 1px solid #eee;
}
#todos-container li:hover {
  background-color: #eee;
}

