@font-face {
    font-family: "DIN LT";
    src: url(fonts/din-next-lt-pro-condensed-heavy.otf);
    font-style: normal;
}

@font-face {
    font-family: "DIN Bold";
    src: url(fonts/DINNextLTPro-BoldCondensed.ttf);
    font-style: normal;
}

@font-face {
    font-family: "DIN Medium";
    src: url(fonts/DINNextLTPro-MediumCond.ttf);
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.container {
    min-height: 100vh;
    max-width: 600px;
}

/* Header Styles */
.header {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
}

.produced-by {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: bold;
}

.tribevibe-logo {
    height: 70px;
    width: auto;
}
#loaderGif {
    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: 9999;
    /* Ensure it's above other content */
  }
/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Event Logo */
.event-logo {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.mcdowells-logo {
    display: block;
    margin: auto;
}

.logo-img{
    width: 100%;
}

/* Form Container */
.form-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin-bottom: 5rem;
}

/* Form Styles */
.registration-form, .questions-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    font-family: "DIN Medium", sans-serif;
    padding: 15px 20px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 50px;
    background: transparent;
    color: white;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 200;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.9);
    font-weight: 200 !important;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.phone-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.country-code {
    background: transparent;
    font-family: "DIN Medium", sans-serif;
    letter-spacing: 1px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 50px;
    padding: 15px 20px;
    color: white;
    font-weight: 200;
    width: 25%;
    text-align: center;
    font-size: 18px;
}

.phone-group input {
    border-radius: 50px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3e%3cpath d='M8 13.1l4.7-4.7-1.4-1.4L8 10.3 4.7 7l-1.4 1.4z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    font-family: "DIN Medium", sans-serif;
    font-weight: 200;
}

.form-group select option {
    background: #2c3e50;
    color: white;
}

.mandatory-text {
    font-family: "DIN Lt", sans-serif;
    font-size: 15px;
    letter-spacing: 0.5px;
    font-weight: 400;
    color: #f9b757;
    margin-top: -10px;
    margin-left: 15px;
}

.tnc{
    color: #f9b757;
    text-decoration: none;
}

/* Checkbox Styles */
.checkbox-group {
    margin: 10px 0;
}

.checkbox-label {
    display: flex;
    font-family: "DIN Bold", sans-serif;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255,255,255,0.9);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0px;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #FFD700;
    border-color: #FFD700;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: black;
    font-weight: bold;
    font-size: 14px;
    margin-top: 3px;
}

/* Radio Button Styles */
.question-container {
    text-align: center;
    margin-bottom: 30px;
}

.question-title {
    font-size: 24px;
    font-family: "DIN Lt", sans-serif;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: start;
    line-height: 1.3;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: "DIN Medium", sans-serif;
    font-weight: 100;
    letter-spacing: 1px;
    align-items: flex-start;
    font-size: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: white;
    background: white;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #4ECDC4;
    border-radius: 50%;
}

/* Thank You Styles */
.thank-you-container {
    text-align: center;
    padding: 40px 00px;
}

.thank-you-title {
    font-size: 52px;
    font-weight: bold;
    font-family: "DIN Medium", sans-serif;
    margin-bottom: 20px;
    color: white;
}

.thank-you-message {
    font-size: 18px;
    font-family: "DIN Medium", sans-serif;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

/* Submit Button */
.submitBtn{
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-btn {
    background: url(./images/submit\ button.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 5px 15px rgba(255,107,53,0.4); */
}

.submit-btn:active {
    transform: translateY(0);
}

/* Error Messages */
.error-message {
    color: #FF6B6B;
    font-size: 12px;
    margin-top: 5px;
    margin-left: 15px;
    margin-bottom: -5px;
    display: block;
}

/* Footer */
.footer {
    padding: 20px;
    display: flex;
    flex-direction: column;
    /* margin-bottom: -2rem;  */
    gap: 20px;
}

.footer-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sponco-logo, .bms-logo {
    max-width: 150px;
    width: 100%;
}

.powered-by {
    text-align: end;
}

.buyerr-logo{
    max-width: 90px;
    width: 100%;
    display: block;
    margin-left: auto;
}

.date-badge{
    width: 100%;
    display: block;
    margin: auto;
    margin-top: 5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px;
    }
    
    .produced-by {
        font-size: 10px;
    }
    
    .tribevibe-logo {
        height: 50px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .event-logo {
        padding: 15px 25px;
        margin-bottom: 30px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .mcdowells-logo {
        margin-right: 0;
        align-items: center;
    }
    
    .mcdowells-brand {
        font-size: 28px;
    }
    
    .yaari, .jam {
        font-size: 20px;
        padding: 6px 12px;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .question-title {
        font-size: 18px;
    }
    
    .thank-you-title {
        font-size: 36px;
    }
    
    .thank-you-message {
        font-size: 16px;
    }
    
    .footer-logos {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px;
    }

    .question-form-cont{
        margin-bottom: 10rem;
    }

    .questions-form{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .phone-group {
        gap: 10px;
    }
    
    .checkbox-label {
        font-size: 11px;
    }
    
    .radio-label {
        font-size: 16px;
    }

    .sponco-logo, .bms-logo {
        max-width: 100px;
    }

    /* .buyerr-logo{
        max-width: 70px;
    } */
}

@media (max-width: 363px) {
    .thank-you-message{
        font-size: 15px;
    }
}