/*Modals old styles start*/
/*subscribe modal code*/

 #mc_embed_signup .asterisk {
    color: #e85c41;
    font-size: 150%;
    font-weight: normal;
    position: relative;
		  top: 5px;}
#mc_embed_signup {
	background:#fff; false;clear:left; font:14px Helvetica,Arial,sans-serif; width: 600px;
}
#mc_embed_signup .indicates-required {
    text-align: right;
    font-size: 11px;
    margin-right: 4%;
}

#mc_embed_signup input {
    border: 1px solid #d88357 !important;
    height: 25px;
	width:200px!important;
    background: #fff !important;
    padding: 5px 5px 5px 5px;
    margin: 0px 0 10px 0;
    color: #666 !important;
    text-transform: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

#mc_embed_signup input.button {
  border:1px solid #000 !important;
	background-color:#d88357 !important;
	color:#000 !important;

}

#mc_embed_signup input:hover.button {
  border:1px solid #d88357 !important;
	background-color:#000 !important;
	color:#d88357 !important;

}

#mc_embed_signup input.button {
    clear: both;
    background-color: #111;
    border: 0 none;
    border-radius: 4px;
    transition: all 0.23s ease-in-out 0s;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    height: 32px;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: fit-content;
}
.signupprivacy{
	float:right;
	margin-top:11px;
}

 #myModal-signup {
            display: none; /* Hidden by default */
            position: fixed; 
            z-index: 1000; 
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }
        .modal-content-signup {
            
            margin: 30px auto 0 auto;
            padding: 0px;
            width: 640px;
			
        }
		  .modal-content-signup-inside {
            background-color: white;
            margin: 0 auto 0 auto;
            padding: 20px;
            width: 640px;
        }

/*signup modal styles*/
		
   #myModal-signup {
    /* Add scrolling capability */
    overflow-y: auto;
    padding: 20px 0;
    box-sizing: border-box;
}
.modal-content-signup {
    /* Make responsive */
    width: 90%;
    max-width: 640px;
    max-height: calc(100vh - 40px);
    
    /* Center when space allows */
    top: 50%;
    transform: translateY(0%);
}

.modal-content-signup-inside {
    /* Enable internal scrolling */
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    box-sizing: border-box;
}

/* Small height adjustments */
@media (max-height: 600px) {
    .modal-content-signup {
        top: 0;
        transform: none;
        margin-top: 10px;
    }
}
		
		/*end signup modal styles*/

/*end subscribe modal code*/

/*start tutorial pop-up styles*/

/* Modal backdrop */
#myModal-tutorial {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

/* Modal content container */
.modal-content-tutorial {
    position: relative;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1042px;
    height: 568px;
    background-image: url('../images/pop-up-mockups-Elements-GIF1v2.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	border-radius: 25px;
    background-color: white;
    border: 5px solid #cf7b5a;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-left: 5px;
    padding-left: 5px;
    transition: all 0.3s ease;
}

/* Close button styling */
#closeTutorialModal {
    position: absolute;
    top: 23px;
    right: 23px;
    width: 51px;
    height: 51px;
    background-image: url('../images/close.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 0; /* Hide the × symbol */
    color: transparent;
    border: none;
    background-color: transparent;
}

#closeTutorialModal:hover {
    transform: translateY(-5px);
}

/* Character image */
.modal-content-tutorial::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 384px;
    height: 477px;
    background-image: url('../images/character.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Button container */
.button-container {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 20px;
    z-index: 10;
}

/* Button styling */
.modal-button {
    padding: 12px 24px;
    font-size: 21px;
    font-family: sans-serif;
    color: #0a2e3c;
    background-color: #ffffff;
    border: 1px solid #0a2e3c;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.modal-button:hover {
    color: white;
    background-color: #0a2e3c;
	border: 1px solid #ffffff;
}

/* Specific button styling if needed */
#thankYouBtn {
    margin-right: 0;
}

input[name="remind-later"] {
    padding: 12px 24px;
    font-size: 21px;
    font-family: sans-serif;
    color: #0a2e3c;
    background-color: #ffffff;
    border: 1px solid #0a2e3c;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: 40px;
}

input[name="remind-later"]:hover {
    color: white;
    background-color: #0a2e3c;
	border: 1px solid #ffffff;
}

/* Responsive design */
@media screen and (max-width: 1100px) {
    .modal-content-tutorial {
        width: 90vw;
        height: auto;
        aspect-ratio: 1042/568;
        max-width: 1042px;
        max-height: 568px;
    }
    
    .modal-content-tutorial::before {
        width: 30%;
        height: auto;
        aspect-ratio: 384/477;
	
    }
    
    #closeTutorialModal {
        width: 4.5vw;
        height: 4.5vw;
        max-width: 51px;
        max-height: 51px;
        min-width: 30px;
        min-height: 30px;
        top: 2vw;
        right: 2vw;
    }
    
    .button-container {
        bottom: 3vw;
        right: 3vw;
        gap: 15px;
    }
    
    .modal-button,
    input[name="remind-later"] {
        font-size: 18px;
        padding: 10px 20px;
    }
}

@media screen and (max-width: 768px) {
    .modal-content-tutorial {
        width: 95vw;
        margin-left: 2.5vw;
        padding-left: 0;
    }
    
    .button-container {
        flex-direction: column;
        bottom: 20px;
        right: 20px;
        gap: 10px;
        align-items: flex-end;
    }
    
    .modal-button,
    input[name="remind-later"] {
        font-size: 16px;
        padding: 8px 16px;
        margin-right: 0;
    }
}

@media screen and (max-width: 480px) {
    .modal-content-tutorial {
        width: 98vw;
        margin-left: 1vw;
    }
    
    .modal-content-tutorial::before {
        width: 35%;
    }
    
    .button-container {
        bottom: 15px;
        right: 15px;
    }
    
    .modal-button,
    input[name="remind-later"] {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/*END tutorial pop-up styles*/
/*Modal old styles end*/

/* Tutorial Modal - Updated Styles */
#myModal-tutorial {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    overflow: hidden;
}

/* Modal content container - RESPONSIVE */
.modal-content-tutorial-new {
    position: relative;
    margin: 20px auto;
    width: 90%;
    max-width: 800px;
    max-height: 100vh;
    background-color: white;
    border: 5px solid #cf7b5a;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Close button styling */
#closeTutorialModal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #cf7b5a;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#closeTutorialModal:hover {
    background-color: #a85f42;
    transform: scale(1.1);
}

/* Scrollable content area */
.tutorial-scroll-content {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: calc(95vh);
    padding: 60px 30px 20px 30px;
    scrollbar-width: thin;
    scrollbar-color: #cf7b5a #f0f0f0;
}

/* Custom scrollbar for webkit browsers */
.tutorial-scroll-content::-webkit-scrollbar {
    width: 12px;
}

.tutorial-scroll-content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.tutorial-scroll-content::-webkit-scrollbar-thumb {
    background: #cf7b5a;
    border-radius: 10px;
}

.tutorial-scroll-content::-webkit-scrollbar-thumb:hover {
    background: #a85f42;
}

/* Holiday Section */
.holiday-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 15px;
    margin-bottom: 30px;
}

.holiday-mascot {
    max-width: 100px;
    max-height: 200px;
    width: auto;
    height: auto;
    flex-shrink: 0;
	float:left;
}

.holiday-text {
    flex: 1;
}

.holiday-section h2 {
    color: #cf7b5a;
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 0;
}

.holiday-section p {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* Mobile responsive - stack on small screens */
/*@media screen and (max-width: 768px) {
    .holiday-section {
        flex-direction: column;
        text-align: center;
    }
    
    .holiday-mascot {
        max-width: 80px;
        max-height: 160px;
    }
    
    .holiday-section h2 {
        font-size: 20px;
    }
    
    .holiday-section p {
        font-size: 16px;
    }
}

/* Login Instructions Section */
.login-instructions {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 15px;
    margin-bottom: 30px;
}

.login-instructions h3 {
    color: #0a2e3c;
    font-size: 22px;
    margin-bottom: 15px;
}

.login-instructions p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.login-instructions-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.instruction-image {
    max-width: 250px;
    height: auto;
    border: 2px solid #cf7b5a;
    border-radius: 10px;
}

/* Registration Form Section */
.registration-section {
    padding: 20px;
    background-color: white;
    border-radius: 15px;
}

.registration-section h3 {
    color: #0a2e3c;
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
}

/* Form styling inside modal */
#mc_embed_signup_tutorial {
    background: #fff;
    clear: left;
    font: 14px Helvetica, Arial, sans-serif;
    width: 100%;
}

#mc_embed_signup_tutorial .indicates-required {
    text-align: right;
    font-size: 11px;
    margin-right: 4%;
}

#mc_embed_signup_tutorial .asterisk {
    color: #e85c41;
    font-size: 150%;
}

#mc_embed_signup_tutorial input[type="text"],
#mc_embed_signup_tutorial input[type="email"],
#mc_embed_signup_tutorial input[type="number"] {
    border: 1px solid #d88357 !important;
    height: 35px;
    width: 100% !important;
    background: #fff !important;
    padding: 5px;
    margin: 5px 0 10px 0;
    color: #666 !important;
    box-sizing: border-box;
}

#mc_embed_signup_tutorial label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* Button container at bottom */
.button-container-tutorial {
    padding: 20px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 2px solid #f0f0f0;
    background-color: #fafafa;
    border-radius: 0 0 20px 20px;
}

/* Button styling */
.modal-button-tutorial {
    padding: 12px 24px;
    font-size: 16px;
    font-family: sans-serif;
    color: #0a2e3c;
    background-color: #ffffff;
    border: 2px solid #0a2e3c;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 150px;
}

.modal-button-tutorial:hover {
    color: white;
    background-color: #0a2e3c;
}

input[name="already-registered-tutorial"] {
    padding: 12px 24px;
    font-size: 16px;
    font-family: sans-serif;
    color: #0a2e3c;
    background-color: #ffffff;
    border: 2px solid #0a2e3c;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

input[name="already-registered-tutorial"]:hover {
    color: white;
    background-color: #0a2e3c;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .modal-content-tutorial-new {
        width: 95%;
        margin: 10px auto;
        max-height: 85vh;
    }
    
    .tutorial-scroll-content {
        padding: 50px 15px 15px 15px;
        max-height: calc(100vh);
    }
    
    .holiday-section h2 {
        font-size: 20px;
    }
    
    .holiday-section p {
        font-size: 16px;
    }
    
    .login-instructions h3,
    .registration-section h3 {
        font-size: 18px;
    }
    
    .button-container-tutorial {
        padding: 15px;
        flex-direction: column;
    }
    
    .modal-button-tutorial,
    input[name="already-registered-tutorial"] {
        width: 100%;
        font-size: 14px;
    }
    
    #closeTutorialModal {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .holiday-mascot {
        max-width: 150px;
    }
    
    .instruction-image {
        max-width: 100%;
    }
}