body {
      background: linear-gradient(135deg, #1a472a 0%, #0d2818 100%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .modal-content {
      background: linear-gradient(135deg, #0f3d2c 0%, #1a5c3f 100%);
      border: 3px solid #d4af37;
      border-radius: 20px;
      box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
      overflow: hidden;
      position: relative;
      color: #fff;
    }

    @media (max-width: 576px) {
      .modal-content {
        border-width: 2px;
        border-radius: 15px;
        margin: 10px;
      }
    }

    /* Flocos de neve */
    .snowflake {
      position: absolute;
      top: -10px;
      color: #fff;
      font-size: 1em;
      animation: fall linear infinite;
      z-index: 1;
      opacity: 0.8;
    }

    @keyframes fall {
      0% {
        top: -10%;
        opacity: 0.8;
      }
      100% {
        top: 110%;
        opacity: 0.3;
      }
    }

    /* Luzes de Natal piscando */
    .christmas-lights {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 15px;
      display: flex;
      justify-content: space-around;
      z-index: 2;
      background: rgba(26, 71, 42, 0.3);
    }

    .light {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      margin-top: 2px;
      animation: blink 1.5s infinite;
    }

    .light:nth-child(1) { background: #ff0000; animation-delay: 0s; }
    .light:nth-child(2) { background: #00ff00; animation-delay: 0.3s; }
    .light:nth-child(3) { background: #ffff00; animation-delay: 0.6s; }
    .light:nth-child(4) { background: #0080ff; animation-delay: 0.9s; }
    .light:nth-child(5) { background: #ff00ff; animation-delay: 1.2s; }
    .light:nth-child(6) { background: #ff0000; animation-delay: 0.2s; }
    .light:nth-child(7) { background: #00ff00; animation-delay: 0.5s; }
    .light:nth-child(8) { background: #ffff00; animation-delay: 0.8s; }

    @keyframes blink {
      0%, 50%, 100% { opacity: 1; box-shadow: 0 0 10px currentColor; }
      25%, 75% { opacity: 0.3; box-shadow: none; }
    }

    /* Estrelas cintilantes */
    .star {
      position: absolute;
      color: #d4af37;
      font-size: 1.5em;
      animation: twinkle 2s infinite;
      z-index: 1;
    }

    @keyframes twinkle {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.3; transform: scale(0.8); }
    }

    /* Elementos geométricos com tema natalino */
    .geometric-pattern {
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 0;
    }

    .geometric-line {
      position: absolute;
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
      transform: rotate(-45deg);
    }

    .line-1 {
      width: 200%;
      height: 100px;
      top: 10%;
      left: -50%;
    }

    .line-2 {
      width: 200%;
      height: 80px;
      bottom: 20%;
      right: -50%;
    }

    /* Header */
    .modal-header {
      background: linear-gradient(135deg, #1a5c3f 0%, #0f3d2c 100%);
      border-bottom: 2px solid #d4af37;
      padding: 20px;
      position: relative;
      z-index: 3;
    }

    .modal-logo {
      text-align: center;
      margin-bottom: 2px;
    }

    .modal-logo-img {
      max-width: 120px;
      height: auto;
      filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    }

    @media (max-width: 576px) {
      .modal-logo-img {
        max-width: 90px;
      }
    }

    .modal-title {
      color: #d4af37;
      font-weight: bold;
      font-size: 1em;
      text-align: center;
      margin: 0;
      text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    }

    @media (max-width: 576px) {
      .modal-title {
        font-size: 0.9em;
      }
    }

    .btn-close-white {
      filter: brightness(0) invert(1);
      opacity: 0.8;
    }

    /* Body */
    .modal-body {
      padding: 15px;
      position: relative;
      z-index: 3;
    }

    @media (max-width: 576px) {
      .modal-body {
        padding: 15px;
      }
    }

    .photo-wrapper {
      position: relative;
      width: 150px;
      height: 150px;
      margin: 0 auto 20px;
    }

    @media (max-width: 576px) {
      .photo-wrapper {
        width: 120px;
        height: 120px;
        margin: 0 auto 10px;
      }
    }

    .scan-ring {
      position: absolute;
      top: -10px;
      left: -10px;
      right: -10px;
      bottom: -10px;
      border: 3px solid #d4af37;
      border-radius: 50%;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.05); opacity: 0.7; }
    }

    .employee-photo {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid #d4af37;
      box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }

    @media (max-width: 576px) {
      .employee-photo {
        width: 120px;
        height: 120px;
        border-width: 3px;
      }
    }

    .status-badge {
      position: absolute;
      bottom: 5px;
      right: 5px;
      background: #28a745;
      color: white;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 3px solid #0f3d2c;
      box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
    }

    .employee-name {
      color: #ffffff;
      font-weight: bold;
      text-align: center;
      margin-bottom: 10px;
      font-size: 1.5em;
      text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }

    @media (max-width: 576px) {
      .employee-name {
        font-size: 1.2em;
        margin-bottom: 8px;
      }
    }

    .employee-id {
      text-align: center;
      color: #b8d4c4;
      margin-bottom: 2px;
      font-size: 0.95em;
    }

    @media (max-width: 576px) {
      .employee-id {
        font-size: 0.85em;
        margin-bottom: 2px;
      }
    }

    .digital-display {
      background: rgba(0, 0, 0, 0.3);
      border: 2px solid #d4af37;
      border-radius: 15px;
      padding: 20px;
      margin: 20px 0;
      box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.2);
    }

    @media (max-width: 576px) {
      .digital-display {
        padding: 5px;
        margin: 10px 0;
        border-radius: 10px;
        height: auto;
      }
    }

    .digital-clock {
      font-family: 'Courier New', monospace;
      font-size: 1.3em;
      color: #d4af37;
      text-align: center;
      font-weight: bold;
      text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    }

    @media (max-width: 576px) {
      .digital-clock {
        font-size: 0.9em;
      }
    }

    .clock-label {
      text-align: center;
      margin-top: 10px;
      color: #b8d4c4;
      font-size: 0.9em;
    }

    @media (max-width: 576px) {
      .clock-label {
        font-size: 0.8em;
        margin-top: 8px;
      }
    }

    /* Mensagem de Natal */
    .msgtypewriter {
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
      border: 2px solid #d4af37;
      border-radius: 10px;
      padding: 5px;
      margin-top: 5px;
      height: 25px;
      position: relative;
      overflow: hidden;
    }

    @media (max-width: 576px) {
      .msgtypewriter {
        padding: 12px;
        margin-top: 15px;
      }
    }

    .msgtypewriter::before {
      content: "🎄";
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.5em;
    }

    @media (max-width: 576px) {
      .msgtypewriter::before {
        font-size: 1.2em;
        left: 5px;
      }
    }

    .msgtypewriter::after {
      content: "🎁";
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.5em;
    }

    @media (max-width: 576px) {
      .msgtypewriter::after {
        font-size: 1.2em;
        right: 5px;
      }
    }

    .typewriter {
      color: #d4af37;
      text-align: center;
      font-weight: 500;
      padding: 0 40px;
      animation: typing 3s steps(50) infinite;
    }

    @media (max-width: 576px) {
      .typewriter {
        padding: 0 30px;
        font-size: 0.9em;
      }
    }

    /* Footer */
    .modal-footer {
      background: rgba(0, 0, 0, 0.2);
      border-top: 2px solid #d4af37;
      padding: 20px;
      position: relative;
      z-index: 3;
    }

    @media (max-width: 576px) {
      .modal-footer {
        padding: 15px;
      }
    }

    .btn-confirm {
      background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
      color: #0f3d2c;
      font-weight: bold;
      padding: 12px 40px;
      border: none;
      border-radius: 25px;
      font-size: 1em;
      box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
      transition: all 0.3s ease;
    }

    @media (max-width: 576px) {
      .btn-confirm {
        padding: 10px 30px;
        font-size: 1em;
      }
    }

    .btn-confirm:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(212, 175, 55, 0.6);
      background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
    }

    /* Código de barras */
    .barcode-container {
      background: rgba(0, 0, 0, 0.3);
      padding: 15px;
      text-align: center;
      border-top: 2px solid #d4af37;
    }

    .barcode {
      display: flex;
      justify-content: center;
      gap: 2px;
      margin-bottom: 5px;
    }

    .barcode-line {
      width: 3px;
      height: 20px;
      background: #d4af37;
    }

    .barcode-id {
      color: #d4af37;
      font-size: 0.8em;
      font-family: 'Courier New', monospace;
    }

    /* Banner de Boas Festas */
    .festive-banner {
      background: linear-gradient(90deg, #c41e3a 0%, #d4af37 50%, #c41e3a 100%);
      padding: 5px;
      text-align: center;
      margin: -30px -30px 20px -30px;
      position: relative;
      overflow: hidden;
      border-bottom: 3px solid #d4af37;
      animation: shimmer 3s infinite;
    }

    @media (max-width: 576px) {
      .festive-banner {
        padding: 2px;
        margin: -15px -15px 15px -15px;
        border-bottom-width: 2px;
      }
    }

    @keyframes shimmer {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

    .festive-banner h2 {
      color: #fff;
      font-weight: bold;
      margin: 0;
      font-size: 1.8em;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
      animation: glow 2s ease-in-out infinite;
    }

    @media (max-width: 576px) {
      .festive-banner h2 {
        font-size: 1.3em;
      }
    }

    @keyframes glow {
      0%, 100% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px #d4af37; }
      50% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px #d4af37, 0 0 30px #d4af37; }
    }

    .festive-banner p {
      color: #fff;
      margin: 5px 0 0 0;
      font-size: 1.2em;
      font-weight: 500;
    }

    @media (max-width: 576px) {
      .festive-banner p {
        font-size: 1em;
        margin: 3px 0 0 0;
      }
    }

    /* Fogos de artifício */
    .firework {
      position: absolute;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      animation: explode 2s ease-out infinite;
    }

    @keyframes explode {
      0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
      }
      100% {
        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
      }
    }