/* Office Add-in Styles */

/* Loading Message */
#loading-message {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#loading-message .ms-Spinner {
  margin-right: 10px;
}

/* Commands Page */
#message {
  display: none;
  padding: 20px;
  color: red;
}

/* App Container */
#app {
  display: none;
}

/* Error Messages */
.error-container {
  padding: 20px;
  color: red;
  text-align: center;
}

/* Retry Button */
.retry-button {
  padding: 8px 16px;
  background-color: #0078d4;
  color: white;
  border: none;
  cursor: pointer;
}

/* Network Diagnostics UI */
.diagnostic-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.diagnostic-panel {
  background-color: white;
  padding: 20px;
  border-radius: 4px;
  max-width: 80%;
  max-height: 80%;
  overflow: auto;
  position: relative;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border: none;
  background-color: #f0f0f0;
  cursor: pointer;
}

.diagnostic-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
  padding: 8px 16px;
  background-color: #0078d4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Tables */
.diagnostic-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.diagnostic-table th,
.diagnostic-table td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #ddd;
}
