@font-face {
    font-family: "DIN Pro Condensed";
    src: url("../Fonts/din-next-lt-pro-condensed-heavy.otf");
    font-style: normal;
}

@font-face {
    font-family: "DIN Pro Bold Condensed";
    src: url("../Fonts/DINNextLTPro-BoldCondensed.ttf");
    font-style: normal;
}

@font-face {
    font-family: "DIN Pro Medium Condensed";
    src: url("../Fonts/DINNextLTPro-MediumCond.ttf");
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Ariel", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    /* max-height: 100%; */
    /* padding: 20px; */
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #f5e6b3 0%, #f5e6b3 40%, rgba(255, 193, 7, 0.3) 100%);
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
}

#loaderGif {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Ensure it's above other content */
}

.content-wrapper {
    padding: 15px 20px;
    /* position: relative; */
    margin-bottom: 5rem;
}

.logo {
    display: block;
    margin: 0 auto 30px;
    max-width: 120px;
    height: 100%;
    height: 100px;
}

.form-container,
.upload-container,
.frame-container,
.thankyou-container {
    background: url(../images/Rectangle\ 1.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    /* background: #131826; */
    /* padding: 30px 25px;
    border-radius: 15px; */
    color: white;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 10px 20px;
    margin-bottom: 15px;
    border: 2px solid white;
    border-radius: 30px;
    background: transparent;
    color: white;
    font-size: 15px;
    font-weight: bold;
    outline: none;
    font-family: "DIN Pro Medium Condensed", sans-serif;
    letter-spacing: 1px;
}

input::placeholder,
select option:first-child {
    color: white;
    font-family: "DIN Pro Medium Condensed", sans-serif;
    letter-spacing: 1px;
}

select {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path fill="white" d="M0 0l6 8 6-8z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
    letter-spacing: 1px;
}

select option {
    background: #131826;
    color: white;
    letter-spacing: 1px;
}

select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.phone-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.country-code {
    padding: 10px 15px;
    border: 2px solid white;
    border-radius: 30px;
    background: transparent;
    font-size: 15px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    min-width: 70px;
    justify-content: center;
    font-family: "DIN Pro Medium Condensed", sans-serif;
    letter-spacing: 1px;
}

.phone-input input {
    margin-bottom: 0;
}

.mandatory-text {
    font-size: 10px;
    margin-bottom: 20px;
    margin-top: -10px;
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-family: "DIN Pro Medium Condensed", sans-serif;
}

#friendNumber{
    padding: 15px 20px;
}

.question {
    margin: 20px 0;
    font-family: "DIN Pro Bold Condensed", sans-serif;
}

.question p {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

.radio-group {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
}

.radio-group input[type="radio"] {
    width: 25px;
    height: 25px;
    margin-right: 12px;
    margin-bottom: 0;
    accent-color: #F9B758;
}

.subtitle {
    position: absolute;
    top: 43px;
    left: 20px;
    font-size: 11px;
    margin-top: -10px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-family: "DIN Pro Medium Condensed", sans-serif;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    font-family: "DIN Pro Medium Condensed", sans-serif;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #ffc107;
    text-decoration: underline;
}

.submit-btn,
.upload-btn,
.next-btn {
    width: 70%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    background: #F9B758;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-family: "DIN Pro Medium Condensed", sans-serif;
    letter-spacing: 1.5px;
}

.submit-btn:hover,
.upload-btn:hover,
.next-btn:hover {
    background: #f5ac47;
}

/* Upload Page Styles */
.upload-container {
    text-align: center;
}

.upload-container h2 {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.5;
    letter-spacing: 1.2px;
    font-family: "DIN Pro Medium Condensed", sans-serif;
}

.camera-icon {
    width: 90px;
    height: 90px;
    margin: 10px auto;
    /* background: white; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.camera-icon:hover {
    transform: scale(1.1);
}

.tap-text {
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 1.2px;
    font-family: "DIN Pro Medium Condensed", sans-serif;
}

/* Frame Page Styles */
.frame-container {
    text-align: center;
}

.photo-frame {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 30px;
    position: relative;
    background: white;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#frameCanvas {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    width: 320px;
    height: 340px;
}

.download-btn {
    text-decoration: underline;
    cursor: pointer;
    display: block;
    margin-bottom: 15px;
    font-family: "DIN Pro Medium Condensed", sans-serif;
    letter-spacing: 1.5px;
}

.share-btn {
    text-decoration: underline;
    cursor: pointer;
    background-color: transparent;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-family: "DIN Pro Medium Condensed", sans-serif;
    letter-spacing: 1.5px;
}

.next-btn {
    margin-bottom: 15px;
}


/* Thank You Page Styles */
.thankyou-container {
    text-align: center;
    padding: 60px 30px;
}

.thankyou-container h1 {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.thankyou-container h2 {
    font-size: 24px;
    font-weight: normal;
    line-height: 1.5;
    font-family: "DIN Pro Medium Condensed", sans-serif;
    letter-spacing: 1.5px;
}

/* Footer */
.footer-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Gotham Bold", sans-serif;
    margin-bottom: 10px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
}

.footer {
    margin-top: 30px;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: self-start;
    font-size: 6px;
    font-weight: bold;
    position: absolute;
    bottom: 0;
}

.footer p {
    font-weight: bolder;
    margin: 5px 0;
}

.powered-by {
    margin-top: 35px;
    font-size: 6px;
    color: #333;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    right: 0;
}

.footer-img {
    margin-right: 10px;
    width: 35px;
    height: 9px;
}

/* Responsive */
@media (max-width: 480px) {
    .content-wrapper {
        padding: 10px 15px;
    }

    .logo {
        width: 150px;
    }

    .form-container,
    .upload-container,
    .frame-container{
        padding: 25px 20px;
    }

    .thankyou-container {
        padding: 60px 20px;
        margin-bottom: 0;
    }

    .thankyou-container h2 {
        font-size: 20px;
    }

    .question p{
        font-size: 18px;
    }

    .radio-group label{
        font-size: 18px;
    }
}

[id$="Error"]:not(:empty) {
    padding-top: 5px;
    padding-bottom: 5px;
    display: block;
}