.logo { font-weight: 600; }
.card { border-radius: 16px; }

#codeInput { letter-spacing: .5px; font-variant-numeric: tabular-nums; }
#checkBtn:disabled { opacity: .85; }

@media (max-width: 576px) {
  .card { border-radius: 12px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .card h2 {
        font-size: clamp(16px, 4vw, 22px);
        line-height: 1.3;
        white-space:normal; 
    }

    #checkBtn {
        font-size: 13px;   
        padding: 10px;
    }

    #codeInput {
        font-size: 13px;  
        padding: 10px;
    }
}
.card h2 {
    hyphens: none;            
    -webkit-hyphens: none;    
    -moz-hyphens: none;       
    word-break: normal;       
    overflow-wrap: normal;
    color: #5fafaf;   
}

.btn-med {
  background-color: #7ecdca !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.btn-med:hover {
  background-color: #6bbab7 !important;
  box-shadow: none !important;
}

.btn-med:active {
  background-color: #589e9c !important;
  transform: translateY(1px) !important;
}

.btn-med:disabled {
  background-color: #7ecdca !important;
  opacity: .65 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

#checkBtn:focus,
#checkBtn:focus-visible,
#checkBtn:active:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

#codeInput:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #7ecdca !important;
}

@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        font-size: 14px; 
    }

    #codeInput,
    #checkBtn {       
        display: inline-block;
        vertical-align: middle;
    }

    .container {
        padding: 0 15px;  
    }

    .card {
        padding: 20px;
        margin: 0 auto;
        max-width: 100%;
    }

    #resultMsg {
        font-size: 14px;
        margin-top: 10px;
    }
    
    .logo-img{
      height: 32px;
    }
}

body {
    background: linear-gradient(135deg, #7ecdca 0%, #ffffff 100%);
    filter: brightness(0.95);
    min-height: 100vh;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.logo-img{
  height: 80px;
  width: auto;
}

footer {
    color: #5fafaf;
}

.alert-danger-custom {
    background: #fff;
    border: 2px solid #dc3545;
    border-radius: 12px;
    padding: 25px 30px;
    color: #000;
    line-height: 1.6;
    max-width: 750px;
    margin: 30px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.alert-danger-custom h3 {
    color: #b22222;
    margin-bottom: 20px;
    text-align: inherit;
    font-size: 22px;
    font-weight: bold;
}

.alert-danger-custom p {   
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-danger-custom p strong {
    font-weight: bold;
    text-align: inherit;
    margin-bottom: 15px;
}

.alert-danger-custom p:last-of-type {
    font-size: 15px;
    color: #333;
}

@media (max-width: 576px) {
    .alert-danger-custom {
        padding: 18px;
        font-size: 15px;
    }
    .alert-danger-custom h3 {
        font-size: 18px;
    }
    .alert-danger-custom p {
        font-size: 14px;
        line-height: 1.4;
        text-align: center;
    }
    .alert-danger-custom p:last-of-type {
        font-size: 13px;
        color: #333;
    }
}










