/* Basic Styles */
:root {
  --background: white;
  --surfacePrimary: gray;
  --surfaceSecondary: lightgray;
  --textPrimary: white;
  --textSecondary: gray;
}

body {
  font-family: "Roboto", sans-serif;
  padding-top: 4em;
  background-color: #f5f5f5;
  color: #333333;
  overflow:auto;
  overflow:initial;
}
body::-webkit-scrollbar {
  z-index: 1000;
}

/* Hiding scrollbar for IE, Edge and Firefox */
body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
body.rtl {
  direction: rtl;
}

* {
  box-sizing: border-box;
  outline: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

audio, video {
  width: 100%;
}

.hidden {
  display: none !important;
}

.break-word {
  word-break: break-all;
}

/* Container */
.container {
  width: 95%;
  max-width: 960px;
  margin: 1em auto 0;
}

/* Icons */
i.spin {
  animation: 1s spin linear infinite;
}

/* App Styles */
#app {
  transition: 0.2s ease padding;
}
over
#app.multiple {
  padding-bottom: 4em;
}


/* Main Content */
main {
  position: fixed;
  padding: 1em;
  padding-top: 4em;
  overflow: scroll;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}
main > div {
  height: calc(100% - 3em);
}

.breadcrumbs {
  overflow-x: auto;
  height: auto;
  min-height: 3em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  color: #6f6f6f;
}

.breadcrumbs span,
.breadcrumbs a {
  color: inherit;
  transition: 0.1s ease-in;
  display: flex;
  border-radius: 0.125em;
}

body.rtl .breadcrumbs a {
  transform: translateX(-16em);
}

.breadcrumbs a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.breadcrumbs span a {
  padding: 0.2em;
}

/* Files */
.files {
  position: absolute;
  bottom: 30px;
  width: 100%;
}

/* Progress Bar */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999999999;
}

.progress div {
  height: 100%;
  background-color: #40c4ff;
  width: 0;
  transition: 0.2s ease width;
}



button {
  flex: 1;
  height: 3em;
  padding: 8px 16px;
  border: none;
  background-color: #f5f5f5;
  transition: background-color 0.3s;
  /* Add borders */
  border-right: 1px solid #ccc;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#popup-notification {
  border-radius: 1em;
  color: #fff;
  position: fixed;
  max-width: 90vw;
  height: 4em;
  bottom: 0;
  right: -20em;
  display: flex;
  padding: 0.5em;
  align-items: center;
  transition: right 1s ease;
  z-index: 5;
  margin: 1em;
  height: auto;
}

#popup-notification-content {
  color: white;
  padding: 1em;
}

#popup-notification.success {
  background: var(--blue);
}
#popup-notification.error {
  background: var(--red);
}

#popup-notification > i {
  cursor: pointer;
  font-size: 1.75em;
}