/* Giveaway Wrapper */
.giveaway-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f2f2f2 100%);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    transition: all 0.3s ease;
}

.giveaway-wrapper:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.giveaway-wrapper h1 {
    margin-top: 0;
    font-size: 32px;
}
/* Giveaway Image */
.giveaway-wrapper .giveaway-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.giveaway-wrapper .giveaway-image img:hover {
    transform: scale(1.03);
}

/* Countdown Timer */

#countdown {
    font-weight: bold;
    font-size: 18px;
    background-color: #ffcc00;
    padding: 10px 20px 10px 20px;
    margin: 0px 0 25px 0;
    display: inline-block;
    border-radius: 38px;
    color: #333;
    letter-spacing: 0.5px;
    font-family: math;
}
/* Giveaway Form Styles */
.giveaway-form,
.giveaway-referral-form {
    margin: 25px 0;
    text-align: left;
}

.giveaway-form label,
.giveaway-referral-form label {
    font-weight: bold;
    margin: 8px;
    display: block;
    color: #555;
    font-size: 16px;
    text-align:center;
}

.giveaway-referral-form h4 {
    font-size: 1em;
    text-align: center;
    margin: 0;
}

p.emailp {
    margin: 0;
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    line-height: 18px;
}
.giveaway-form input[type="email"],
.giveaway-form input[type="text"],
.giveaway-referral-form input[type="text"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    
    font-size: 16px;
    box-sizing: border-box;
    transition: border 0.3s ease;
}

.giveaway-referral-form{
    border-radius: 8px;
}

.giveaway-form input {
    border-radius: 6px !important;
}


.giveaway-form input[type="email"]:focus,
.giveaway-form input[type="text"]:focus,
.giveaway-referral-form input[type="text"]:focus {
    border-color: #4CAF50;
    outline: none;

}

/* Submit Buttons */
.giveaway-form input[type="submit"],
.giveaway-referral-form input[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin:0 auto;
    display:block;
}

.giveaway-form input[type="submit"]:hover,
.giveaway-referral-form input[type="submit"]:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* Referral Section */
.giveaway-referral-form {
    background-color: #e8f8f8;
    padding: 20px;
  
    border: 1px solid #28a745;
}
#referrals{
     border-radius: 6px !important;
     margin-top:15px;
}
.giveaway-referral-form h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #28a745;
}

/* Messages (Success/Error) */
.giveaway-message {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
}

.giveaway-message.success {
    background-color: #dff5e1;
    color: #3c763d;
}

.giveaway-message.error {
    background-color: #f8d7da;
    color: #a94442;
}

/* Warning Message */
.giveaway-warning {
    background-color: #fff4f4;
    color: #d9534f;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    max-width: 100%;
    text-align: center;
    font-weight: bold;
}


/* Modern WhatsApp share section styles */
.giveaway-whatsapp-share {
  
    width: 100%;
    padding: 35px 12px 35px 12px;
    margin-bottom: 15px;
    border: 1px solid #34af23;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border 0.3s ease;
     background-color: #e8f8f8;
}


.giveaway-whatsapp-share h4 {
    font-size: 1.8em;
    color: #333;
    margin: 0;
    
   
}

p.whatsappp {
    margin: 0;
    font-weight: 400;
    line-height: 18px;
    padding-bottom: 15px;
}
.giveaway-whatsapp-share a {
   background-color: #28a745;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.giveaway-whatsapp-share a:hover {
    background-color: #28a745; /* Lighter WhatsApp green */
    color: white;
}


.giveaway-description {
     width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #34af23;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
     background-color: #e8f8f8;
}

.giveaway-description h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: #00bfa5;
    margin-bottom: 10px;
}

.giveaway-description p {
    margin-bottom: 15px;
    color: #666;
}

.giveaway-description a {
    color: #00bfa5;
    text-decoration: underline;
}

.giveaway-description a:hover {
    text-decoration: none;
    color: #008d7b;
}


p.points {
    font-size: 18px;
}

.giveaway-status-card,
.giveaway-invite-link {
    width: 100%;
    padding: 20px 16px;
    margin-bottom: 15px;
    border: 1px solid #34af23;
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #e8f8f8;
}

.giveaway-status-card h3,
.giveaway-invite-link h4 {
    margin-top: 0;
}

.giveaway-invite-link input[type="text"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

.giveaway-copy-button {
    background-color: #0a7a35;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}



.giveaway-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.giveaway-table th, .giveaway-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.giveaway-table th {
    background-color: #f4f4f4;
    text-align: left;
    font-weight: bold;
}

.giveaway-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.giveaway-table tr:hover {
    background-color: #f1f1f1;
}

.giveaway-table td {
    text-align: left;
}



/*========invite with link===========*/
/* Invite by Link Section */
.giveaway-invite-link {
    width: 100%;
    padding: 25px 12px;
    margin-bottom: 15px;
    border: 1px solid #34af23;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border 0.3s ease;
    background-color: #e8f8f8;
}

.giveaway-invite-link h3 {
    color: #34af23; /* WhatsApp green color */
    font-family: 'Arial', sans-serif;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.giveaway-invite-link h4 {
    font-size: 1.8em;
    color: #333;
    margin-top: 0;
    margin-bottom: 0;
}
.giveaway-invite-link input[type="text"] {
    width: 75%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #34af23;
    border-radius: 8px;
    margin-right: 10px;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
      margin-bottom: 15px
}

.giveaway-invite-link input[type="text"]:focus {
    outline: none;
    border-color: #28a745;
  
}

.giveaway-invite-link button {
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
    display: block;
    margin: 0 auto;
}

.giveaway-invite-link button:hover {
    background-color: #28a745;
    transform: scale(1.05);
}

.giveaway-feedback {
    font-size: 16px;
}




/*========invite with link end===========*/



/*==============analytics button===========*/
a.analyticsbutton {
    background: #000;
    padding: 12px 20px 12px 20px;
    color: #fff;
    text-decoration: none !important;
    border-radius: 8px;
    margin: 0 12px 0 0;
}

h3.analyticsdata {
    margin-bottom: 30px;
}
.analyticsheader{
    font-size:35px;
}

.analyticssubmit {
    margin: 30px 0;
}
/*==============analytics button end===========*/

/* Responsive Design */
@media (max-width: 768px) {
    .giveaway-wrapper {
        padding: 20px;
    }

    #countdown {
        font-size: 18px;
        padding: 10px;
    }

    .giveaway-form input[type="submit"],
    .giveaway-referral-form input[type="submit"] {
        width: 100%;
    }
    
    
.giveaway-referral-form h4 {
    font-size: 1em;
    text-align: center;
    margin: 0;
}

p.emailp {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    line-height: 18px;
}

.giveaway-invite-link h4 {
    font-size: 1.3em;
    color: #333;
    margin-top: 0;
    margin-bottom: 0;
}

p.whatsappp {
    margin: 0;
    font-weight: 400;
    line-height: 18px;
    padding-bottom: 15px;
    font-size: 13px;
}
.giveaway-invite-link button {
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
    display: block;
    margin: 0 auto;
    width: 100%;
}


.giveaway-whatsapp-share {
    width: 100%;
    padding: 22px 12px 22px 12px;
    /* margin-bottom: 15px; */
    border: 1px solid #34af23;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border 0.3s ease;
    background-color: #e8f8f8;
}
.giveaway-whatsapp-share h4 {
    font-size: 1.3em;
    color: #333;
    margin: 0;
}

.giveaway-wrapper h1 {
    margin-top: 0;
    font-size: 20px;
}


.giveaway-whatsapp-share a {
    background-color: #28a745;
    color: white;
    padding: 5px 19px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    display: block;
}
.giveaway-feedback {
    font-size: 14px;
}}
