* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body {
	margin: 0;
	padding: 0;
	background: #f5f5f5;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.text-center {
	text-align: center;
}
.btn {
	border: none;
	background: #005447;
	color: #fff;
	padding: 12px;
	font-size: 12px;
	border-radius: 6px;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	transition: all 0.3s ease;
}
.btn:hover {
	background: #006d5b;
}
.hidden {
	display: none !important;
}
/* Main Layout */
.main-container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    max-width: 1140px;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.header {
    justify-content: space-between;
	align-items: center;
    padding: 30px 12px;
    margin-bottom: 20px;
}
.header a {
    font-size: 20px;
    color: #464646;
    font-style: italic;
    text-decoration: none;
    font-weight: 700;
}
.header .social_icon {
    display: flex;
    gap: 4px;
}
.header .social_icon a {
    font-size: 16px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    display: block;
    text-align: center;
    color: #000;
}
.footer {
    justify-content: center;
    margin-top: 30px;
}
.footer p {
    padding: 30px 0;
    color: #464646;
    font-size: 14px;
}
/* Preview and Frames Section */
.preview-frames-section {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}
/* Frames List */
.frames-list {
	width: 100px;
}
/* Preview Section */
.preview-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.preview-section h3 {
	margin: 0 0 20px;
	color: #2c3e50;
}
.live-preview-container {
	width: 400px;
	height: 400px;
	background: #f8f9fa;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.preview {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.frame-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}
.frame-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.frame-selector img {
	width: 100%;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.frame-selector img.selected {
	border-color: #005447;
	box-shadow: 0 4px 12px rgba(0, 84, 71, 0.2);
}
/* Editor Section */
.editor-section {
	width: 100%;
}
.editor-container img {
	height: 350px;
}
/* Upload Area */
.upload-container {
	display: flex;
	align-items: center;
	justify-content: center;
}
.upload-area {
    width: 100%;
    height: 400px;
    border: 2px dashed #dedede;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: all 0.3s ease;
}
.upload-area.dragover {
	background: #e3f2fd;
	border-color: #1976d2;
}
.upload-content {
	text-align: center;
	padding: 20px;
}
.upload-content p{
	margin-bottom: 10px;
}
.upload-icon {
	width: 64px;
	height: 64px;
}
.upload-button {
	display: inline-block;
	padding: 12px 24px;
	background: #005447;
	color: white;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.upload-button:hover {
	background: #006d5b;
	transform: translateY(-1px);
}
/* Editor Container */
.editor-container {
	display: flex;
	flex-direction: column;
}
.cropper-wrapper {
	flex: 1;
	border-radius: 8px;
	overflow: auto;
	position: relative;
	max-height: 400px;
}
/* CropperJS container specific styles */
.cropper-container {
	max-width: 100% !important;
}
.cropper-view-box {
	outline: none;
}
.editor-controls {
	margin-top: 20px;
	display: flex;
	gap: 10px;
	justify-content: center;
}
.control-group {
	display: flex;
	gap: 10px;
}
.btn-control {
	width: 40px;
	height: 40px;
	border: none;
	background: #f8f9fa;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2c3e50;
	transition: all 0.3s ease;
}
.btn-control:hover {
	background: #e9ecef;
	color: #005447;
}
/* Cropper overrides */
.cropper-view-box,
.cropper-face {
	border-radius: 0;
}
.cropper-wrap-box {
	background-color: #f5f5f5;
}
/* Image sizes */
.merged-image {
	max-width: 300px;
	height: auto;
}