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

body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-wrap:wrap ;
    align-items: center;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.containers {
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}
.verification-container {
    text-align: center;
    padding: 20px;
}

h2 {
    color: #ff6f20;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    padding: 10px 20px;
    background-color: #ff6f20;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #ff5722;
}

.certificate-popup {
    display: none; 
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 800px;
    background-image: url("https://prodigyinfotech.dev/assets/images/checkmark-circle.svg");
    background-size: 35%;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
}

.card-details {
    margin-top: 20px;
    height:250px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: space-between;
}
.card-details p {
    padding-bottom: 10px;
    text-align: left;
    border-bottom: 1px solid rgb(173, 164, 164);
}


.card-details h3 {
    color: #ff6f20;
}

@media (max-width: 600px) {
    .loading{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .certificate-popup{
        width: 90vw;
    }
    .container {
        padding: 10px;
    }

    button {
        width: 100%;
    }
}
.loading {
    font-size: 18px;
    color: #007bff;
    margin-top: 10px;
}

.error {
    font-size: 18px;
    color: white;
    font-weight: 500;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    background-color: #ff6f20;
}

.certificate-popup {
    border: 1px solid #ccc;
    padding: 20px;
    margin-top: 20px;
    background-color: #f9f9f9;
}

.certificate-popup h1 {
    margin-bottom: 10px;
}

.card-details {
    margin-top: 10px;
}

.card-details h3 {
    margin: 0;
    padding-bottom: 5px;
}
/* From Uiverse.io by cohencoo */ 
.custom-loader {
    width: 70px;
    height: 70px;
    background: #ff6f20;
    border-radius: 50px;
    -webkit-mask: radial-gradient(circle 31px at 50% calc(100% + 13px),#000 95%,#0000) top 4px left 50%,
      radial-gradient(circle 31px,#000 95%,#0000) center,
      radial-gradient(circle 31px at 50% -13px,#000 95%,#0000) bottom 4px left 50%,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    -webkit-mask-repeat: no-repeat;
    animation: cu10 1.5s infinite;
  }
  
  @keyframes cu10 {
    0% {
      -webkit-mask-size: 0    18px,0    18px,0    18px,auto
    }
  
    16.67% {
      -webkit-mask-size: 100% 18px,0    18px,0    18px,auto
    }
  
    33.33% {
      -webkit-mask-size: 100% 18px,100% 18px,0    18px,auto
    }
  
    50% {
      -webkit-mask-size: 100% 18px,100% 18px,100% 18px,auto
    }
  
    66.67% {
      -webkit-mask-size: 0    18px,100% 18px,100% 18px,auto
    }
  
    83.33% {
      -webkit-mask-size: 0    18px,0    18px,100% 18px,auto
    }
  
    100% {
      -webkit-mask-size: 0    18px,0    18px,0    18px,auto
    }
  }