/* ============================================================
   BanglaPress - Admin Styles
   assets/css/admin.css
   ============================================================ */

/* --- Page Wrapper --- */
.bkash-settings-page {
	background: linear-gradient(to bottom right, #ffffff 0%, #ffffff 30%, #E2126E 100%);
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	color: #333;
}
.bkash-title {
	font-size: 20px;
	color: #333;
	margin: 10px 0;
	font-weight: bold;
}

/* --- Top Bar --- */
.bp-top-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 15px;
	align-items: center;
}
.flat-bkash-link-button {
	display: inline-block;
	padding: 10px 20px;
	background-color: #ff6b6b;
	color: #ffffff;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.flat-bkash-link-button:hover { background-color: #ff5252; color: #fff; }

/* --- Form --- */
.bkash-form {
	margin-top: 20px;
	padding: 20px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.bkash-heading {
	font-size: 18px;
	color: #333;
	margin-bottom: 10px;
	font-weight: bold;
}
.bkash-form-table td textarea,
.bkash-form-table td input[type="text"] { width: 50%; }
.bkash-separator {
	height: 5px;
	border-top: 1px solid #eee;
	margin: 20px 0;
}

/* Save button */
input[type="submit"].button-primary {
	background: #E2126E;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 17px;
	transition: background 0.3s;
}
input[type="submit"].button-primary:hover { background: #D31165; }

/* --- Shortcode Section --- */
.bkash-shortcode-section {
	margin-top: 20px;
	padding: 15px;
	background: #f9f9f9;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.bkash-description { color: #555; margin-bottom: 6px; }
.bkash-shortcode-section input[type="text"] {
	width: 80%;
	padding: 8px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-right: 10px;
}
.bkash-long-shortcode {
	width: 90%;
	height: 110px;
	padding: 8px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-top: 10px;
	resize: vertical;
}
.bkash-shortcode-buttons { margin-top: 10px; text-align: right; }

/* Shortcode action buttons */
.bkash-copy-button,
.bkash-save-button,
.bkash-reset-button {
	padding: 8px 12px;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	margin-right: 10px;
	margin-top: 5px;
	font-size: 13px;
}
.bkash-copy-button  { background-color: #E2126E; }
.bkash-save-button  { background-color: #4CAF50; }
.bkash-reset-button { background-color: #F44336; }
.bkash-copy-button:hover  { background-color: #C20E5E; }
.bkash-save-button:hover  { background-color: #45A049; }
.bkash-reset-button:hover { background-color: #D32F2F; }

/* --- Popups (Help & CSS) --- */
.help-popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.help-popup-content {
	background: #fff;
	width: 60%;
	max-width: 700px;
	padding: 20px;
	border-radius: 8px;
	position: relative;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
}
.help-popup-content-area { font-size: 1.1em; line-height: 1.6; }

.popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.popup-header h2 { margin: 0; font-size: 1.5em; color: #0073aa; }
.popup-header .dashicons { font-size: 24px; margin-right: 10px; color: #0073aa; }

.popup-close-button { background: transparent; border: none; cursor: pointer; }
.popup-close-button .dashicons { font-size: 18px; color: #555; }
.popup-close-button:hover .dashicons { color: #e2126e; }

.popup-footer { margin-top: 20px; text-align: center; border-top: 1px solid #e5e5e5; padding-top: 10px; }

/* Icon colours */
.icon-blue   { color: #1e90ff; }
.icon-green  { color: #32cd32; }
.icon-orange { color: #ffa500; }
.icon-purple { color: #6a0dad; }
.icon-red    { color: #e2126e; }

/* Donation button */
.donation-button {
	display: inline-block;
	padding: 10px 16px;
	background-color: #ff6f61;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	margin-top: 10px;
}
.donation-button:hover { background-color: #e45a50; }

/* CSS preview box */
.bp-css-preview-box {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 15px;
	overflow-y: auto;
	max-height: 220px;
	position: relative;
	margin: 10px 0;
}
.bp-css-preview-box pre {
	margin: 0;
	font-family: monospace;
	font-size: 13px;
	white-space: pre-wrap;
	word-wrap: break-word;
}
.bp-copy-css-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #0073aa;
	color: #fff;
	border: none;
	padding: 5px 10px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 12px;
}
.bp-copy-css-button:hover { background-color: #005177; }

/* --- Developer Credit --- */
.plugin-developer-credit {
	text-align: center;
	padding: 20px;
	font-size: 1em;
	color: #333;
	background-color: #f1f1f1;
	border-top: 1px solid #e0e0e0;
	margin-top: 20px;
}
.plugin-developer-credit p { margin: 0; font-size: 1.1em; }
.plugin-developer-credit .dashicons-heart { color: #e2126e; }

.developer-social-links { margin-top: 10px; }
.developer-social-links .social-link {
	font-size: 24px;
	margin: 0 10px;
	color: #333;
	display: inline-block;
	text-decoration: none;
	transition: color 0.3s ease;
}
.developer-social-links .social-link:hover       { color: #0073aa; }
.developer-social-links .social-link.github:hover    { color: #24292f; }
.developer-social-links .social-link.facebook:hover  { color: #3b5998; }
.developer-social-links .social-link.wordpress:hover { color: #21759b; }
.developer-social-links .social-link.website:hover   { color: #42a5f5; }
