 /* Color Variables */
 :root {
	/* Light Mode */
	--primary: #3498db;
	--secondary: #2ecc71;
	--accent: #e74c3c;
	--dark: #2c3e50;
	--light: #ecf0f1;
	--gray: #95a5a6;
	--text: #333;
	--bg: #fff;
	--header-bg: var(--dark);
	--footer-bg: var(--dark);
	--card-bg: #fff;
	--shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Dark Mode */
[data-theme="dark"] {
	--primary: #3da5d9;
	--secondary: #28b463;
	--accent: #e74c3c;
	--dark: #121212;
	--light: #1e1e1e;
	--gray: #7f8c8d;
	--text: #f5f5f5;
	--bg: #121212;
	--header-bg: #0e1c29;
	--footer-bg: #0e1c29;
	--card-bg: #1e1e1e;
	--shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	transition: background-color 0.3s, color 0.1s;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text);
	background-color: var(--bg);
	direction: rtl;
}

a {
	text-decoration: none;
	color: var(--primary);
}

a:hover {
	color: var(--accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Layout */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Header */
header {
	background-color: var(--header-bg);
	color: white;
	padding: 15px 0;
	position: relative;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.logo {
	width:100px;
}

.logo1 {
	width:150px;
}

/* Navigation */
nav {
	display: flex;
	align-items: center;
}

.nav-links {
	display: flex;
	list-style: none;
}

.nav-links li {
	margin-right: 15px;
}

.nav-links a {
	color: white;
	font-weight: 500;
	padding: 5px 0;
	position: relative;
	font-size: clamp(0.9rem, 2vw, 1rem);
}

.nav-links a:after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	right: 0;
	background-color: white;
	transition: width 0.3s;
}

.nav-links a:hover:after {
	width: 100%;
}

/* Mobile Menu */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
}

/* Theme Toggle */
.theme-toggle {
	background: none;
	border: none;
	color: white;
	font-size: 1.2rem;
	cursor: pointer;

}

/* Hero Section */
.hero {
	background-color: var(--secondary);
	color: white;
	padding: 4rem 0;
	text-align: center;
}

.data_date {
	font-family:'Open Sans',Droid Arabic Kufi !important;
}

.hero h1 {
	font-size: clamp(1.5rem, 5vw, 2.5rem);
	margin-bottom: 1rem;
}



.hero p {
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	max-width: 800px;
	margin: 0 auto 2rem;
}

.btn {
	display: inline-block;
	background-color:#123456;
	color: var(--secondary);
	padding: 0.8rem 1.8rem;
	border-radius: 30px;
	font-weight: bold;
	margin: 0.5rem;
	font-size: clamp(0.9rem, 2vw, 1rem);
}

.btn:hover {
   /* transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);*/
}



/* Main Content */
.main {
	padding: 0.5rem 0;
}

.section-title {
	text-align: center;
	/*margin-bottom: 2.5rem;*/
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.section-title h2 {
	font-size: clamp(1.5rem, 4vw, 2rem);
	color: var(--text);
	margin-bottom: 0.5rem;
}

.section-title p {
	color: var(--gray);
	font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Table Styles */
.responsive-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 8px;
	background-color: transparent;

   
}

.responsive-table thead {
	background-color: #2c3e50;
	color: white;
}

/* Create rounded corners for the first and last cells */
.responsive-table thead tr th:first-child {
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}

.responsive-table thead tr th:last-child {
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

[data-theme="dark"] .responsive-table thead {
	background-color: #0e1c29;
}

.responsive-table th{            
	padding: 0.8rem;
   /* text-align: right;
	border-bottom: 1px solid var(--gray);*/
}

.responsive-table tr{            
	height: 50px;
}


.responsive-table td {
	padding: 0.1rem;
   /* text-align: right;
	border-bottom: 1px solid var(--gray);*/
	
}

.responsive-table tbody tr:last-child td {
	border-bottom: none;
}

.responsive-table tr:nth-child(even){
	background-color: rgba(0,0,0,0.03);
}

.responsive-table tbody tr {
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
   
}

.responsive-table tbody tr:hover {
	background-color: rgba(0,0,0,0.07);
	cursor: pointer;
	transform: scale(1.02); /* Add this line for zoom effect */

	transition: all 0.3s ease; /* Smooth transition for the effect */
	z-index: 1; /* Ensures the zoomed row appears above others */
	position: relative; /* Needed for z-index to work */
   
}

[data-theme="dark"] .responsive-table tr:nth-child(even){
	background-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .responsive-table tbody tr:hover {
	background-color: rgba(255,255,255,0.5);
}


/* Create rounded corners for the first and last cells */
.responsive-table tbody tr td:first-child {
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}

.responsive-table tbody tr td:last-child {
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}



/* Features Grid */
.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.feature {
	background-color: var(--card-bg);
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: var(--shadow);
	text-align: center;
}

.feature i {
	font-size: 2.5rem;
	color: var(--primary);
	margin-bottom: 1rem;
}

.feature h3 {
	margin-bottom: 1rem;
	color: var(--text);
	font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.feature p {
	font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Back to Top Button */
.back-to-top {
	position: fixed;
	bottom: 30px;
	left: 30px;
	width: 50px;
	height: 50px;
	background-color: var(--primary);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
	z-index: 99;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background-color: var(--accent);
	transform: translateY(-3px);
}

/* Footer */
footer {
	background-color: var(--footer-bg);
	color: white;
	padding: 3rem 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section {
	text-align: right;
}

.footer-section h3 {
	margin-bottom: 1.2rem;
	font-size: 1.2rem;
	position: relative;
	padding-bottom: 0.5rem;
}

.footer-section h3:after {
	content: '';
	position: absolute;
	width: 50px;
	height: 2px;
	bottom: 0;
	right: 0;
	background-color: var(--primary);
}

.footer-section p, 
.footer-section ul {
	color: var(--gray);
	font-size: clamp(0.9rem, 2vw, 1rem);
	text-align:right;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.8rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-section ul li i {
	width: 20px;
}

/* Social Icons */
.social-icons {
	display: flex;
	margin-top: 1.2rem;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255,255,255,0.1);
	border-radius: 50%;
	color: white;
	font-size: 1rem;
	transition: all 0.3s;
}

.social-icons a:hover {
	background-color: var(--primary);
	transform: translateY(-3px);
}

.copyright {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255,255,255,0.1);
	color: var(--gray);
	font-size: 0.9rem;
}

/* Status styles */
.active-status {
	color: #2ecc71 !important;
	font-weight: bold;
}

.inactive-status {
	color: #e74c3c !important;
	font-weight: bold;
}

.last-up
{
   /* visibility: hidden;*/
}


/* Table Buttons */
.role-btn {
	background-color:#2c3e50;
	color: white;
	border: none;
	padding: 0.5rem 1rem;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s;
	width: 170px;
	font-size: 26px;
	font-weight: 600;
	height: 50px;
}

.role-btn:hover {
	background-color: #0e1c29;
   /* transform: translateY(-2px);*/
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.responsive-table img {
		width: 80px;
	}

	.responsive-table th{            
   font-size:18px;
}


.responsive-table td {
	font-size:18px;
}

   



/* Responsive Adjustments */
@media (max-width: 992px) {
	img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Theme Toggle */
.theme-toggle {
	font-size: 2.2rem;
}

/* Header */
header {
	background-color: var(--header-bg);
	color: white;
	padding: 40px 0;
	position: relative;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}



	.hero {
		padding: 3rem 0;
	}
	.hero h1 {
		font-size: 2rem;
	}
	
	.hero p {
		font-size: 1rem;
	}

	.logo {
		width:110px;
	}

	.theme-toggle{
		display: block;
	}

.role-btn:hover {
	background-color: #2980b9;
   /* transform: translateY(-2px);*/
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.responsive-table img {
		width: 80px;
	}

	.responsive-table th{            
   font-size:18px;
}


.responsive-table td {
	font-size:18px;
}



	

}

@media (max-width: 768px) {
	.logo {
		width:70px;
	}

	.theme-toggle{
		display: block;

	}

	.role-btn {
	width: 110px;
	font-size: 16px;
	font-weight: 600;
	height: 40px;
}

.responsive-table tr{            
	height: 30px;
}

.responsive-table img {
		width: 80px;
	}

	.responsive-table th{            
   font-size:16px;
}


.responsive-table td {
	font-size:16px;
}
	
	.nav-links {
		position: fixed;
		top: 70px;
		right: -100%;
		width: 80%;
		height: calc(100vh - 70px);
		background-color: var(--header-bg);
		flex-direction: column;
		align-items: center;
		padding-top: 2rem;
		transition: right 0.3s;
	}
	
	.nav-links.active {
		right: 0;
	}
	
	.nav-links li {
		margin: 1rem 0;
	}
	
	.header-content {
	 /*   padding: 10px 0;*/
	}

	.responsive-table img {
		width: 50px;
	}
}

@media (max-width: 576px) {
	.hero {
		padding: 2rem 0;
	}
	
	.features {
		grid-template-columns: 1fr;
	}
	
	.footer-content {
	   /* grid-template-columns: 1fr;*/
	}
	
	.footer-section {
		text-align: right;
	}
	
	.footer-section h3 {
		text-align:right;
	}

	.footer-section h3:after {
		text-align:right;
	}
	
	.social-icons {
		justify-content: right;
	}

	.back-to-top {
		width: 40px;
		height: 40px;
		font-size: 1rem;
		bottom: 20px;
		left: 20px;
	}

	


   



.role-btn {
	width: 110px;
	font-size: 16px;
	font-weight: 600;
	height: 40px;
}

.responsive-table tr{            
	height: 25px;
}

.responsive-table img {
		width: 60px;
	}

	.responsive-table th{            
   font-size:16px;
}


.responsive-table td {
	font-size:16px;
}
}

@media (max-width: 400px) {
	body {
		font-size: 14px;
	}

	/* Header */
header {
	background-color: var(--header-bg);
	color: white;
	padding: 10px 0;
	position: relative;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.theme-toggle {
	font-size: 1.2rem;
}

.logo {
	width:70px;
}

.logo1 {
	width:110px;
}
	
	

	.role-btn {
	width: 75px;
	font-size: 12px;
	font-weight: 600;
	height: 30px;

}

.responsive-table tr{            
	height: 25px;
}

.responsive-table img {
		width: 60px;
	}

	.responsive-table th{            
   font-size:8px;
   font-weight: 600;
}


.responsive-table td {
	font-size:10px;
	font-weight: 600;
}
   


}