
@font-face {
    font-family: 'Almarai';
    src: url('assets/Almarai-Bold.woff2') format('woff2'),
        url('assets/Almarai-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.newAlert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
  }
  
  .newAlertContent {
    position: relative;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 50px;
    overflow: hidden;
  }
  
  .newAlert p {
    color: black;
    overflow: auto;
    height: 100%;
    margin: 0;
  }
  
  .closeAlert {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
  }

#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #088f45;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #51b048;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide content initially */
#content {
    display: none;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #088f45;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}
@media (max-width: 600px) {
    body {
      background-size: cover;
      background-repeat: no-repeat;
    }
}
#wheel-container {
    position: relative;
    height: 300px;
    margin: 25px;
  }

  .arrow {
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 25px solid rgb(255, 213, 0);
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  }
  .wheelcenter {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 50%;
    top: 50%;
    z-index: 10;
    background-color: #ffd500;
    border-radius: 30px;
    transform: translateX(50%) translateY(-50%);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

  #wheel {
    width: 100%;
    height: 100%;
    transform-box: fill-box;
    transform-origin: 50% 50%;
    transition: transform 6s cubic-bezier(0.33, 1, 0.68, 1);
  }

  #spinBtn {
    width: 75%;
    padding: 15px;
    border: 2px dashed white;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #51b048;
    color: #FFF;
    font-weight: bold;
    margin: 25px;
  }

  text {
    font-size: 12px;
    fill: white;
    font-weight: bold;
  }

  .dot-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
  }
  
  .dot-ring::before {
    content: "";
    position: absolute;
    inset: 0px 20px 20px 0px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  }
  
  .dot-ring .dot {
    width: 8px;
    height: 8px;
    background: yellow;
    border-radius: 50%;
    position: absolute;
    animation: blink 1.2s infinite ease-in-out;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
  }

.products {
    width: 350px;;
    margin-bottom: 25px;
}
.productsImg {
    width: 100%;
}

.flag {
    margin: 10px;
    width: 150px;
}


.container {
    width: 350px;
    margin: 50px auto;
    border-radius: 10px;
    text-align: center;
}

header {
    margin-bottom: 20px;
}
footer {
    margin-bottom: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}
.footerImg {
    width: 300px;
    margin: 0 auto;
}

p {
    color: white;
    font-size: 15px;
    margin: 0 auto;
}

.logo {
    width: 120px;
    position: absolute;
    top: 0;
    left: 0;
}
.title-img {
    width: 300px;
    margin-bottom: 25px;
}

h1 {
    color: white;
    font-size: 30px;
    margin-bottom: 10px;
}
h3 {
    color: #fff;
    margin: 0 auto;
    font-size: 20px;
}

.form-group {
    margin-bottom: 15px;
    position: relative;  /* Required for dropdown arrow positioning */
}

input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: none;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    border-radius: 0px 10px 10px 0px;
}
input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

select {
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;  /* For Safari */
    cursor: pointer;
}

.dropdown-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #555;
    pointer-events: none;  /* Make arrow non-clickable */
}

.phone-group {
    display: flex;
}

.phone-code {
    width: 30%;
    margin-right: 5px;
}

.phone-code input {
    text-align: center;
    cursor: not-allowed;
    border-radius: 10px 0px 0px 10px;
}

.upload-section {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 15px;
}

.upload-button {
    width: 75%;
    padding: 15px;
    border: 2px dashed white;
    border-radius: 10px 0px 0px 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #51b048;
    color: #FFF;
    font-weight: bold;
}

.camera-button {
    width: 20%;
    padding: 15px;
    border: 2px dashed white;
    font-size: 16px;
    cursor: pointer;
    background-color: #51b048;
    color: #fff;
    font-weight: bold;
    border-radius: 0px 10px 10px 0px;
}
.camera-button img {
    width: 24px;  /* Adjust size if needed */
    vertical-align: middle;
}

.terms-agreement {
    display: flex;
    margin: 20px auto;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #51b048;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.link {
    color: #f3f94e;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    vertical-align: middle;
    margin: 10px;
}

.play-button {
    width: 70%;
    padding: 15px;
    margin: 10px auto;
    border: 2px dashed white;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    background-color: #51b048;
    color: white;
}
.submit-button {
    width: 70%;
    padding: 15px;
    margin: 10px auto;
    border: 2px dashed white;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    background-color: #51b048;
    color: white;
}

.empty {
    height: 35vh;
}

header, .txt1, #instructionsBox, .box[alt="CAT"], .box[alt="X"] {
    cursor: default;
}
