/*
|--------------------------------------------------------------------------
| Tegronet Remote Access Plugin
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| Fernwartung Button
|--------------------------------------------------------------------------
*/

#tegronet-remote-btn {

  display: inline-block;

  margin-left: 10px;

  padding: 2px 8px;

  border: 1px solid #c8b68a;

  border-radius: 4px;

  background: #efe7cf;

  color: #005b82;

  font-size: 14px;

  line-height: 20px;

  cursor: pointer;

  text-decoration: none;

}

/*
|--------------------------------------------------------------------------
| Hover
|--------------------------------------------------------------------------
*/

#tegronet-remote-btn:hover {

  background: #e5d8b4;

}

/*
|--------------------------------------------------------------------------
| Aktiv
|--------------------------------------------------------------------------
*/

#tegronet-remote-btn.active {

  background: #d9534f;

  border-color: #b52b27;

  color: white;

}

/*
|--------------------------------------------------------------------------
| Aktiv Hover
|--------------------------------------------------------------------------
*/

#tegronet-remote-btn.active:hover {

  background: #c9302c;

}

/*
|--------------------------------------------------------------------------
| Remote Access Modal
|--------------------------------------------------------------------------
*/

#tegronet-remote-modal-overlay {

  position: fixed !important;

  top: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  height: 100vh !important;

  background: rgba(0, 0, 0, 0.5) !important;

  display: flex !important;

  align-items: center !important;
  justify-content: center !important;

  z-index: 999999 !important;

}

#tegronet-remote-modal {

  background: white !important;

  border-radius: 8px !important;

  padding: 20px !important;

  min-width: 400px !important;

  max-width: 600px !important;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.3) !important;

  font-family: sans-serif !important;

}

#tegronet-remote-modal h2 {

  margin-top: 0;

}

#tegronet-remote-modal pre {

  background: #f5f5f5;

  padding: 10px;

  border-radius: 4px;

  overflow: auto;

}

#tegronet-remote-modal-actions {

  margin-top: 20px;

  text-align: right;

}

#tegronet-remote-modal-actions button {

  margin-left: 10px;

}