@charset "utf-8";
/* CSS Document */

/* Default styles for all screen sizes */
body {
    font-family: "Imprima", sans-serif;
	font-weight: 500;
	font-size: 22px;
    margin: 0;
    background: #1C1E1D;
    height: auto;
    display: flex;
    flex-direction: column;
}

.InputHolder,
.input-area,
.clear-btn,
.share-btn,
.save-btn {
    isolation: isolate;
}


.share-image:hover {
    border-color: #2EAAFF;
	color: black;
	font-weight: 600;
}

.social-btn:hover {
    background: #D5FF4F;
	color: black;
	font-weight: 600;
}

.btn-copy:hover, .ecard-btn:hover, .mobile-copy-btn:hover, .mobile-ecard-btn, .mobile-share-btn:hover {
    background: #D5FF4F;
	color: black;
	font-weight: 600;
}

.btn-download:hover, .mobile-download-btn:hover {
    background: #7F4FFF;
	color: black;
	font-weight: 600;
}

.toast.show {
    transform: translateX(0);
}

.modal-content {
    background: #1C1E1D;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
}
                
.modal-header {
    text-align: center;
}
                
.modal-header h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
}
                
.modal-header p {
    color: white;
    margin: 0;
    font-size: 21px;
	font-weight: 500;
}
                
.share-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    margin: 5% auto;
    display: block;
    cursor: pointer;
    border: 2px dashed #ddd;
    transition: border-color 0.3s;
}
                
.action-buttons {
    display: flex;
    gap: 10px;
}
                
.btn {
	flex: 1;
	padding: 12px;
	background-color: black;
	border: none;
	color: #F1F7F6;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
	font-family: "Imprima", sans-serif;
	font-weight: 500;
	font-size: 18px;
	
}
                
.social-platforms {
    display: grid;
    grid-template-columns: 49% 49%;
    gap: 6% 2%;
    margin-bottom: 12%;
}
                
.social-btn {
	padding: 10px 8px;
	background-color: black;
	border: none;
	color: #F1F7F6;
	border-radius: 6px;
 	cursor: pointer;
	font-family: "Imprima", sans-serif;
	font-size: 16px;
  	transition: all 0.3s;
	
}
                
.close-btn {
	background-color: black;
	border: none;
	color: #F1F7F6;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Imprima", sans-serif;
	font-weight: 500;
	font-size: 21px;
    margin-top: 2px;
}
                
.toast {
    position: fixed;
	width: 370px;
    top: 20px;
    right: 20px;
    background: #D5FF4F;
    color: black;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s;
    font-family: "Imprima", sans-serif;
}


/* PORTRAIT MOBILE (up to 1099px wide) */
@media only screen and (orientation: portrait) and (max-width: 1099px) {

.mobile-share-modal-overlay {
    position: fixed;
    background-color: rgba(28,30,29,1);
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 20;    
    top: 0;
    left: 0;
    backdrop-filter: blur(5px); /* ADD THIS */
    -webkit-backdrop-filter: blur(5px); /* ADD THIS for Safari */
}

.mobile-modal-content {
    background: #1C1E1D;
	width: 100%;
	height: 100%;
    overflow: hidden;
}

.mobile-image-container {
	position: fixed;
	display: block;
	width: 100%;
	height: 100%;
    border-radius: 8px;
    top: 0%;
	left: 0%;
    cursor: pointer;
    transition: border-color 0.3s;
	z-index: 20;
}
	
.mobile-share-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    cursor: pointer;
    border: 2px dashed #ddd;
    transition: border-color 0.3s;	
}
	
.mobile-instructions {
    Position: fixed;
	background-color: black;
	color: #F1F7F6;
	border-radius: 7px;
	top: 2%;
	left: 2%;
	width: auto;
	height: auto;
    margin: 0;
	padding: 1% 1%;
    font-size: 22px;
	font-weight: 500;
	z-index: 21;
}

.mobile-action-buttons {
	position: fixed;
	width: 95%;
	left: 2.5%;
	height: auto;
	bottom: 2%;
    display: flex;
    gap: 10px;
	z-index: 26;	
}

.mobile-copy-btn, .mobile-download-btn, .mobile-ecard-btn, .mobile-share-btn {
	background-color: black;
	border: none;
	color: #F1F7F6;	
	flex: 1;
	width: auto;
	height: auto;
	padding: 12px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
	font-family: "Imprima", sans-serif;
	font-weight: 600;
	font-size: 18px;	
}



}

/* LANDSCAPE MOBILE/TABLET (480px to 1099px wide) */
@media only screen and (min-width: 480px) and (orientation: landscape) and (max-width: 1099px) {

.mobile-share-modal-overlay {
	position: fixed;
    background-color: rgba(28,30,29,0.9);
	margin: 0;
	width: 100%;
	height: 100%;
    overflow: hidden;
	justify-content: center;
	align-items: center;
	z-index: 25;	
}

.mobile-modal-content {
    background: rgba(0,0,0,0.1);
	width: 100%;
	height: auto;
    overflow: hidden;
}

.mobile-image-container {
	position: fixed;
	display: block;
	width: 100%;
	height: 100%;
    border-radius: 8px;
    top: 0;
	left: 0;
    cursor: pointer;
    transition: border-color 0.3s;
	z-index: 25;
}

.mobile-share-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    cursor: pointer;
    border: 2px dashed #ddd;
    transition: border-color 0.3s;			
}
	
.mobile-instructions {
    Position: fixed;
	background-color: black;
	color: #F1F7F6;
	border-radius: 7px;
	bottom: 3%;
	left: 5%;
	width: auto;
	height: 10%;
    margin: 0;
	padding: 1% 1%;
    font-size: 22px;
	font-weight: 500;
	z-index: 26;
}

.mobile-action-buttons {
    position: fixed;
    height: auto; /* Let it size to content */
    bottom: 8%;
    right: 5%;
    display: flex;
    gap: 15px;
    z-index: 26;
}

.mobile-copy-btn, .mobile-download-btn, .mobile-ecard-btn, .mobile-share-btn {
    background-color: black;
    min-width: auto; /* Remove min-width constraint */
    height: auto;
    color: #F1F7F6;	
    flex: 1; /* This will make them equal width */
    padding: 12px 20px; /* Increase horizontal padding */
    border-radius: 7px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: "Imprima", sans-serif;
    font-weight: 500;
    font-size: 19px;
    white-space: nowrap;
}
                
.toast {
    position: fixed;
	width: 400px;
    top: 20px;
    right: 20px;
    background: #D5FF4F;
    color: black;
    padding: 14px 22px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s;
    font-family: "Imprima", sans-serif;
    font-size: 18px;
}

}

/* DESKTOP (1100px and wider) */
@media only screen and (min-width: 1100px) {


.modal-content {
    background: #1C1E1D;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
}
                
.modal-header {
    text-align: center;
}
                
.modal-header h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}
                
.modal-header p {
    color: white;
    margin: 0;
    font-size: 24px;
	font-weight: 500;
}
                
.share-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    margin: 2% auto;
    display: block;
    cursor: pointer;
    border: 2px dashed #ddd;
    transition: border-color 0.3s;
}
                
.action-buttons {
    display: flex;
    gap: 20px;
}
                
.btn {
	flex: 1;
	padding: 16px;
	background-color: black;
	border: none;
	color: #F1F7F6;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
	font-family: "Imprima", sans-serif;
	font-weight: 500;
	font-size: 21px;
	
}
                
.social-platforms {
    display: grid;
    grid-template-columns: 49% 49%;
    gap: 6% 2%;
    margin-bottom: 8%;
}
                
.social-btn {
	padding: 14px 12px;
	background-color: black;
	border: none;
	color: #F1F7F6;
	border-radius: 6px;
 	cursor: pointer;
	font-family: "Imprima", sans-serif;
	font-size: 19px;
  	transition: all 0.3s;
	
}
                
.close-btn {
	background-color: black;
	border: none;
	color: #F1F7F6;
    padding: 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Imprima", sans-serif;
	font-weight: 500;
	font-size: 24px;
    margin-top: 2px;
}
                
.toast {
    position: fixed;
	width: 450px;
    top: 20px;
    right: 20px;
    background: #D5FF4F;
    color: black;
    padding: 16px 24px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s;
    font-family: "Imprima", sans-serif;
    font-size: 20px;
}

}