.file-upload-group {
	border: 2px dashed #cbd5e1; /* slate-300 */
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	background-color: #f8fafc; /* slate-50 */
}

.file-upload-group.dragover {
	border-color: #6366f1; /* indigo-500 */
	background-color: #e0e7ff; /* indigo-100 */
}

.file-upload-group label {
	display: block;
	margin-top: 15px;
	color: #4f46e5; /* indigo-600 */
	font-weight: 600;
	cursor: pointer;
}

.file-upload-group input[type="file"] {
	display: none;
}

/* Initially hide the preview container and its label */
#previewContainerWrapper {
	display: none;
}

#previewContainer {
	display: flex;
	justify-content:center;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 20px;
	min-height: 100px; /* To make drag-and-drop reordering visible even with few images */
	border: 1px solid #e2e8f0; /* slate-200 */
	border-radius: 8px;
	padding: 15px;
	background-color: #f8fafc; /* slate-50 */
}

.image-preview {
	position: relative;
	width: 120px;
	height: 120px;
	border: 1px solid #e2e8f0; /* slate-200 */
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #ffffff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	cursor: grab; /* Indicates draggable */
}

.image-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.remove-image {
	position: absolute;
	top: 5px;
	right: 5px;
	background-color: rgba(239, 68, 68, 0.8); /* red-500 with opacity */
	color: white;
	border: none;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	font-size: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.remove-image:hover {
	background-color: #ef4444; /* red-500 */
}

.message-box {
	margin-top: 15px;
	padding: 12px;
	border-radius: 8px;
	font-size: 14px;
	display: none; /* Hidden by default */
}

.message-box.error {
	background-color: #fee2e2; /* red-100 */
	color: #dc2626; /* red-600 */
	border: 1px solid #fca5a5; /* red-300 */
}

.message-box.info {
	background-color: #e0f2fe; /* lightblue-100 */
	color: #0284c7; /* sky-700 */
	border: 1px solid #7dd3fc; /* sky-300 */
}

/* Styling for the submit button */
.submit-button {
	background-color: #4f46e5; /* indigo-600 */
	color: white;
	padding: 12px 25px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
	margin-top: 25px;
	width: 100%;
	border: none;
}

.submit-button:hover {
	background-color: #4338ca; /* indigo-700 */
}

/* Message box for alerts */
.custom-alert-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.custom-alert-box {
	background-color: white;
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	text-align: center;
	max-width: 400px;
	width: 90%;
}

.custom-alert-box h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 15px;
	color: #333;
}

.custom-alert-box p {
	margin-bottom: 20px;
	color: #555;
}

.custom-alert-box button {
	background-color: #4f46e5;
	color: white;
	padding: 10px 20px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.2s;
}

.custom-alert-box button:hover {
	background-color: #4338ca;
}

.complain-id-regist{
	background-color: #0053ad;
    color: #FFFFFF;
    padding: 2px 10px;
    border-radius: 8px;
}

.button-tool{
	width:100%;
	display:flex;
	justify-content:center;
}

 /* Styles for the button container */
        .button-container {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 400px; /* Limit width on larger screens */
        }

        /* Base styles for custom buttons */
        .custom-button {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem; /* rounded-lg */
            font-weight: 600; /* font-semibold */
            color: #ffffff;
            transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
            cursor: pointer;
            border: none;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
        }

        .custom-button:hover {
            transform: translateY(-2px);
        }

        .custom-button:active {
            transform: translateY(0);
            box-shadow: none;
        }

        /* Icon spacing */
        .custom-button i {
            margin-right: 0.5rem; /* Equivalent to mr-2 */
        }

        /* Specific styles for copy button */
        .copy-button {
            background-color: #4f46e5; /* indigo-700 */
        }

        .copy-button:hover {
            background-color: #4338ca; /* indigo-800 */
        }

        /* Specific styles for screenshot button */
        .screenshot-button {
            background-color: #059669; /* emerald-600 */
        }

        .screenshot-button:hover {
            background-color: #047857; /* emerald-700 */
        }

        /* Styles for the tooltip container */
        .tooltip-container {
            position: relative;
            display: inline-block;
            margin-top: 0.5rem; /* Add some space between button and tooltip */
            width: 100%; /* Ensure tooltip is centered relative to its parent container */
            text-align: center; /* Center the tooltip content */
        }

        /* Styles for the tooltip text */
        .tooltip-text {
            visibility: hidden;
            background-color: rgba(0, 0, 0, 0.8);
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px 10px;
            position: absolute;
            z-index: 1;
            bottom: 125%; /* Position above the button */
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s, visibility 0.3s;
            white-space: nowrap; /* Prevent text wrapping */
        }

        .tooltip-text.show {
            visibility: visible;
            opacity: 1;
        }