/* Profile Frame Generator Styles */

/* Canvas and container styles */
#resultCanvas {
    cursor: grab;
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

.profile-frame-container {
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 0 10px;
}

.rendered-image {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 10px;
    text-align: center;
	background:url("/wp-content/uploads/2025/12/Transperancy-1.jpg");
}

/* Accessible file input styles */
.file-input-container {
    margin: 15px 0;
    width: 100%;
}

.file-input-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.upload-photo {
    display: block;
    width: 100%;
    margin: 5px 0;
	background: #ffffff;
    padding: .5em;
}

.file-description {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
}

/* Primary download button styling */
#download-photo {
    margin-top: 10px;
}

#download-photo:hover {
    background: #005c8a;
}

#download-photo .dashicons {
    margin-right: 8px;
    font-size: 18px;
    line-height: 1;
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: text-top;
    color: white;
}
.poster-form {
	background: #d4fbff;
}
.poster-form>div {
	padding:1rem;
}

@media (min-width: 768px) {
	.poster-form {
	background: #d4fbff;
    border-radius: 3rem;
    padding: 0;
	position: relative;
}
.poster-form>div {
margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
}
.profile-frame-container h1 {text-shadow: 2px 2px #1cd1c0;
    font-weight: 800;}
/* Responsive styles */
@media (max-width: 768px) {
    /* Make canvas responsive */
    #resultCanvas {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Ensure container fits screen */
    .profile-frame-container {
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
    }
    
    /* Prevent overflow */
    .rendered-image {
        max-width: 100%;
        overflow: hidden;
    }
    
    #download-photo {
        width: 100%;
        display: flex;
        padding: 10px 20px;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    #download-photo .dashicons {
        margin-right: 10px;
    }
}