body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
}
.my_container {
  max-width: 900px;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
}
.top-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.top-buttons-left {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.buttons-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}
.buttons-bottom.hidden {
  display: none;
}
.content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.photo-container {
  flex: 1;
}
.photo-container img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.text-block {
  flex: 2;
}
#editControls {
  display: none;
  margin-top: 10px;
  gap: 10px;
}


.btncolor {
  background-color: #007bff;
  color: white;
  padding: 5px 13px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}
.btncolor:hover {
  background-color: #0056b3;
}
@media (max-width: 600px) {
  .content {
	flex-direction: column;
  }
  .top-buttons {
	flex-direction: row;
	align-items: stretch;
  }
  .top-buttons-left {
	flex-direction: row;
  }
	#photoSpoiler {
	transition: all 0.3s ease;
	}
	#photoSpoiler summary {
	display: block;
	}
	#qrNoBgLabel {
      display: none;
    }
}
 @media (min-width: 769px) {
    #photoSpoiler summary {
      display: none;
    }
  }
  
#passwordModal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
}
#passwordModal .my-modal-content {
  background-color: white;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
}
.note-editor.note-frame {
  border: 1px solid #ddd;
  margin-bottom: 10px;
}
.note-editable {
  background-color: white;
  min-height: 200px;
}
.note-toolbar {
  background-color: #f5f5f5;
}
#reportBtn {
background-color: #DC98A0;
font-size: 10px;
padding: 6px 6px;
}
#editBtn {
background-color: #666666;	
}
#clearPhotoBtn, #cancelBtn {
background-color: #e06666;	
}
	.loading::after {
  content: '⏳';
  margin-left: 0.5em;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}