/* VYRSIGN / DEPTH SYSTEM 01 */

.v2-drawer {
  background:
    radial-gradient(
      ellipse 80% 45% at 95% 5%,
      rgba(136,23,57,.19),
      transparent 75%
    ),
    radial-gradient(
      ellipse 80% 55% at 0% 100%,
      rgba(62,15,42,.16),
      transparent 75%
    ),
    #08080c !important;
  perspective: 1100px;
}

.v2-drawer::before {
  content: "";
  position: fixed;
  width: 65vw;
  height: 65vw;
  max-width: 450px;
  max-height: 450px;
  right: -25%;
  top: 12%;
  border: 1px solid rgba(224,49,89,.13);
  border-radius: 50%;
  box-shadow:
    0 0 100px rgba(165,20,58,.07),
    inset 0 0 70px rgba(165,20,58,.04);
  pointer-events: none;
  animation: vyr-orbit 18s linear infinite;
}

@keyframes vyr-orbit {
  from { transform: rotate(0deg) rotateX(55deg); }
  to { transform: rotate(360deg) rotateX(55deg); }
}

.v2-tool-list {
  perspective: 1100px;
}

.v2-tool {
  overflow: visible;
  transform-style: preserve-3d;
  background:
    linear-gradient(
      150deg,
      rgba(61,57,68,.85),
      rgba(24,23,31,.98) 42%,
      rgba(12,12,18,.99)
    ) !important;
  border: 1px solid rgba(154,145,159,.32) !important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.26),
    inset 0 -3px 7px rgba(0,0,0,.7),
    0 6px 0 #08080c,
    0 12px 0 rgba(0,0,0,.35),
    0 23px 35px rgba(0,0,0,.65),
    0 35px 65px rgba(0,0,0,.2) !important;
}

.v2-tool-special {
  background:
    linear-gradient(
      140deg,
      rgba(99,36,58,.9),
      rgba(42,21,35,.98) 48%,
      rgba(17,12,21,.99)
    ) !important;
}

.v2-tool:active {
  transform: translateY(5px) scale(.99) !important;
  box-shadow:
    inset 0 4px 12px rgba(0,0,0,.7),
    0 1px 0 #08080c,
    0 8px 15px rgba(0,0,0,.6) !important;
}

.v2-tool-detail:not([hidden]) {
  animation: vyr-enter .45s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes vyr-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Workspace */

.sign-panel,
.cert-panel {
  position: relative;
  background:
    linear-gradient(
      145deg,
      rgba(48,43,54,.93),
      rgba(16,15,23,.97) 70%
    ) !important;
  border: 1px solid rgba(170,153,173,.24) !important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.22),
    0 7px 0 #08080d,
    0 20px 45px rgba(0,0,0,.6) !important;
}

.sign-panel::before,
.cert-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,.035),
    transparent 50%
  );
  pointer-events: none;
}

.sign-file-button,
.cert-picker {
  background:
    linear-gradient(145deg,#302b37,#111117) !important;
  border: 1px solid rgba(186,171,191,.35) !important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.24),
    0 5px 0 #08080d,
    0 14px 25px rgba(0,0,0,.65) !important;
}

.sign-step {
  background:
    linear-gradient(145deg,#25222d,#0d0d13) !important;
}

.sign-step.active {
  border-color: rgba(239,95,132,.65);
  background:
    linear-gradient(145deg,#552338,#1a111d) !important;
  box-shadow:
    inset 0 1px 1px rgba(255,175,197,.18),
    0 5px 0 #140912,
    0 12px 23px rgba(0,0,0,.5);
}

@media (prefers-reduced-motion: reduce) {
  .v2-drawer::before,
  .v2-tool-detail:not([hidden]) {
    animation: none;
  }
}
