* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    #popup {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    #popup-content {
      background: white;
      padding: 30px;
      border-radius: 16px;
      width: 100%;
      max-width: 360px;
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
      position: relative;
    }

    .close-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      background: transparent;
      border: none;
      font-size: 24px;
      color: #888;
      cursor: pointer;
    }

    h3 {
      margin-bottom: 20px;
      font-weight: 600;
      color: #333;
      text-align: center;
    }

    input {
      width: 100%;
      padding: 12px;
      margin-bottom: 15px;
      border: 1px solid #ddd;
      border-radius: 10px;
      font-size: 14px;
    }

    input:focus {
      border-color: #4f46e5;
      outline: none;
    }

    .formulario,
    .valor-container {
      display: none;
    }

    .valor-container {
      text-align: center;
      padding: 10px;
    }

    .valor-destacado {
      font-size: 22px;
      font-weight: bold;
      color: #800000;
      background: #ffe4e4;
      padding: 12px 20px;
      border-radius: 12px;
      margin-top: 10px;
    }