/**
 * Device Lock - Mobile Only, Portrait Only
 * Blocks access on desktop and landscape orientation
 */

.device-lock-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #81CCCF;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 40px 20px;
}

.device-lock-overlay.active {
  display: flex;
}

.device-lock-content {
  text-align: center;
  max-width: 400px;
}

.device-lock-icon {
  font-size: 80px;
  margin-bottom: 24px;
  animation: gentleShake 0.5s ease-in-out;
}

.device-lock-title {
  font-size: 28px;
  font-weight: 600;
  color: #000;
  margin-bottom: 16px;
}

.device-lock-message {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  margin-bottom: 32px;
}

.device-lock-logo {
  width: 120px;
  height: auto;
  opacity: 0.3;
}

@keyframes gentleShake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

/* Landscape orientation lock */
@media (orientation: landscape) and (max-height: 600px) {
  body:not(.device-lock-disabled) {
    overflow: hidden;
  }
  
  .device-lock-overlay.landscape-lock {
    display: flex !important;
  }
}
