/* styles.css */

.overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .title-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }
  
  .overlay-title {
    font-size: 24px;
  }
  
  .button-container {
    display: flex;
    gap: 10px;
  }
  
  .caption {
    margin-right: 10px;
  }
  
  .overlay-button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
  }
  
  .aspect-button {
    padding: 10px 20px;
    background: #ccc;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
  }
  
  .aspect-button.active {
    background: #007bff;
  }
  
  .overlay-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .snapshot-img {
    max-height: 75%;
  }
  
  .overlay-footer {
    margin-top: 20px;
    position: absolute;
    bottom: 20px;
    right: 20px;
  }
  