body {
	margin: 0;
	padding: 0 0 0 0;
	font: normal 13px Arial, Tahoma, Sans-serif;
	direction: rtl;
	background-image : url('pics/bg.png');
	background-color: #fff;
}

/* ========== הדר עליון – עיצוב מקצועי ========== */
#header {
	width: 100%;
	min-height: 48px;
	background: linear-gradient(180deg, #0c3a75 0%, #0d4290 50%, #104a9a 100%);
	box-shadow: 0 2px 10px rgba(0,0,0,0.12);
	position: relative;
	z-index: 100;
}
#header .header_desktop {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	box-sizing: border-box;
}
#header .header_desktop_inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	flex-wrap: wrap;
	max-width: 960px;
	width: 100%;
	font-family: Arial, Tahoma, sans-serif;
	font-size: 13px;
	color: #fff;
}
#header .header_welcome {
	font-weight: 500;
	color: rgba(255,255,255,0.9);
	margin-left: auto;
}
#header .header_user {
	font-weight: 600;
	color: #fff;
}
#header .header_nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}
#header .header_nav_link {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 6px;
	background: rgba(255,255,255,0.14);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 12px;
	line-height: 1.4;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
	border: 1px solid rgba(255,255,255,0.2);
}
#header .header_nav_link:hover {
	background: rgba(255,255,255,0.26);
	color: #fff;
}
#header .header_nav_link.header_nav_logout {
	background: rgba(220, 53, 69, 0.25);
	border-color: rgba(255,255,255,0.15);
	color: #ffb3b8;
}
#header .header_nav_link.header_nav_logout:hover {
	background: rgba(220, 53, 69, 0.4);
	color: #fff;
}

/* מובייל – תפריט צד ופרופיל (מוסתר בדסקטופ) */
.header_mobile {
	display: none;
}
.side_menu_overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.35);
	z-index: 1000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	backdrop-filter: blur(2px);
}
.side_menu_overlay.open {
	opacity: 1;
	pointer-events: auto;
}
.side_menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 300px;
	max-width: 88vw;
	height: 100%;
	background: #fff;
	z-index: 1001;
	box-shadow: -4px 0 24px rgba(0,0,0,0.12);
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
	box-sizing: border-box;
	visibility: hidden;
	pointer-events: none;
}
.side_menu.open {
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
}
.side_menu_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 20px;
	background: linear-gradient(135deg, #0d3d82 0%, #104a9a 100%);
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.02em;
}
.side_menu_close {
	background: rgba(255,255,255,0.15);
	border: none;
	color: #fff;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.side_menu_close:hover {
	background: rgba(255,255,255,0.25);
}
.side_menu ul {
	list-style: none;
	padding: 16px 0;
	margin: 0;
	border-top: 1px solid #eee;
}
.side_menu ul li {
	margin: 0;
	border-bottom: 1px solid #f0f0f0;
}
.side_menu ul li:last-child {
	border-bottom: none;
}
.side_menu ul li a {
	display: block;
	padding: 14px 24px;
	color: #1a1a1a;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	width: 100%;
	text-align: right;
	box-sizing: border-box;
	transition: background 0.2s, color 0.2s;
}
.side_menu ul li a:hover {
	background: #f5f8fc;
	color: #104a9a;
}
.side_menu ul li a:active {
	background: #e8eef5;
}

#bar {
	height: 52px;
	margin: 0 0 0 0;
}
#bar ul {
	padding: 65px 45px 0 0;
	list-style: none;
}
#bar ul li a {
	font-style: italic;
	color: #fff;
	list-style: none;
	font-weight: bold;
	text-decoration: none;
	width: 99px;
	height: 52px;
	background-image: url('pics/bar.png');
	float: right;
	line-height: 26px;
	text-align: center;
	margin-right: 20px;
}
#bar ul li a:hover {
	font-style: italic;
	color: #fff;
	list-style: none;
	font-weight: bold;
	text-decoration: none;
	width: 99px;
	height: 52px;
	background-image: url('pics/barhover.png');
	line-height: 26px;
	text-align: center;
	margin-right: 20px;
}



#page{
	width: auto;
	margin: 0;
	padding: 5px 0 0 0;
	margin-right:auto;
	margin-left:auto;
}
#logo {
	margin-right: auto;
	margin-left: auto;
	width: 992px;
	height: 131px;
	background-image: url('pics/logo.png');
}
.top_bar_css { display: none; }
.top_bar_img { display: block; text-align: center; }
.top_bar_img img { vertical-align: top; }
.page_block_1{
	margin-right:auto;
	margin-left:auto;
	width: 918px;
	height: auto;
	background-color: #fff;
}
.text_up_page {
	font-size: 16px;
	color: #104a9a;
	text-align: right;
	padding-right: 15px;
	padding-top: 6px;
	font-weight: bold;
	border-bottom: 3px solid lightgray;
	margin: 0 0 10px 0;
	font-family: arial, tahoma;
}
.page_site {
	padding: 5px 12px 15px 0;
	font-weight: bold;
	color: #222222;
	overflow: hidden;
}
.page_site_1 {
	padding : 5px 0 0 0;
	font-weight: bold;
	color: #222222;
}
/* עמוד תנאי שימוש – תצוגה מקצועית */
.rules_page {
	font-weight: normal;
	max-width: 720px;
	line-height: 1.6;
}
.rules_page .rules_section {
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
}
.rules_page .rules_section:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.rules_page .rules_title {
	font-size: 17px;
	font-weight: bold;
	color: #0c3a75;
	margin: 0 0 12px 0;
	padding: 0;
}
.rules_page .rules_section p {
	margin: 0 0 10px 0;
	font-weight: normal;
	color: #333;
}
.rules_page .rules_section p:last-child {
	margin-bottom: 0;
}
.rules_page .rules_list {
	margin: 8px 0 0 0;
	padding-right: 22px;
	padding-left: 0;
	list-style: disc;
}
.rules_page .rules_list li {
	margin-bottom: 6px;
	font-weight: normal;
	color: #333;
}
.rules_page .rules_list li:last-child {
	margin-bottom: 0;
}
/* בלוק ברוך הבא – רוחב מלא, רקע תואם לאתר */
.welcome_wrap {
	width: 100%;
	max-width: calc(100% - 8px);
	box-sizing: border-box;
}
.welcome_1 {
	color: #fff !important;
	list-style: none;
	font-weight: bold;
	font-style: italic;
	text-decoration: none;
	width: 100%;
	min-height: 44px;
	padding: 12px 12px 12px 28px;
	box-sizing: border-box;
	background-color: #0c3a75;
	background: linear-gradient(180deg, #0c3a75 0%, #0d4290 50%, #104a9a 100%);
	border-radius: 0;
	box-shadow: 0 2px 8px rgba(12, 58, 117, 0.25);
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
	text-align: right;
}
.welcome_2 {
	color: #222;
	font-weight: bold;
	list-style: none;
	text-decoration: none;
	padding: 14px 4px 18px 0;
	background: transparent;
	border: none;
	box-sizing: border-box;
}
.welcome_2 p {
	margin: 0 0 12px 0;
	font-weight: normal;
}
.welcome_2 p:last-child {
	margin-bottom: 0;
}
.index_welcome_table {
	padding: 0 12px;
	box-sizing: border-box;
}
.index_blocks_table {
	margin-right: auto;
	margin-left: auto;
}
/* כותרת הבלוק (העלאת תמונות/קבצים) – על כל רוחב הבלוק */
.blockup-header-cell {
	width: 100%;
	padding: 0;
	vertical-align: top;
}
.blockup .blockup-header-wrap {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0 0 16px 0;
	margin: 0 0 16px 0;
	border-bottom: 2px solid #e8ecf0;
	min-height: 52px;
}
.blockup .blockup-header-wrap .file_1 {
	margin-bottom: 8px;
	font-size: 18px;
	font-weight: 700;
	color: #0c3a75;
	letter-spacing: 0.02em;
}
.blockup .blockup-header-wrap .upload-limit-info {
	line-height: 1.5;
	margin-top: 4px;
	padding: 0;
	white-space: nowrap;
	font-size: 13px;
	color: #555;
}
.file_1 {
	color: #1a1a1a;
	list-style: none;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 4px 0;
}
.upload-limit-info {
	font-size: 14px;
	color: #555;
	margin-top: 4px;
	line-height: 1.5;
}
.limit-badge {
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 4px;
	font-weight: 600;
}
.limit-badge.limit-free {
	color: #0a3a7a;
	background: #e3f2fd;
}
.limit-badge.limit-premium {
	color: #0d7a0d;
	background: #e8f5e9;
	font-weight: bold;
}
/* תמונה בהקטנה – לחיצה לפתיחה בגודל מקור בתוך העמוד (lightbox) */
.image-preview-wrap { margin: 10px 0; }
.image-preview-hint { font-size: 12px; color: #888; margin-right: 6px; }
.image-thumb-link { display: inline-block; cursor: pointer; border: 2px solid transparent; border-radius: 8px; transition: border-color 0.2s, box-shadow 0.2s; }
.image-thumb-link:hover { border-color: #104a9a; box-shadow: 0 2px 12px rgba(16, 74, 154, 0.25); }
.image-thumb { display: block; vertical-align: middle; }

/* Lightbox – תמונה בגודל מקור בתוך העמוד */
.image-lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}
.image-lightbox-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.85);
	cursor: pointer;
}
.image-lightbox-inner {
	position: relative;
	z-index: 1;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.image-lightbox-img {
	max-width: 100%;
	max-height: 95vh;
	width: auto;
	height: auto;
	object-fit: contain;
	background: #111;
	border-radius: 6px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.image-lightbox-close {
	position: absolute;
	top: -44px;
	right: 0;
	width: 40px;
	height: 40px;
	border: none;
	background: rgba(255,255,255,0.2);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.image-lightbox-close:hover {
	background: rgba(255,255,255,0.35);
}
/* בלוק העלאה – כרטיס מודרני, רוחב מצומצם שלא יברח מהצדדים */
.blockup {
	width: 100%;
	max-width: 380px;
	min-height: 200px;
	background: #fff;
	border: 1px solid #e8ecf0;
	border-radius: 14px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	padding: 24px;
	box-sizing: border-box;
	margin: 0 auto;
}
.blockup table {
	border-spacing: 0 4px;
	table-layout: fixed;
	width: 100%;
}
.blockup td {
	padding: 6px 0;
	vertical-align: middle;
	min-width: 0;
	overflow: hidden;
}
.blockup .text_1 {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	padding: 0 12px 0 0;
}

.file  {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 10px 14px;
	color: #333;
	font-size: 14px;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	background: #fff;
	font-family: Arial, Verdana, sans-serif;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.file:focus {
	border-color: #104a9a;
	outline: none;
	box-shadow: 0 0 0 2px rgba(16, 74, 154, 0.12);
}
.blockup .file,
.blockup input[type="text"],
.blockup input[type="email"] {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	height: auto;
	min-height: 42px;
}
.text_1 {
	color: #333;
	font-weight: 600;
	font-size: 14px;
	list-style: none;
	text-decoration: none;
}
/* שדה סיסמה – מוצג רק אחרי לחיצה על "כן" */
.password-reveal-row { display: none; }
.email-section-label { margin-bottom: 6px; }
.email-row { margin-bottom: 10px; max-width: 100%; min-width: 0; overflow: hidden; }
.email-row:last-child { margin-bottom: 0; }
.terms-row .terms-label { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; flex-wrap: nowrap; }
.terms-label a { pointer-events: auto; }
.blockup input[name="check"] { margin: 0; cursor: pointer; flex-shrink: 0; }
.blockup input[type="submit"] { margin-top: 8px; }
.table_teil {
       background:url('pics/tile.png') repeat;
	height: 31px;
	width: 100%;
	font-size: 15px;
	color: #000;
	text-align:right;
	padding : 2px 10px 0 0;
	font-weight: bold;
	font-family: arial , tahoma;
}
.page_table {
	background-color: #eeeeee;
}
.page_td_up {
	text-align:center;
	background-color: #eeeeee;
	color: #555;
	font-family: arial , tahoma;
}
.page_td {
	text-align:center;
	background-color: #ffffff;
}
.page_td:hover {
	text-align:center;
	background-color: #eeeeee;
}

#end {
	margin-right: auto;
	margin-left: auto;
	padding-top: 23px;
	width: 980px;
	height: 17px;
	background-image: url('pics/end.png');
}
.a {
	font-weight: bold;
	color:#fe7421;
}
.a:hover {
	font-weight: bold;
	color:#104a9a;
}
.a_2 {
	font-weight: bold;
	color:#104a9a;
}
.a_3{
	font-weight: bold;
	color:#eeee33;
}

/* ---- הודעות הצלחה ושגיאה – אחיד, ממורכז, 80% רוחב ---- */
.yes,
.no {
	display: block;
	width: 80%;
	max-width: 80%;
	margin: 0 auto 16px auto;
	text-align: center;
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.5;
	box-sizing: border-box;
	border: 1px solid transparent;
}
.yes {
	background: #e8f5e9;
	border-color: #2e7d32;
	color: #1b5e20;
}
.yes::before { content: "✓ "; font-weight: bold; margin-left: 6px; }
.no {
	background: #ffebee;
	border-color: #c62828;
	color: #b71c1c;
}
.no::before { content: "✕ "; font-weight: bold; margin-left: 6px; }

/* ---- שדות קלט וכפתורים – אחיד ומקצועי ---- */
.input {
	width: 280px;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #b0bec5;
	border-radius: 6px;
	color: #333;
	background: #fff;
	font-size: 15px;
	font-family: Arial, Verdana, sans-serif;
	box-sizing: border-box;
	transition: border-color 0.2s;
}
.input:focus {
	border-color: #104a9a;
	outline: none;
	box-shadow: 0 0 0 2px rgba(16, 74, 154, 0.15);
}
.input::placeholder { color: #78909c; }
.textarea {
	width: 100%;
	min-width: 200px;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #b0bec5;
	border-radius: 6px;
	color: #333;
	background: #fff;
	font-size: 15px;
	font-family: Arial, Verdana, sans-serif;
	box-sizing: border-box;
	transition: border-color 0.2s;
	resize: vertical;
}
.textarea:focus {
	border-color: #104a9a;
	outline: none;
	box-shadow: 0 0 0 2px rgba(16, 74, 154, 0.15);
}
.submit {
	min-width: 120px;
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	color: #fff;
	background: #104a9a;
	font-size: 15px;
	font-weight: bold;
	font-family: Arial, Verdana, sans-serif;
	cursor: pointer;
	transition: background 0.2s;
}
.submit:hover { background: #0a3a7a; }
.submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* טופס סיסמה להורדת קובץ – כרטיס מקצועי */
.download_password_form { max-width: 420px; margin: 0 auto; }
.download_password_card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	text-align: right;
}
.download_password_title {
	font-size: 18px;
	font-weight: bold;
	color: #0c3a75;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
}
.download_password_row { margin-bottom: 16px; }
.download_password_label {
	display: block;
	font-size: 14px;
	font-weight: bold;
	color: #333;
	margin-bottom: 6px;
}
.download_password_input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 16px;
	font-family: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.download_password_input:focus {
	border-color: #104a9a;
	outline: none;
	box-shadow: 0 0 0 2px rgba(16, 74, 154, 0.15);
}
.download_password_submit {
	margin-top: 20px;
	text-align: center;
}
.download_password_submit .submit {
	width: 100%;
	max-width: 280px;
	min-height: 48px;
	font-size: 16px;
}

/* ---- אזור Drag & Drop – עיצוב מודרני ---- */
.dropzone-box {
	position: relative;
	display: block;
	min-height: 120px;
	padding: 32px 24px;
	border: 2px dashed #104a9a;
	border-radius: 12px;
	background: #f8fafc;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.dropzone-box:hover,
.dropzone-box.dragover {
	background: #e8f0fe;
	border-color: #0d3d82;
	box-shadow: 0 0 0 3px rgba(16, 74, 154, 0.08);
}
/* טופס עם dropzone – מגדיר containing block ל-input המוסתר כדי שלא ירחיב את המסמך */
.page_block_1 form[enctype="multipart/form-data"] {
	position: relative;
}
.dropzone-text {
	display: block;
	color: #104a9a;
	font-weight: 700;
	font-size: 16px;
}
.dropzone-filelist {
	margin-top: 12px;
	text-align: right;
	font-size: 13px;
	color: #333;
}
.dropzone-list-title {
	font-weight: bold;
	color: #104a9a;
	margin-bottom: 6px;
}
.dropzone-list {
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 120px;
	overflow-y: auto;
}
.dropzone-list li {
	padding: 4px 0;
	border-bottom: 1px solid #e0e0e0;
}
.dropzone-list li:last-child { border-bottom: none; }
.dropzone-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.dropzone-item-name {
	flex: 1;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.dropzone-remove {
	display: inline-block;
	width: 22px;
	height: 22px;
	line-height: 20px;
	padding: 0;
	border: 1px solid #c00;
	background: #fff;
	color: #c00;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	border-radius: 3px;
	flex-shrink: 0;
}
.dropzone-remove:hover {
	background: #c00;
	color: #fff;
}
.dropzone-size {
	color: #666;
	font-size: 12px;
}
.dropzone-list-empty {
	color: #888;
	font-style: italic;
}
/* input לא גלוי – בלי להרחיב את המסמך (left:-9999px שובר RTL במובייל) */
.upload-input-hidden {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	overflow: hidden !important;
	clip: rect(0,0,0,0) !important;
	pointer-events: none !important;
	font-size: 0 !important;
}
/* הסתרת כפתור "עיון" בדפדפנים */
.upload-input-hidden::-webkit-file-upload-button {
	visibility: hidden !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}
.upload-input-hidden::file-selector-button {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
}

.hide { display: none; }
.show { display: block; }
p { margin: 0 0 8px 0; }
a { text-decoration: none; }
a:link { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }

/* ---- עמוד התחברות/הרשמה ---- */
.auth_page { padding: 10px 0; }
.auth_boxes {
	display: table;
	width: 100%;
	direction: rtl;
	border-collapse: separate;
	border-spacing: 20px 0;
}
.auth_col {
	display: table-cell;
	width: 48%;
	vertical-align: top;
	padding: 20px;
	background: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-sizing: border-box;
}
.auth_register { text-align: right; }
.auth_login { text-align: right; }
.auth_title {
	font-size: 18px;
	color: #104a9a;
	margin-bottom: 15px;
	padding-bottom: 8px;
	border-bottom: 2px solid #104a9a;
}
.auth_form { margin: 0; }
.auth_table { width: 100%; }
.auth_table td { padding: 6px 0; vertical-align: top; }
.auth_table .text_2 { padding-left: 10px; }
.field_required { font-weight: 700; color: #c00; font-size: 12px; }
.field_optional { font-weight: normal; color: #777; font-size: 12px; }
.auth_submit_td { padding-top: 12px !important; text-align: right; }

/* ---- עמוד פרופיל ---- */
.profile_wrap {
	max-width: 700px;
	margin: 0 auto;
	text-align: right;
	padding: 0 15px;
}
.profile_wrap { margin-top: 0; }
.profile_page { margin: 0 auto; text-align: center; }
.profile_page > .yes,
.profile_page > .no { text-align: right; max-width: 100%; }
.profile_section {
	margin-bottom: 25px;
	padding: 22px 24px;
	background: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 10px;
	text-align: right;
}
.profile_section .auth_title { margin-bottom: 14px; text-align: right; }
.profile_details_inner { max-width: 480px; margin: 0 auto; }
.profile_details_inner .profile_table,
.profile_details_inner .profile_edit_table,
.profile_details_inner .auth_table { margin-right: 0; margin-left: auto; }
.profile_table { width: 100%; margin-bottom: 18px; }
.profile_table td { padding: 8px 12px; }
.profile_readonly { font-size: 11px; color: #666; font-weight: normal; }
.profile_edit_form { margin-top: 8px; }
.profile_edit_table { width: 100%; max-width: 100%; }
.profile_edit_table td { padding: 6px 0; vertical-align: top; }
.profile_edit_table .page_td_up { padding: 6px 12px 6px 0; width: 140px; }
/* שינוי סיסמה בתוך תיבת פרטים */
.profile_password_in_section {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}
.profile_password_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 0;
}
.profile_password_label { font-size: 16px; color: #104a9a; font-weight: bold; }
.profile_toggle_btn {
	cursor: pointer;
	padding: 6px 14px;
	font-size: 13px;
	background: #104a9a;
	color: #fff;
	border: 1px solid #0a3a7a;
	border-radius: 6px;
	font-weight: bold;
}
.profile_toggle_btn:hover { background: #0a3a7a; }
.profile_collapse {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}
.profile_collapse.profile_collapse_open {
	max-height: 280px;
}
#profile_password_form_wrap form { margin-top: 12px; }

/* המנויים שלי */
.profile_section_subscriptions { text-align: right; }
.profile_section_subscriptions .auth_title { text-align: right; }
.profile_subscriptions_table { width: 100%; margin-bottom: 12px; margin-right: 0; margin-left: auto; }
.profile_subscriptions_table th { padding: 10px 12px; background: #e8ecf0; border-radius: 4px; }
.profile_subscriptions_table td { padding: 8px 12px; }

/* התנתק – רוחב רגיל של עמוד הפרופיל (כמו שאר התוכן) */
.profile_logout_wrap {
	width: 100%;
	margin: 28px 0 0;
	padding: 0;
	box-sizing: border-box;
}
.profile_logout_btn {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 14px 20px;
	background: #b00;
	color: #fff !important;
	font-weight: bold;
	font-size: 15px;
	text-decoration: none;
	border: none;
	border-radius: 6px;
	box-sizing: border-box;
	text-align: center;
	transition: background 0.2s;
}
.profile_logout_btn:hover {
	background: #900;
	color: #fff !important;
}

/* ---- עמוד חבילות ---- */
.packages_page { padding: 10px 0; text-align: center; }
.packages_table { width: 100%; max-width: 900px; margin: 0 auto; }
.packages_table .page_td, .packages_table .page_td_up { padding: 10px 12px; }
.packages_form_row { display: inline-block; }
.packages_form_row .packages_months_select { margin-left: 8px; margin-right: 4px; min-width: 110px; }
.packages_form_row .submit { margin-right: 0; }
.packages_table tr.packages_row_current,
.packages_table tr.packages_row_current td { background-color: #d4edda; }
.packages_current_expiry {
	font-weight: bold;
	font-size: 1.1em;
	background: rgba(0,0,0,0.08);
	padding: 8px 12px;
	border-radius: 6px;
	display: inline-block;
	margin-top: 10px;
	border: 1px solid rgba(0,0,0,0.12);
}

/* ---- דף תשלום ---- */
.payment_page { padding: 16px 0; text-align: center; }
.payment_summary { margin-bottom: 24px; }
.payment_title { font-size: 1.25em; margin-bottom: 12px; }
.payment_gateway_section { max-width: 560px; margin: 0 auto 20px; text-align: right; background: #f8f9fa; padding: 20px; border-radius: 8px; border: 1px solid #dee2e6; }
.payment_gateway_title { margin-top: 0; margin-bottom: 8px; font-size: 1.1em; }
.payment_gateway_desc { margin-bottom: 16px; color: #555; }
.payment_option { margin-bottom: 20px; padding: 12px; background: #fff; border-radius: 6px; border: 1px solid #eee; }
.payment_option_test { border-color: #0d6efd; background: #e7f1ff; }
.payment_option_live { border-color: #198754; }

/* ---- כפתור שליחה בהעלאה – טקסט "שליחה" ---- */
.blockup input[type="submit"] {
	display: inline-block;
	width: 120px;
	min-width: 120px;
	height: 40px;
	padding: 0 16px;
	background: #104a9a !important;
	background-image: none !important;
	border: none !important;
	border-radius: 10px;
	color: #fff !important;
	font: bold 15px Arial, Tahoma, sans-serif;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
	box-shadow: 0 2px 8px rgba(16, 74, 154, 0.3);
}
.blockup input[type="submit"]:hover {
	background-color: #0d3d82 !important;
	box-shadow: 0 4px 12px rgba(16, 74, 154, 0.4);
}
.blockup input[type="submit"]:active {
	transform: scale(0.98);
}

/* ---- תיקון שבירות כללית ---- */
.page_block_1 { overflow: visible; }
#page { max-width: 992px; margin-right: auto; margin-left: auto; }
.table_teil { padding: 8px 12px; }
.page_td { padding: 8px 12px; }
.page_td_up { padding: 8px 12px; }
.select-all-label { cursor: pointer; user-select: none; }

/* בלוק אישור העלאה – רוחב כמו הטבלה (95%), ממורכז */
.upload-confirm {
	width: 95%;
	max-width: 95%;
	margin: 0 auto 24px auto;
	background: #fff;
	border: 1px solid #d0e0c0;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
	overflow: hidden;
	text-align: right;
	box-sizing: border-box;
}
.upload-confirm-head {
	background: linear-gradient(180deg, #e8f5e0 0%, #d4edc4 100%);
	color: #2d5a1c;
	padding: 14px 20px;
	font-size: 16px;
	border-bottom: 1px solid #c5e0b0;
}
.upload-confirm-icon {
	display: inline-block;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	background: #2d5a1c;
	color: #fff;
	border-radius: 50%;
	font-size: 14px;
	font-weight: bold;
	margin-left: 10px;
	vertical-align: middle;
}
.upload-confirm-body { padding: 18px 20px; }
.upload-confirm-count {
	margin: 0 0 10px 0;
	font-size: 15px;
	color: #333;
}
.upload-confirm-email {
	margin: 0 0 14px 0;
	font-size: 14px;
	color: #0a5;
}
.upload-confirm-list-title {
	margin: 0 0 8px 0;
	font-size: 13px;
	color: #666;
	font-weight: bold;
}
.upload-confirm .just-uploaded-list {
	margin: 0;
	padding: 0 0 0 20px;
	list-style: none;
	border: 1px solid #eee;
	border-radius: 6px;
	background: #fafafa;
}
.upload-confirm .just-uploaded-list li {
	padding: 10px 14px;
	border-bottom: 1px solid #eee;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}
.upload-confirm .just-uploaded-list li:last-child { border-bottom: none; }
.upload-confirm-link { font-size: 13px; }
.upload-confirm-link a { color: #104a9a; }

/* שורת פעולות מתחת לטבלה – עיצוב מקצועי */
.table-actions-bar {
	width: 95%;
	margin: 20px auto 0 auto;
	background: #f8f9fa;
	border: 1px solid #e0e4e8;
	border-radius: 10px;
	padding: 16px 20px;
	box-sizing: border-box;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.table-actions-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
	text-align: right;
	direction: rtl;
}
.table-actions-bar .action-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.table-actions-bar .action-label {
	font-weight: bold;
	color: #333;
	font-size: 14px;
}
.table-actions-bar .action-email {
	width: 220px;
	max-width: 100%;
	padding: 8px 12px;
	border: 1px solid #c5d0dc;
	border-radius: 6px;
	font-size: 14px;
}
.table-actions-bar .action-email:focus {
	outline: none;
	border-color: #104a9a;
	box-shadow: 0 0 0 2px rgba(16,74,154,0.15);
}
.table-actions-bar .btn {
	padding: 8px 18px;
	font-size: 14px;
	font-weight: bold;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
}
.table-actions-bar .btn-primary {
	background: #104a9a;
	color: #fff;
}
.table-actions-bar .btn-primary:hover {
	background: #0a3a7a;
	box-shadow: 0 2px 6px rgba(16,74,154,0.35);
}
.table-actions-bar .btn-danger {
	background: #c0392b;
	color: #fff;
}
.table-actions-bar .btn-danger:hover {
	background: #a93226;
	box-shadow: 0 2px 6px rgba(192,57,43,0.35);
}
.table-actions-bar .action-divider {
	width: 1px;
	height: 32px;
	background: #d0d5db;
	flex-shrink: 0;
}
@media (max-width: 600px) {
	.table-actions-bar .action-divider { display: none; }
}

/* תאריך העלאה – שורה ראשונה זמן יחסי, שורה שנייה תאריך */
.time-ago { display: inline-block; line-height: 1.4; }
.time-ago .date-raw { display: block; margin-top: 2px; }
.date-raw { font-size: 11px; color: #666; font-weight: normal; }

/* ========== רספונסיבי – טאבלט וסלולר ========== */
@media (max-width: 1024px) {
	html, body {
		overflow-x: hidden;
		max-width: 100vw;
	}
	.header_desktop {
		display: none !important;
	}
	#header {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		min-height: 52px;
	}
	#header .header_mobile {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 16px;
		box-sizing: border-box;
		position: relative;
		overflow: visible;
		min-height: 52px;
	}
	.header_mobile {
		display: grid !important;
		grid-template-columns: 1fr auto 1fr;
		grid-template-rows: 1fr;
		align-items: center;
		min-height: 52px;
		width: 100%;
		box-sizing: border-box;
		gap: 12px;
	}
	/* תפריט (המבורגר) – צד ימין | לוגו – מרכז | פרופיל – צד שמאל (עד הסוף) */
	.header_menu_btn {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}
	.header_logo_small {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		position: relative;
		left: 0;
		transform: none;
	}
	.header_profile_wrap {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}
	.header_mobile_btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: none;
		border-radius: 10px;
		background: rgba(255,255,255,0.12);
		color: #fff;
		font-size: 22px;
		cursor: pointer;
		flex-shrink: 0;
		transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
		box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	}
	.header_mobile_btn:hover {
		background: rgba(255,255,255,0.24);
		box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	}
	.header_mobile_btn:active {
		transform: scale(0.97);
	}
	/* כפתור פרופיל – עיצוב מקצועי */
	.header_profile_btn {
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: rgba(255,255,255,0.18);
		box-shadow: 0 2px 8px rgba(0,0,0,0.12);
		font-size: 18px;
	}
	.header_profile_btn:hover {
		background: rgba(255,255,255,0.3);
		box-shadow: 0 3px 10px rgba(0,0,0,0.18);
	}
	.header_profile_btn .icon_person {
		display: block;
		line-height: 1;
	}
	/* לוגו מובייל – מסגרת מעוגלת */
	.header_logo_small {
		width: 150px;
		height: 52px;
		padding: 8px 12px;
		box-sizing: border-box;
		background-image: url('pics/minilogo.png');
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		background-color: #fff;
		border: 1px solid #fff;
		border-radius: 10px;
		box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	}
	.header_profile_wrap {
		position: relative;
	}
	.header_profile_dropdown {
		position: absolute;
		top: 100%;
		left: 0;
		right: auto;
		margin-top: 8px;
		min-width: 220px;
		background: #fff;
		border-radius: 12px;
		box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
		padding: 0;
		z-index: 1001;
		display: none;
		color: #333;
		text-align: right;
		border: 1px solid #eee;
		overflow: hidden;
	}
	.header_profile_dropdown.open {
		display: block !important;
	}
	.header_dropdown_title {
		padding: 12px 18px;
		font-size: 13px;
		font-weight: 600;
		color: #104a9a;
		background: #f8fafc;
		border-bottom: 1px solid #eee;
	}
	.header_dropdown_links a {
		display: block;
		padding: 12px 18px;
		color: #222;
		text-decoration: none;
		font-size: 14px;
		font-weight: 500;
		border-bottom: 1px solid #f5f5f5;
		transition: background 0.2s, color 0.2s;
	}
	.header_dropdown_links a:last-child {
		border-bottom: none;
	}
	.header_dropdown_links a:hover {
		background: #f0f4fa;
		color: #104a9a;
	}
	.header_dropdown_links a.header_dropdown_logout {
		color: #c62828;
		font-weight: 700;
	}
	.header_dropdown_links a.header_dropdown_logout:hover {
		background: #ffebee;
		color: #b71c1c;
	}
	#page #logo {
		display: none !important;
	}
	html {
		overflow-x: hidden !important;
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
		min-height: 100%;
		height: auto;
	}
	body {
		overflow-x: hidden !important;
		overflow-y: visible !important;
		max-width: 100vw !important;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 100vh;
		min-height: 100dvh;
		height: auto;
		position: relative;
		box-sizing: border-box;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	#header {
		overflow: visible !important;
	}
	.side_menu_overlay {
		display: block;
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
	}
	.side_menu_overlay.open {
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
	}
	.side_menu {
		right: 0 !important;
		left: auto !important;
		transform: translateX(100%) !important;
		visibility: hidden !important;
		pointer-events: none !important;
		margin: 0;
	}
	.side_menu.open {
		transform: translateX(0) !important;
		visibility: visible !important;
		pointer-events: auto !important;
	}
	#logo {
		width: 100%;
		max-width: 100%;
		background-size: contain;
		background-position: center;
	}
	.top_bar_img { display: none; }
	.top_bar_css {
		display: block;
		width: 100%;
		height: 6px;
		background: linear-gradient(90deg, #104a9a 0%, #0a3a7a 100%);
		background-color: #104a9a;
	}
	#page {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		overflow-x: hidden;
	}
	.page_block_1 {
		width: 100% !important;
		max-width: 100vw !important;
		box-sizing: border-box;
		padding: 0 12px;
		overflow-x: hidden;
	}
	.page_block_1 table,
	.blockup table,
	.index_td table,
	.page_block_1 > table {
		max-width: 100% !important;
		width: 100% !important;
		table-layout: fixed;
		min-width: 0 !important;
	}
	/* עמוד ראשי – טבלאות לא דוחסות את התוכן */
	.page_block_1 > table[cellspacing="3"],
	.page_block_1 > table[cellspacing="15"] {
		width: 100% !important;
	}
	.page_block_1 td {
		min-width: 0;
	}
	.blockup,
	.blockup td,
	.welcome_1,
	.welcome_2 {
		max-width: 100%;
		box-sizing: border-box;
	}
	.page_block_1 form[enctype="multipart/form-data"] {
		overflow-x: hidden;
		max-width: 100%;
	}
	.dropzone-box,
	.dropzone-filelist {
		max-width: 100%;
		box-sizing: border-box;
	}
	.blockup input[type="text"],
	.blockup input[type="email"],
	.blockup .input,
	.blockup input[type="file"],
	.page_block_1 .input {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.file_1,
	.upload-limit-info {
		word-wrap: break-word;
		overflow-wrap: break-word;
		max-width: 100%;
	}
	.page_block_1 .bootstrap-filestyle,
	.page_block_1 .filestyle,
	.page_block_1 .input-group {
		max-width: 100%;
		box-sizing: border-box;
	}
	.page_site {
		max-width: 100%;
		overflow-x: hidden;
	}
	#bar ul li a {
		background-image: none;
		background-color: #104a9a;
		border: 1px solid rgba(255,255,255,0.3);
		border-radius: 8px;
		box-sizing: border-box;
	}
	#bar ul li a:hover {
		background-image: none;
		background-color: #0a3a7a;
		border-color: rgba(255,255,255,0.5);
	}
	#header div {
		max-width: 100%;
		padding: 0 8px;
	}
	#header div.header_mobile {
		max-width: none !important;
		width: 100% !important;
		margin: 0 !important;
	}
	.welcome_1,
	.welcome_wrap {
		width: 100%;
		max-width: 100%;
	}
	.blockup {
		width: 100%;
		max-width: 100%;
	}
	.index_blocks_table {
		max-width: 100%;
		padding: 0 12px;
		box-sizing: border-box;
	}
	/* פוטר מובייל – אותו סגנון מקצועי כמו ההדר */
	#end {
		width: 100%;
		max-width: 100%;
		padding: 14px 20px;
		min-height: 48px;
		height: auto;
		background-image: none;
		background: linear-gradient(180deg, #0c3a75 0%, #0d4290 50%, #104a9a 100%);
		box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#end table {
		width: 100% !important;
		max-width: 960px;
		border: none;
	}
	#end table tr {
		display: flex !important;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		gap: 10px;
	}
	#end table td {
		display: block !important;
		width: auto !important;
		flex: 0 1 auto;
		padding: 4px 0;
		border: none;
		font-size: 12px;
		font-weight: 500;
	}
	#end, #end a, #end .a, #end .a_2, #end span { color: #fff !important; }
	#end a:hover, #end .a:hover { color: rgba(255,255,255,0.9) !important; }
	#end .a_2 { font-weight: 600; }
	/* עמוד התחברות/הרשמה – מובייל: ברור ונגיש */
	.auth_page { padding: 12px 8px 24px; }
	.auth_boxes {
		display: flex;
		flex-direction: column;
		gap: 24px;
		border-spacing: 0;
		padding: 0;
	}
	.auth_col {
		display: block;
		width: 100%;
		margin: 0;
		padding: 20px 16px;
		box-sizing: border-box;
		border: 2px solid #104a9a;
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 2px 12px rgba(16, 74, 154, 0.12);
	}
	.auth_login { order: 1; }
	.auth_register { order: 2; }
	.auth_page .auth_title {
		font-size: 20px;
		margin-bottom: 18px;
		padding-bottom: 10px;
	}
	.auth_page .auth_table,
	.auth_page .auth_table tbody,
	.auth_page .auth_table tr {
		display: block;
	}
	.auth_page .auth_table tr { margin-bottom: 14px; }
	.auth_page .auth_table td {
		display: block;
		padding: 0;
		width: 100%;
	}
	.auth_page .auth_table .text_2 {
		display: block;
		font-size: 15px;
		margin-bottom: 6px;
		padding: 0;
		color: #104a9a;
		font-weight: bold;
	}
	.auth_page .input {
		width: 100%;
		max-width: 100%;
		min-height: 46px;
		padding: 12px 14px;
		font-size: 16px;
		box-sizing: border-box;
		border: 2px solid #ccc;
		border-radius: 8px;
	}
	.auth_page .input:focus {
		border-color: #104a9a;
		outline: none;
	}
	.auth_page .auth_submit_td {
		padding-top: 20px !important;
		margin-top: 8px;
	}
	.auth_page .submit {
		width: 100%;
		max-width: 100%;
		min-height: 50px;
		padding: 14px 20px;
		font-size: 18px;
		border-radius: 10px;
		background: #104a9a;
		color: #fff;
		border: none;
		cursor: pointer;
	}
	.auth_page .submit:hover { background: #0a3a7a; }
}

@media (max-width: 768px) {
	body { font-size: 14px; }
	#header {
		height: auto;
		min-height: 30px;
	}
	#header div {
		height: auto;
		line-height: 1.4;
		padding: 8px;
	}
	#header div table {
		display: block;
		height: auto;
	}
	#header div table tr {
		display: block;
	}
	#header div table td {
		display: block;
		width: 100% !important;
		text-align: right;
		padding: 4px 8px;
		white-space: normal;
	}
	#header div table td.header_btn {
		display: inline-block;
		width: auto;
		margin: 2px 4px 2px 0;
	}
	#bar {
		height: auto;
	}
	#bar ul {
		padding: 15px 10px 10px 0;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		justify-content: flex-end;
	}
	#bar ul li {
		float: none;
	}
	#bar ul li a {
		float: none;
		width: auto;
		min-width: 90px;
		height: auto;
		min-height: 40px;
		line-height: 40px;
		margin-right: 0;
		padding: 0 12px;
	}
	.page_block_1 {
		padding: 0 10px;
	}
	.text_up_page {
		font-size: 15px;
		padding-right: 8px;
	}
	.page_site {
		padding: 5px 8px 15px 0;
		overflow-x: auto;
	}
	.input {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.textarea {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.submit {
		width: 100%;
		max-width: 280px;
	}
	.yes, .no {
		width: 80%;
		max-width: 80%;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
		padding: 14px 18px;
		font-size: 15px;
	}
	.table-actions-bar {
		width: 100%;
		padding: 12px;
	}
	.table-actions-inner {
		flex-direction: column;
		align-items: stretch;
	}
	.table-actions-bar .action-group {
		justify-content: flex-start;
	}
	.table-actions-bar .action-email {
		width: 100%;
	}
}

/* עמוד ראשי – שורה של ברוכים הבאים והעלאה (רק הטבלאות הראשיות) */
@media (max-width: 768px) {
	.page_block_1 > table[cellspacing="3"] {
		width: 100% !important;
	}
	.page_block_1 > table[cellspacing="3"] tr,
	.page_block_1 > table[cellspacing="15"] tr {
		display: block;
	}
	.page_block_1 > table[cellspacing="3"] td,
	.page_block_1 > table[cellspacing="15"] td {
		display: block !important;
		width: 100% !important;
	}
}

/* טבלאות – גלילה אופקית במסכים קטנים */
@media (max-width: 768px) {
	.page_table,
	.packages_table,
	.auth_table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.page_table table,
	.packages_table table {
		min-width: 400px;
	}
	/* פרופיל – טבלת פרטים (אימייל, טלפון) כרטיס */
	.profile_details_inner .profile_table {
		display: block;
		overflow-x: visible;
		background: #f8fafc;
		border: 1px solid #e2e8f0;
		border-radius: 12px;
		padding: 4px 16px 16px;
		margin-bottom: 20px;
	}
	.profile_details_inner .profile_table tbody { display: block; }
	.profile_details_inner .profile_table tr {
		display: block;
		border-bottom: 1px solid #e2e8f0;
		padding: 12px 0;
	}
	.profile_details_inner .profile_table tr:last-child { border-bottom: none; }
	.profile_details_inner .profile_table td {
		display: block;
		width: 100%;
		padding: 0;
		text-align: right;
		background: none !important;
		border: none;
	}
	.profile_details_inner .profile_table td:first-child {
		font-weight: 600;
		color: #333;
		font-size: 12px;
		margin-bottom: 4px;
	}
	.profile_details_inner .profile_table td:last-child {
		font-size: 15px;
		color: #111;
	}
	.profile_details_inner .profile_table .profile_readonly {
		display: block;
		margin-top: 4px;
		font-size: 11px;
		color: #666;
	}
}

/* סלולר – עד 480px */
@media (max-width: 480px) {
	body { font-size: 13px; }
	/* נעילת body ו-html – רוחב וגובה תקינים */
	html {
		overflow-x: hidden !important;
		width: 100% !important;
		max-width: 100vw !important;
		min-height: 100%;
	}
	body {
		overflow-x: hidden !important;
		overflow-y: visible !important;
		width: 100% !important;
		max-width: 100vw !important;
		min-width: 0 !important;
		min-height: 100vh;
		min-height: 100dvh;
		height: auto;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	#header {
		overflow: visible !important;
	}
	#header {
		width: 100% !important;
		max-width: 100% !important;
	}
	#page,
	.page_block_1 {
		max-width: 100% !important;
		width: 100% !important;
	}
	/* הדר מובייל – וידוא שפרופיל ותפריט תמיד גלויים במסכים צרים */
	#header,
	#header .header_mobile {
		overflow: visible !important;
		min-height: 48px;
	}
	.header_mobile {
		padding: 0 8px !important;
		gap: 6px !important;
		min-height: 48px !important;
		grid-template-columns: minmax(44px, 1fr) minmax(60px, auto) minmax(44px, 1fr) !important;
	}
	.header_profile_wrap {
		min-width: 44px;
		flex-shrink: 0;
		overflow: visible;
	}
	/* בועת פרופיל – מיקום קבוע משמאל למסך כדי שלא תיחתך */
	.header_profile_dropdown {
		position: fixed !important;
		left: 8px !important;
		right: auto !important;
		top: 50px !important;
		max-width: calc(100vw - 16px) !important;
		min-width: 200px;
	}
	.header_menu_btn {
		min-width: 44px;
		flex-shrink: 0;
	}
	.header_mobile_btn {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px;
		min-height: 40px;
	}
	.header_logo_small {
		width: 130px;
		height: 46px;
		max-width: 40vw;
	}
	#header div table td.header_btn {
		display: block;
		width: 100%;
		margin: 4px 0;
	}
	#bar ul {
		padding: 10px 8px;
	}
	#bar ul li a {
		min-width: 100%;
		text-align: center;
	}
	.index_welcome_table {
		padding: 0 !important;
	}
	.welcome_wrap { padding: 0; }
	.welcome_1 {
		font-size: 14px;
		padding: 10px 16px !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		width: 100%;
		box-sizing: border-box;
	}
	.welcome_2 {
		font-size: 13px;
		padding: 4px 6px 0 0;
	}
	.file_1 {
		font-size: 18px;
	}
	.upload-limit-info {
		font-size: 12px;
	}
	.blockup .blockup-header-wrap .upload-limit-info {
		white-space: normal;
	}
	.payment_page .payment_gateway_section {
		padding: 12px;
	}
	.payment_summary table {
		width: 100%;
	}
	.packages_form_row {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}
	.packages_form_row .packages_months_select {
		min-width: 100%;
	}
	#end table tr {
		display: flex !important;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		flex-wrap: nowrap;
		gap: 12px;
	}
	#end table td {
		display: block !important;
		width: auto !important;
		flex: 0 1 auto;
		padding: 8px 0;
		border: none;
	}
	#end table td:first-child {
		text-align: right;
	}
	#end table td:last-child {
		text-align: left;
	}
	#end {
		padding: 14px 16px 18px;
	}
	/* טופס סיסמה להורדה – מובייל */
	.download_password_form {
		max-width: 100%;
		padding: 0 12px;
		box-sizing: border-box;
	}
	.download_password_card {
		padding: 20px 16px;
		border-radius: 12px;
	}
	.download_password_input {
		min-height: 48px;
		font-size: 16px;
	}
	.download_password_submit .submit {
		max-width: 100%;
		min-height: 48px;
	}
	/* פרופיל – טבלת פרטים לא ניתנים לעריכה במובייל */
	.profile_details_inner .profile_table {
		display: block;
		overflow-x: visible;
		background: #f8fafc;
		border: 1px solid #e2e8f0;
		border-radius: 12px;
		padding: 4px 16px 16px;
		margin-bottom: 20px;
	}
	.profile_details_inner .profile_table tbody {
		display: block;
	}
	.profile_details_inner .profile_table tr {
		display: block;
		border-bottom: 1px solid #e2e8f0;
		padding: 12px 0;
	}
	.profile_details_inner .profile_table tr:last-child {
		border-bottom: none;
	}
	.profile_details_inner .profile_table td {
		display: block;
		width: 100%;
		padding: 0;
		text-align: right;
		background: none !important;
		border: none;
	}
	.profile_details_inner .profile_table td:first-child {
		font-weight: 600;
		color: #333;
		font-size: 12px;
		margin-bottom: 4px;
	}
	.profile_details_inner .profile_table td:last-child {
		font-size: 15px;
		color: #111;
	}
	.profile_details_inner .profile_table .profile_readonly {
		display: block;
		margin-top: 4px;
		font-size: 11px;
		color: #666;
	}
}

/* פוטר מסודר בטאבלט – שורה אחת: טקסט מימין, קישורים משמאל */
@media (max-width: 768px) {
	#end {
		padding: 18px 16px 24px;
		box-sizing: border-box;
	}
	#end table {
		width: 100% !important;
	}
	#end table tr {
		display: flex !important;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		flex-wrap: nowrap;
		gap: 12px;
	}
	#end table td {
		width: auto !important;
		flex: 0 1 auto;
		padding: 6px 0;
	}
	#end table td:first-child {
		text-align: right;
	}
	#end table td:last-child {
		text-align: left;
	}
}