/* Profile Frame Generator Styles */

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

.profile-frame-container {
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 20px;
}

.rendered-image {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 10px;
    text-align: center;
}

/* 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 {
padding: 8px 10px;
    background: #f9efe1;
    border-radius: 4px;
	max-width: 300px;
}

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


/* 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 {
        padding: 10px 20px;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    #download-photo .dashicons {
        margin-right: 10px;
    }
}