@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap');

.ppd-wrapper {
	max-width: 720px;
	margin: 20px auto;
	font-family: 'Vazirmatn', Tahoma, sans-serif;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 28px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.ppd-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 8px;
	border-bottom: 1px solid #eee;
	padding-bottom: 18px;
	margin-bottom: 24px;
}
.ppd-logo { max-height: 64px; }
.ppd-header h2 { margin: 0; font-size: 21px; font-weight: 600; color: #1d2327; }

.ppd-login-box { max-width: 320px; margin: 0 auto; text-align: center; }
.ppd-login-box label { display: block; margin: 12px 0 4px; font-weight: 500; text-align: right; }
.ppd-login-box input {
	width: 100%; padding: 10px; box-sizing: border-box;
	border: 1px solid #ccc; border-radius: 6px;
	font-family: inherit; font-size: 14px;
	text-align: right;
}
.ppd-login-box button {
	width: 100%; margin-top: 16px; padding: 10px 18px;
	border-radius: 6px; border: none; cursor: pointer;
	font-family: inherit; font-size: 15px; font-weight: 500;
	background: #2271b1; color: #fff;
}
.ppd-login-box button:hover { background: #195a8b; }

.ppd-btn-primary, .ppd-btn-secondary {
	display: inline-block; padding: 8px 18px; border-radius: 4px;
	border: none; cursor: pointer; font-size: 14px; text-decoration: none;
	margin-top: 10px;
}
.ppd-btn-primary { background: #2271b1; color: #fff; }
.ppd-btn-secondary { background: #f0f0f1; color: #333; border: 1px solid #ccc; }

.ppd-welcome {
	display: flex; justify-content: space-between; align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap; gap: 10px;
}

.ppd-change-pass-box {
	max-width: 320px; margin: 0 0 20px; text-align: center;
	background: #f9f9f9; padding: 16px; border-radius: 6px;
}
.ppd-change-pass-box label { display: block; margin: 12px 0 4px; font-weight: 500; text-align: right; }
.ppd-change-pass-box input {
	width: 100%; padding: 10px; box-sizing: border-box;
	border: 1px solid #ccc; border-radius: 6px;
	font-family: inherit; font-size: 14px;
	text-align: right;
}
.ppd-change-pass-box button { width: 100%; margin-top: 16px; }

.ppd-filter-box {
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	background: #f9f9f9; padding: 14px; border-radius: 6px;
}
.ppd-filter-box select { padding: 6px; border-radius: 4px; border: 1px solid #ccc; }

.ppd-msg { margin-top: 12px; font-weight: bold; }
.ppd-msg.ppd-error { color: #c0392b; }
.ppd-msg.ppd-success { color: #27ae60; }

.ppd-viewer { margin-top: 20px; }
.ppd-viewer-actions { margin-bottom: 10px; display: flex; gap: 10px; }
#ppd-pdf-frame { width: 100%; height: 600px; border: 1px solid #ccc; border-radius: 6px; }

.ppd-admin-form .form-table th { width: 180px; }
.ppd-search-form { margin: 14px 0; }
.ppd-search-form input[type="text"] { width: 280px; padding: 6px; }
