/*
 * Copyright (c) 2024 Biovisuals Private Limited
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of Biovisuals Private Limited.
 * You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with Biovisuals Private Limited.
 */

/* Fix to ensure the canvas container gets enough space */
.app {
    display: flex;
    flex-direction: column;
    height: 100vh;
  }
  
  /* Allow full page scrollability */
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  

.auth-invalid {
    display: none;
}



.fw-500 {
    font-weight: 500 !important;
}

#data-save-container.active .data-saved {
    display: none;
}

.data-save {
    display: none;
}

#data-save-container.active .data-save {
    display: block;
}

/* --------------context Menu-------------------------------- */
.context-menu {
    display: none;  /* Hidden by default */
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    width: 150px;
    border-radius: 5px;
}

.context-menu ul {
    list-style: none;
    padding: 5px;
    margin: 0;
}

.context-menu ul li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.context-menu ul li:hover {
    background-color: #eee;
}

.disabled {
    color: gray;
    pointer-events: none;
    opacity: 0.5;
}



.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: 0.75s linear infinite spinner-border;
    animation: 0.75s linear infinite spinner-border;
  }
  
  @keyframes spinner-border {
    to {
      transform: rotate(360deg); /* rtl:ignore */
    }
  }

  .d-none {
    display: none !important;
  }


  /* Loading indicator */
  .loading-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: Arial, sans-serif;
    color: #444;
  }
  
  .spinner {
    width: 40px;
    height: 40px;
    border: 5px solid #ccc;
    border-top: 5px solid #00aaff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  

  