body {
	font-family: 'El Messiri';
	background: #f8f8f8;
	margin: 0;
	padding: 0;
	text-align: center;
}
input, button {
	font-family: 'El Messiri';
	padding: 10px;
	border-radius: 10px;
	border: 1px solid #ccc;
	font-size: 16px;
}
.controls {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
}
.controls input {
	width: 80%;
	margin-bottom: 10px;
}
.controls button {
	margin: 5px;
	cursor: pointer;
	background: #0078d7;
	color: white;
	border: none;
	transition: background 0.3s;
}
.controls button:hover {
	background: #005ea6;
}
.device-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 20px auto;
}
.mobile-frame {
	border: 16px solid black;
	border-radius: 40px;
	background-color: white;
	overflow: hidden;
	position: relative;
	width: 375px;
	height: 660px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.mobile-frame iframe {
	width: 100%;
	height: 100%;
	border: none;
}
.mobile-frame {
	border: 16px solid black;
	border-radius: 40px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	background-color: white;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 375px;
	height: 667px;
}
.mobile-frame iframe {
	width: 100%;
	height: 100%;
	border: none;
}
.camera {
	width: 50px;
	height: 8px;
	background: #333;
	border-radius: 10px;
	position: absolute;
	top: 4px;
	left: 50%;
	transform: translateX(-50%);
}
/* ✅ الجهاز يتناسب تلقائيًا مع الشاشات الصغيرة */
@media 
{
.mobile-frame {
	width: 90vw;
	height: 70vh;
	border-width: 10px;
	border-radius: 25px;
}
.controls input {
	width: 100%;
	font-size: 15px;
}
.controls button {
	width: 100%;
	font-size: 15px;
}
}
@media 
{
.mobile-frame {
	width: 95vw;
	height: 70vh;
	border-width: 8px;
	border-radius: 20px;
}
}

    .header {
    background: #0c3465;
    color: #fff;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a:link, .logo a:hover, .logo a:visited {
    text-decoration: none;
    color: white;
}
h2 {
    font-size: 18px;
}

/* التاريخ الهجري والميلادي */
.circle {
	position: absolute;
	right: 0;
	left: 0;
	background-color: #007bff;
	padding: 10px;
	font-family: 'El Messiri';
}
.dates {
    font-family: 'El Messiri';
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: white;
	gap: 50px;
	margin: 0 10px;
}
.dates p {
    font-family: 'El Messiri';
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #FFF;
}

/*زر المشاركة */
.button2 {
    -webkit-appearance: none;
    /*display: inline-block;*/
    text-decoration: none;
    cursor: pointer;
    border: 0;
    border-radius: 5px;
    background: #25D366;
    color: #fff !important;
    font-weight: 700;
    font-family: 'El Messiri';
    outline: 0;
    font-size: 0.8em;
    padding: 0.65em 1.5em 0.65em 1.5em;
    text-align: center;
    margin: 0 0 0 0;
    box-shadow: 1px 1px #cc15cd;
}
.dc-related {
    text-align: center;
    margin-bottom: 20px;
    font-size: 15px;
}
.dc-related p {
    margin-bottom: 8px;
    color: #444;
}
.dc-related-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.dc-btn-outline {
    border-radius: 999px;
    border: 1px solid #0c3465;
    color: #0c3465;
    background: #fff;
    padding: 7px 16px;
    font-size: 14px;
    text-decoration: none;
}
/* المقال */
.content2 {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  line-height: 1.9;
  font-size: 16px;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 90%;
  margin: 0 auto;
}

p.footer2 {
    font-family: 'El Messiri';
    font-size: small;
    margin: 0px 10px 10px 0px;
    color: #000;
}