/* Shared styles for the coupon form */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
    color: white;
    position: relative;
    background:black;
}

.main-body {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 100vh;
    box-shadow: 0 0px 520px 50px rgba(0, 0, 0, .8);
}



.container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 15px;
    max-height: 100vh;
    max-width: 600px;
    width: 100%;
}


.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}


.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 600px;
    width: 100%;
}
.popup{
    display: flex;
    justify-content: center;
}
.box {
    background: #fff;
    color: #333;
    padding: 20px 30px 50px 30px;
    border-radius: 16px;
    text-align: center;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}
.box p {
    font-size: 16px;
    margin: 20px 0;
    color: #666;
}
.box h1 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(260px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

.coupon-box {
    padding: 15px;
    margin: 20px 0;
    border-radius: 15px;
    background: rgba(74, 144, 226, 0.05);
}

.coupon-text {
    font-size: 24px !important;
    font-weight: bold;
    margin: 0;
}

.coupon-sent-to{
    font-size:12px !important;
    margin-top:10px !important;
    margin-bottom: 35px !important;
}


.email-link {
    color: #4A90E2;
    text-decoration: underline;
    font-size: 16px;
    cursor: pointer;
}

form {
    max-width: 100%;
    width: 100%;
}

.title {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

.email-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 16px 20px;
    color: white;
    font-size: 16px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.get-started-btn {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 16px 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.get-started-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.consent-group {
    margin-bottom: 20px;
}

.footer-text {
    font-size: 11px;
    line-height: 1.3;
    opacity: 0.8;
    text-align: center;
}

.footer-text a {
    color: white;
    text-decoration: underline;
}

.footer-container {
    margin-top: 10px;
}

.welcome-back {
    font-weight: 600;
    color: #28a745;
    background-color: #e9f8ee;
    padding: 20px;
    font-size: 16px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}


@media (max-width: 480px) {
    .title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .container {
        padding: 12px;
    }


    .email-input,
    .get-started-btn {
        padding: 14px 18px;
        font-size: 20px;
    }

    .footer-text {
        font-size: 10px;
    }
}


.continue-shop {
    /* Basic styling */
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 22px;
    border-radius: 8px;
    text-align: center;
    min-width: 200px;
    
    /* Shadow and depth */
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    
    /* Smooth transitions */
    transition: all 0.3s ease;
    
    /* Prevent text selection */
    user-select: none;
    -webkit-user-select: none;
}
.continue-shop::after {
    content: " →";
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.continue-shop:hover::after {
    transform: translateX(3px);
}

.continue-shop::after {
    content: " →";
    margin-left: 8px;
    display: inline-block;
    animation: arrow-pulse 2s infinite;
}

@keyframes arrow-pulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}


/* Hover effects */
.continue-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, #5BA0F2 0%, #4A8ACD 100%);
    color: white;
    text-decoration: none;
}

/* Fix mobile viewport issues - only apply on mobile */
@media (max-width: 768px) {
    html {
        height: 100%;
        height: -webkit-fill-available;
    }
    
    body {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    .main-body {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        position: relative;
    }
    
    
    @supports (-webkit-touch-callout: none) {
        /* iOS specific fixes */
        .main-body {
            min-height: -webkit-fill-available;
        }
    }
}

