/* Reset & Global */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #46c1af 0%, #3686a9 100%);
    /* Teal to Blue gradient similar to image */
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    /* padding: 20px 0; */
}

/* Main Container */
.main-wrapper {
    width: 100%;
    max-width: 1200px;
    padding-bottom: 120px;
    display: flex;
    justify-content: center;
}

.signup-container {
    display: flex;
    flex-direction: column;
    /* Mobile First: Column */
    width: 100%;
    align-items: center;
}

/* Left Panel (Info) */
.info-panel {
    text-align: center;
    /* margin-bottom: 30px; */
    width: 100%;
}

.logo-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    color: purple;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid gold;
}

.event-details h1 {
    color: #ffcc00;
    /* Gold/Yellow */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 10px 0;
    line-height: 1.1;
    font-size: 28px;
    text-transform: uppercase;
}

.announce {
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: bold;
    color: #e0f7fa;
}

.prize-info {
    margin: 20px 0;
}

.prize-info p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: bold;
}

.prize-tag {
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 24px;
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(41, 39, 39, 0.4);
    margin-top: 5px;
    font-weight: bold;
    /* font-size: 1.1rem; */
    font-size: 20px;
}

.footer-note {
    font-size: 0.9rem;
    font-weight: bold;
    color: #e0f7fa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.terms-text-mobile {
    display: none;
    font-size: 0.75rem;
    color: #eee;
    margin-top: 20px;
}

.terms-text-mobiles {
    display: none;
    font-size: 0.75rem;
    color: #eee;
    margin-top: 20px;
}

/* Right Panel Wrapper */
.right-panel-wrapper {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}


.Toppresenter-image-container {
    position: relative;
    z-index: 2;
    margin-bottom: -140px;
    /* Overlap the card */
    display: contents;
    align-items: center;
    display: none;

}



.Toppresenter-img-placeholder {
    width: 160px;
    height: 160px;
    /* In reality this would be the transparent PNG of the person */
    background-color: #f0f0f0;
    border-radius: 50%;
    /* Or simple img tag */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Presenter Image Area */
.presenter-image-container {
    position: relative;
    z-index: 2;
    margin-bottom: -40px;
    /* Overlap the card */
    display: contents;
    align-items: center;

}

.input-with-icon {
    display: flex;
    align-items: center;
}

.flag-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    /* background: #f5f5f5; */
    /* border: 1px solid #ccc; */
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-weight: 600;
}

.flag-icon img {
    height: 11px;
    width: auto;
}

.form-control {
    border-radius: 0 4px 4px 0;
}

.presenter-img-placeholder {
    /* width: 360px;
    height: 260px; */
    /* In reality this would be the transparent PNG of the person */

    /* border-radius: 50%; */
    /* Or simple img tag */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    overflow: hidden;
    /* border: 4px solid #fff; */

}

/* Form Card Details */
.form-card {
    background-color: #1a3c5a;
    /* Dark Blue */
    border-radius: 20px;
    padding: 25px 25px 50px;
    /* Top padding deals with image overlap */
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(41, 39, 39, 0.4);
    color: #fff;
    position: relative;
    z-index: 1;
}

.presenter-info {
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 15px;
    width: 450px;
    border: 3px solid rgba(10, 10, 10, 0.1);
    background: rgba(0, 0, 0, 0.4);
    padding: 6px;
    border-radius: 20px;
}

.presenter-info h3 {
    margin: 0;
    font-size: 18px;
}

.presenter-info p {
    margin: 5px 0;
    color: #ccc;
    font-size: 0.95rem;
}

.presenter-info small {
    display: block;
    font-size: 0.75rem;

    margin-top: 5px;
    line-height: 1.3;
}

/* Form Elements */
.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 0.85rem;
    color: #fff;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    font-size: 0.95rem;
    outline: none;
}

.input-with-icon {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 250px;
    margin: 0px auto;
}

.flag-icon {
    padding-left: 15px;
    padding-right: 10px;
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.input-with-icon input {
    border-radius: 0;
}

.submit-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: -90px;
    /* Pull button down to overlap bottom edge */
}

.btn-signup {
    background-color: #ffcc00;
    /* Yellow */
    color: #000;
    padding: 7px 34px;
    border-radius: 10px;
    border: none;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.btn-signup:hover {
    background-color: #ffd700;
    transform: scale(1.05);
}

/* Alert */
.alert {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 20px;
}

.alert-success h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.alert-success p {
    margin: 0;
    font-size: 0.9rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Desktop Responsiveness */
@media (min-width: 900px) {
    .signup-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        /* Center vertically */
    }

    .info-panel {
        width: 50%;
        text-align: left;
        /* Verify if left or center. usually announced text is centered or left. Let's try centered based on image feel, or left aligns. Image shows centerish text. */
        text-align: center;
        margin-bottom: 0;
        padding-right: 40px;
    }

    .right-panel-wrapper {
        width: 45%;
        max-width: 450px;
    }

    .logo-placeholder {
        margin: 0 auto 30px;
        /* Center logo on desktop side? Image shows logo top left or center top. */
    }

    .event-details h1 {
        font-size: 28;
        text-shadow:
            0 2px 0 #333232,
            0 4px 0 #302e2e,
            0 6px 0 #2f2e2e,
            0 8px 12px rgba(9, 8, 8, 0.45);
    }

    .terms-text-mobile {
        display: block;
        font-size: 13px;
        /* Hide on desktop layout here, maybe put in footer? */
    }
}


.textCenter {
    text-align: center;
}

@media (max-width: 780px) {
    .presenter-image-container {
        position: relative;
        z-index: 2;
        margin-bottom: -40px;
        /* Overlap the card */
        /* display: contents; */
        align-items: center;
        display: none;
    }

    .Toppresenter-image-container {
        position: relative;
        z-index: 2;
        margin-bottom: 0px;
        /* Overlap the card */
        display: contents;
        align-items: center;
        display: block;


    }

    .presenter-info h3{
        font-size: 16px;
    }

    .logo-placeholder {
        margin: 10px 30px;
        width: 90px;
        height: 90px;
        margin-top: 0;
    }

    .main-wrapper {
        padding-bottom: 69px;
    }

    .event-details h1 {
        margin: -8px 0;
        font-size: 23px;
    }

    .prize-tag {
        padding: 1px 18px;
        margin-top: 3px;
        font-size: 15px;
    }

    .footer-note {
        letter-spacing: 0px;
        margin-bottom: 0;
        margin: -15px 1px 7px;
    }

    .right-panel-wrapper {
        width: 89%;
    }

    .terms-text-mobiles {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        color: #eee;
        margin-top: 0px;
    }

.presenter-info small{
    font-size: 10px;
}

    .form-card{
        padding: 25px 25px 40px
    }
    .form-control,
    .input-with-icon {
        border-radius: 10px;
    }

    .presenter-info {
        margin: auto;
        width: 414px
    }

    .btn-signup {
        border-radius: 11px;
    }

    .submit-btn-container {
        margin-bottom: -82px;
    }

    body {
        min-height: 95vh;
    }
}


@media (max-width: 385px) {

    .presenter-info {
        width: 358px;              /* remove fixed width */
                    /* left & right spacing */
    }

    .Toppresenter-image-container {
        padding: 0 16px;           /* image spacing */
    }

    .presenter-image-container {
        padding: 0 16px;
    }
}
@media (max-width: 320px) {
    .presenter-info {
       width: auto;
    }
}


