@charset "utf-8";

/*-----------------------------------------------------------
	Start : Css components 
-----------------------------------------------------------*/
:root {
	--bg-light: #f5f5f5;
	--bg-dark: #121212;
	--card-light: #ffffff;
	--card-dark: #1e1e1e;
	--text-light: #000000;
	--text-dark: #ffffff;
	--accent: #10a37f;
	--footer-light-bg: #f0f0f0;
}


/*Add this to your CSS to make sure inputs are legible and avoid zoom:*/
input[type="number"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
  font-size: 16px; /* Prevents mobile zoom */
}


/*You can also add padding and border-radius for better touch targets:*/
input[type="number"] {
  font-size: 16px !important;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  width: 100px;
}

html,
body {
	overflow-x: hidden;
}

/* Use border-box for predictable sizing */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Arial, sans-serif;
	 background: linear-gradient(135deg, #e2f6f2, #ffffff);
	color: var(--text-light);
	display: flex;
	flex-direction: column;
	transition: 0.3s;
	min-height: 100vh;
}


body.light {
	background: linear-gradient(135deg, #e2f6f2, #ffffff);
}

body.dark {
	background: var(--bg-dark);
	color: var(--text-light);
}


/*-----------------------------------------------------------
	Start Css:  Header
-----------------------------------------------------------*/
header {
	background-color: var(--accent);
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
}

header img {
	height: 40px;
}

header h1 {
	font-size: 20px;
	margin-left: 10px;
	flex-grow: 1;
}

.theme-toggle {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.theme-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 50px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	border-radius: 50px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.4s;
}

input:checked+.slider {
	background-color: #2196F3;
}

input:checked+.slider:before {
	transform: translateX(26px);
}

/*-----------------------------------------------------------
	Start Css:  container elements
-----------------------------------------------------------*/
.container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	max-width: 1100px;
	margin: 20px auto;
	padding: 10px;
}

.left-column {
	flex: 1;

}

.right-column {
	width: 300px;
	padding-left: 20px;
	position: relative;
}

.card {
	background-color: var(--card-light);
	padding: 20px;
	margin: 20px 0;
	border-radius: 12px;
	border: 1px solid #66CC99 !important;
	 box-shadow: 0 4px 10px rgba(100, 70, 195, 0.08);
	transition: 0.3s;
}

footer #visitor-stats {
	margin-top: 10px;
	font-size: 14px;
	color: #555;
	transition: all 0.5s ease;
}

.animate-visitor {
	animation: bounceFade 0.8s ease forwards;
}

@keyframes bounceFade {
	0% {
		transform: scale(1);
		opacity: 0.7;
	}

	50% {
		transform: scale(1.2);
		opacity: 1;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.social-media {
	text-align: center;
	margin-bottom: 20px;
}

.social-media h3 {
	margin-bottom: 10px;
	font-size: 18px;
}

.social-media .icons a {
	margin: 0 8px;
	display: inline-block;
}

.social-media .icons img {
	width: 32px;
	height: 32px;
	transition: transform 0.3s ease;
}

.social-media .icons img:hover {
	transform: scale(1.2);
}

body.dark .card {
	background-color: var(--card-light);
}

.card h3 {
	font-size: 18px;
	flex-wrap: wrap;
	/* allow wrapping */
	overflow-x: visible;
	/* or remove this line entirely */
}

.card h3 input {
	width: 100px;
	padding: 10px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	flex-shrink: 0;
}

.card h3 button {
	padding: 10px 16px;
	font-size: 16px;
	background-color: var(--accent);
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	flex-shrink: 0;
}

.card h3 button:hover {
	background-color: #0d8566;
}

select {
	padding: 10px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.result {
	margin-top: 15px;
	font-weight: bold;
	margin-top: 10px;
    padding: 10px;
    background: #f7f7f7;
    border-left: 4px solid #10a37f;
}

#result1, #result2, #result3, #result4  {
  display: none; /* Start hidden */
}

.explanation-btn {
	font-size: 14px;
	color: #666;
	cursor: pointer;
	margin-top: 20px;
	border-top: 1px dashed #ddd;
	padding-top:15px;
}

.explanation {
	margin-top: 10px;
	font-size: 14px;
	color: #333;
	display: none;
}



.history-container {
display: none;
}




/*-----------------------------------------------------------
Start Css:  Advertisement Bar
-----------------------------------------------------------*/
.ad-placeholder {
	background-color: #fff;
	height: 350px;
	margin-top: 20px;
	border-radius: 8px;
	text-align: center;
	padding-top: 100px;
	font-size: 16px;
	color: #333;
}


/*-----------------------------------------------------------
	Start Css:  bookmark Session
-----------------------------------------------------------*/
.bookmark-section button {
	padding: 10px 14px;
	font-size: 16px;
	background-color:#b1256c;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	margin-right: 10px;
	margin-top: 10px;
}

.bookmark-section button:hover {
	background-color: #0d8566;
}

.copy-link-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	position: relative;
}

.copy-message {
	font-size: 14px;
	color: green;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

/*-----------------------------------------------------------
	Start Css :  History Tablets and Buttons
-----------------------------------------------------------*/

  .history-container {
  margin-top: 10px;
}

.historytables {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.historytables th, .historytables td {
  border: 1px solid #ddd;
  padding: 6px;
  text-align: center;
}

.historytables th {
  background-color: #f4f4f4;
}

button {
  padding: 6px 10px;
  background-color: #eee;
  border: 1px solid #ccc;
  cursor: pointer;
}



/* Container for the entire share section */
.page-share-container {
  margin-bottom: 20px;
 
  border-radius: 12px; /* More rounded corners for a modern feel */
  text-align: center;
  background-color: #ffffff; /* Clean white background */
  font-family: 'Inter', sans-serif; /* Using a modern, clean font */
}

/* Styling for the "Share This Page:" heading */
.page-share-container h3 {
  margin-top: 0;
  margin-bottom: 20px; /* Increased space below the heading */
  font-size: 1.3em; /* Larger font size for better readability */
  color: #333; /* Darker text for better contrast */
  font-weight: 700; /* Bolder heading */
  letter-spacing: 0.5px; /* Slight letter spacing for a refined look */
}

/* Container for the social media icons */
.page-share-icons {
  display: flex; /* Use flexbox for easy alignment */
  justify-content: center; /* Center the icons horizontally */
  align-items: center;
  gap: 18px; /* Space between icons */
}

/* Styling for individual share links (icons) */
.page-share-icons a {
  display: inline-flex; /* Use inline-flex to center content within the circle */
  justify-content: center;
  align-items: center;
  width: 38px; /* Larger fixed width for better tap/click target */
  height: 38px; /* Larger fixed height */
  font-size: 1.3em; /* Adjusted icon size to fit the larger circle */
  text-decoration: none;
  border-radius: 50%; /* Make icons perfectly circular */
  color: #ffffff; /* Default white color for the icons */
  transition: all 0.3s ease-in-out; /* Smooth transition for all hover effects */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for each icon */
  line-height: 1; /* Ensures emoji/text is vertically centered */
}

/* Hover effect for all icons */
.page-share-icons a:hover {
  transform: translateY(-5px) scale(1.05); /* Lifts and slightly scales the icon */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* More prominent shadow on hover */
  opacity: 1; /* Ensure full opacity on hover */
}

/* Specific background colors for each social media icon */
.share-twitter {
  background: linear-gradient(135deg, #1da1f2, #0e8ace); /* Gradient for Twitter blue */
}

.share-facebook {
  background: linear-gradient(135deg, #3b5998, #2d4373); /* Gradient for Facebook blue */
}

.share-linkedin {
  background: linear-gradient(135deg, #0077b5, #005f8d); /* Gradient for LinkedIn blue */
}

/* Optional: If you are using text characters like 'f' or 'in' */
.share-facebook, .share-linkedin {
    font-weight: bold; /* Make the text bold */
    font-size: 1.5em; /* Adjust font size for text characters */
}

.share-twitter {
  color: #1DA1F2; /* Twitter blue */
}

.share-facebook {
  color: #1877F2; /* Facebook blue */
}

.share-linkedin {
  color: #0077B5; /* LinkedIn blue */
}

.email-btn {
  background-color: #006666;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.email-btn:hover {
  background-color: #004d4d;
}

.copy-message2 {
margin-left: 10px;
color: green;
display: none;
font-weight: 500;
}


.card_header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #F2F2F2;
padding-bottom: 8px;
margin-bottom: 20px;
}

.card_tittle {
margin: 0;
font-size: 20px;
color: var(--accent);
}

.maximize_btn {
background: none;
border: none;
font-size: 18px;
cursor: pointer;
color: var(--accent);
}

.maximize_btn  a{
text-decoration:none;
color:var(--accent);
}

.highlight-result {
	font-weight: bold;
	color: green; /* Green color for the highlighted result */
}


@media (max-width: 800px) {
	.container {
		flex-direction: column;
		padding-left: 10px;
		padding-right: 10px;
		box-sizing: border-box;
		overflow-x: hidden;
	}

	.card {
		margin: 10px 0;
	}

	.card h3 {
		font-size: 18px;
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.card h3 input {
		width: 70px;
		font-size: 14px;
	}

	.card h3 button {
		padding: 8px 12px;
		font-size: 14px;
	}

	.right-column {
		width: 100%;
		margin-top: 20px;
		padding-left: 0;
		padding-right: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.ad-placeholder {
		width: 100%;

	}
}

/* Mobile fix for h3 layout inside cards */
@media (max-width: 800px) {
	.card h3 {
		flex-wrap: wrap;
		overflow-x: visible;
	}

	.container {
		width: 100%;
	}
}