* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #191919;
}

.input-login {
    background-color: transparent;
    border: 1px solid #5b5b5b;
}

*,
*:before,
*:after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.background{
    height: 520px;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
}
.background .shape{
    height: 200px;
    width: 200px;
    position: absolute;
    border-radius: 50%;
}
.shape:first-child{
    background: linear-gradient(
        #e1c420,
        #fcd600
    );
    right: 50px;
    top: -100px;
}
.shape:last-child{
    background: linear-gradient(
        to right,
        #e1b151,
        #f09819
    );
    left: 0px;
    bottom: -100px;
}
form{
    height: 420px;
    width: 90%;
    max-width: 550px;
    background-color: rgba(255,255,255,0.13);
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    padding: 50px 35px;
}
form *{
    font-family: 'Poppins',sans-serif;
    color: #ffffff;
    letter-spacing: 0.5px;
    outline: none;
    border: none;
}
form h3{
    font-size: 32px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
}

label{
    display: block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
}
input{
    display: block;
    height: 50px;
    width: 100%;
    background-color: rgba(255,255,255,0.07);
    border-radius: 3px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
}

form img {
    width: 100%;
    max-width: 100%;
    display: flex;
    margin: 0 auto;
}

.footer {
    text-align: center;
    font-size: 10px;
    margin: 30px auto;
}

::placeholder{
    color: #e5e5e5;
}
button{
    margin-top: 50px;
    width: 100%;
    background-color: #ffffff;
    color: #080710;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}
.social{
  margin-top: 30px;
  display: flex;
}
.social div{
  background: red;
  width: 150px;
  border-radius: 3px;
  padding: 5px 10px 10px 5px;
  background-color: rgba(255,255,255,0.27);
  color: #eaf0fb;
  text-align: center;
}
.social div:hover{
  background-color: rgba(255,255,255,0.47);
}
.social .fb{
  margin-left: 25px;
}
.social i{
  margin-right: 4px;
}


/* Header styles */
.header {
    background-color: #f8f8f8;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
  }
  
  .header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: white;
    border-radius: 50% 50% 0 0;
    z-index: 1;
  }
  
  .logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
  }
  
  .logo p {
    font-size: 14px;
    margin-top: -5px;
  }
  
  .barcode-icon {
    font-size: 20px;
    margin-top: -5px;
  }

  .codebar-img {
    width: 100% !important;
    height: 80px !important;
  }
  
  .saldo-container {
    text-align: right;
  }
  
  .saldo-container p {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
  }
  
  .saldo-value {
    background-color: white;
    border: 2px solid #ffd700;
    border-radius: 20px;
    padding: 5px 15px;
    font-weight: 600;
    color: #333;
    display: inline-block;
    min-width: 100px;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .saldo-value.highlight {
    background-color: #ffd700;
    transform: scale(1.1);
  }
  
  /* Cupom container styles */
  .cupom-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .cupom-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4CAF50;
    font-weight: 500;
    font-size: 16px;
  }
  
  .status-icon {
    background-color: #4CAF50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
  }
  
  .cupom-display {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
  }
  
  .cupom-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
  }
  
  .cupom-item.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .cupom-item .store-logo {
    width: 100px;
    height: 30px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    border-radius: 5px;
  }
  
  .cupom-item .product-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
  }
  
  .cupom-item .barcode {
    width: 200px;
    height: 50px;
    background-image: linear-gradient(90deg, #000 0%, #000 10%, transparent 10%, transparent 20%, #000 20%, #000 30%, transparent 30%, transparent 40%, #000 40%, #000 50%, transparent 50%, transparent 60%, #000 60%, #000 70%, transparent 70%, transparent 80%, #000 80%, #000 90%, transparent 90%, transparent 100%);
    background-size: 20px 100%;
    margin-bottom: 5px;
  }
  
  .cupom-item .code {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
  }
  
  .input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .input-container p {
    font-size: 14px;
    color: #777;
  }
  
  #cupom-input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
  }
  
  #cupom-input:focus {
    border-color: #4CAF50;
  }
  
  .store-logo-img {
    background-color: white;
    width: 10px;
    height: 10px;
  }

  #submit-cupom {
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
  }
  
  #submit-cupom:hover {
    background-color: #3d8b40;
  }
  
  /* Modal styles */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .modal.active {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transform: scale(0.8);
    transition: all 0.3s ease;
    max-width: 80%;
  }
  
  .modal.active .modal-content {
    transform: scale(1);
  }
  
  .modal h2 {
    margin-bottom: 15px;
    color: #4CAF50;
  }
  
  .modal p {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  #premio-valor {
    font-weight: 700;
    color: #4CAF50;
  }
  
  .coin-animation {
    height: 100px;
    position: relative;
    overflow: hidden;
  }
  
  .coin {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #ffd700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-weight: bold;
    font-size: 12px;
    animation: coinFall 1.5s ease-in forwards;
  }
  
  @keyframes coinFall {
    0% {
      transform: translateY(-100px) rotate(0deg);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    100% {
      transform: translateY(100px) rotate(360deg);
      opacity: 0;
    }
  }
  
  /* Animação do saldo */
  @keyframes highlight {
    0% {
      background-color: white;
    }
    50% {
      background-color: #ffd700;
    }
    100% {
      background-color: white;
    }
  }