.g5-mod-update-block {
	border: 1px solid #ddd;
	padding: 20px;
	margin-bottom: 25px;
	border-radius: 8px;
	background-color: #f9f9f9;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.g5-update-header {
	border-bottom: 2px solid #0073aa;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.g5-update-date {
	font-size: 16px;
	color: #0073aa;
	font-weight: 600;
	margin-bottom: 8px;
}

.g5-update-mod-name {
	font-size: 18px;
	color: #333;
	font-weight: 700;
}

.g5-update-content {
	padding-top: 10px;
}

.g5-update-details-label {
	font-size: 16px;
	color: #555;
	font-weight: 600;
	margin-bottom: 10px;
}

.g5-update-details {
	background-color: #fff;
	padding: 15px;
	border-radius: 5px;
	border-left: 4px solid #0073aa;
	line-height: 1.6;
}

.g5-update-details p {
	margin: 0 0 10px 0;
}

.g5-update-details p:last-child {
	margin-bottom: 0;
}

.g5-product-link {
	display: inline-block;
	margin-top: 15px;
	padding: 8px 16px;
	background-color: #28a745;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	transition: background-color 0.2s;
}

.g5-product-link:hover {
	background-color: #218838;
	color: white;
	text-decoration: none;
}

/* WooCommerce Button Styles */
#g5-open-bug-report-modal {
	background-color: #e74c3c !important;
	border-color: #c0392b !important;
	color: white !important;
	transition: all 0.3s ease !important;
}

#g5-open-bug-report-modal:hover {
	background-color: #c0392b !important;
	border-color: #a93226 !important;
}

/* Modal Styles */
.g5-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	display: none;
}

.g5-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	z-index: 9999;
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	display: none;
}

.g5-modal-content {
	padding: 0;
}

.g5-modal-header {
	background-color: #f8f9fa;
	padding: 20px 20px 15px 20px;
	border-bottom: 1px solid #dee2e6;
	border-radius: 8px 8px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.g5-modal-header h2 {
	margin: 0;
	font-size: 1.5em;
	color: #333;
}

.g5-modal-close {
	font-size: 24px;
	font-weight: bold;
	color: #666;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s;
}

.g5-modal-close:hover {
	color: #333;
}

/* Form Styles */
.g5-modal form {
	padding: 20px;
}

.g5-form-group {
	margin-bottom: 20px;
}

.g5-form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	color: #333;
}

.g5-form-input,
.g5-form-textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.g5-form-input:focus,
.g5-form-textarea:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.g5-form-textarea {
	resize: vertical;
	min-height: 100px;
}

.g5-form-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.g5-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
	display: inline-block;
}

.g5-btn-primary {
	background-color: #0073aa;
	color: white;
}

.g5-btn-primary:hover {
	background-color: #005a87;
}

.g5-btn-secondary {
	background-color: #6c757d;
	color: white;
}

.g5-btn-secondary:hover {
	background-color: #545b62;
}

/* Body scroll lock when modal is open */
body.g5-modal-open {
	overflow: hidden;
}

/* Success message styles */
.notice.notice-success {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
	padding: 12px 15px;
	border-radius: 4px;
	margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.g5-modal {
		width: 95%;
		max-width: none;
	}
	
	.g5-form-actions {
		flex-direction: column;
	}
	
	.g5-btn {
		width: 100%;
		text-align: center;
	}
	
	#g5-open-bug-report-modal {
		width: 100%;
		margin-top: 15px !important;
	}
	
	.g5-update-date,
	.g5-update-mod-name {
		font-size: 14px;
	}
}
