.sf-ir-hero {
	position: relative;
	width: 100%;
	margin: -100px auto 0;
	height: auto;
	background-color: #ffffff;
	overflow: hidden;
	-webkit-clip-path: polygon(30px 0, 100% 0, 100% 100%, 0% 100%, 0 30px);
	clip-path: polygon(30px 0, 100% 0, 100% 100%, 0% 100%, 0 30px);
	z-index: 3;
}

.sf-ir-hero-i {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
}

.sf-ir-hero-i img {
	width: 100%;
	object-fit: cover;
	background-position: center;
	height: 400px;
	background-size: cover;
}

.sf-ir-hero-i-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #052d67;
	opacity: 0.8;
	z-index: 1;
}

.sf-ir-hero h2 {
	padding: 15px;
	font-size: 25px;
	font-weight: 540;
	color: #052d67;
	margin-bottom: -15px;
}

.sf-ir-hero p {
	padding: 15px;
	max-width: 425px;
	margin-top: -20px;
	font-size: 19px;
	font-weight: 500;
	color: #052D67;
}

.sf-ir-he-in {
	display: grid;
	width: 90%;
    max-width: 1500px;
    margin: 40px auto 0;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
	gap: 0px 0px;
	grid-auto-flow: row;
	grid-template-areas: ". .";
	color: #052D67;
}

@media (max-width: 768px) {
.sf-ir-he-in {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	grid-template-areas: "." ".";
	color: #052D67;
}
}

.sf-ir-in-ch {
	color: #052D67;
	border-radius: 16px;
	padding: 15px;
	margin-top: 30px;
	border: 1px solid #DCDCDC;
}

.sf-ir-in-ch .sf-riyal {
    display: flex;
    align-items: center;
    margin-top: -20px;
}
.sf-ir-in-ch .sf-riyal p {
    font-weight: 540;
    font-size: 29px;
}

.sf-ir-in-ch .sf-riyal svg {
    max-height: 28px;
    padding: 0;
    margin: 5px 5px 5px 0;
}

.sf-riyal-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.sf-ir-in-ch2 {
    display: flex;
    align-items: center;
    margin-top: -52px !important;
    color: #70bf6a !important;
}
.sf-ir-in-ch2 p {
    font-weight: 540;
    font-size: 29px;
}

.sf-ir-in-ch2 svg {
    max-height: 23px;
    padding: 0px;
    margin: 0 0;
}

.sf-ir-chart-container {
  width: 100%;
  height: auto;
}

.sf-ir-chart-container svg {
  width: 100%;
  height: auto;
  display: block;
}


.sf-ir-tabs-wrapper {
    direction: ltr;
    display: flex;
    max-width: 1500px;
	width: 90%;
    margin: 40px auto;
    gap: 20px;
    flex-wrap: wrap;
}

html[dir="rtl"] .sf-ir-tabs-wrapper {
    direction: rtl;
}

.sf-ir-tabs {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf-ir-tab {
    border: none;
    text-align: left;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 6px;
    background: #f2f4f6;
    color: #052d67;
    font-size: 13px;
    padding: 12px 5px;
    font-family: "TheSansArabic";
    font-weight: 540;
}

html[dir="rtl"] .sf-ir-tab {
    text-align: right;
}

.sf-ir-tab.active {
    background: #052d67;
    color: #f2f4f6;
    font-family: "TheSansArabic";
    font-weight: 540;
}

.sf-ir-tab-content {
  flex: 1;
  min-width: 0;
}

.sf-ir-tab-panel {
  display: none;
}

.sf-ir-tab-panel.active {
  display: block;
}

.sf-ir-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.sf-ir-table th,
.sf-ir-table td {
  padding: 10px;
  border: 1px solid #E7E9EB;
  text-align: left;
}

html[dir="rtl"] .sf-ir-table th,
html[dir="rtl"] .sf-ir-table td {
  text-align: right;
}

.sf-ir-table th {
  background: #f7f7f7;
  font-weight: bold;
  color: #002B5C;
}

.sf-ir-tab-select {
  display: none;
}

@media (max-width: 768px) {
  .sf-ir-tab-select {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-family: "TheSansArabic";
    font-size: 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    background-color: #f2f4f6;
    color: #052d67;
  }

  .sf-ir-tabs {
    display: none;
  }
}

.sf-ir-table-final {
  width: 100%;
  border-collapse: collapse;
  direction: ltr;
  font-family: "TheSansArabic";
  font-size: 15px;
}

html[dir="rtl"] .sf-ir-table-final {
  direction: ltr;
}

.sf-ir-table-final th,
.sf-ir-table-final td {
  border: 1px solid #E7E9EB;
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
  background-color: #fff;
}

html[dir="rtl"] .sf-ir-table-final th,
html[dir="rtl"] .sf-ir-table-final td {
  text-align: right;
}

.sf-ir-table-final th {
  background-color: #f7f9fc;
  color: #002B5C;
  font-weight: 500;
  width: 25%;
}

.sf-ir-table-final td {
  width: 25%;
  color: #333F4D;
  font-weight: 500;
}

.sf-ir-table-final .section-title td {
    background-color: #dfe3e7;
    font-weight: bold;
    color: #052D67;
    font-size: 16px;
    text-align: left;
    padding: 14px 12px;
    border: 1px solid #E7E9EB;
}

html[dir="rtl"] .sf-ir-table-final .section-title td {
  text-align: right;
}


.chart-container {
  width: 100%;
  max-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  overflow: hidden;
}

#chart_div {
  width: 100%;
  height: 350px;
}
@media (max-width: 768px) {
  #chart_div {
    height: 260px;
  }
}

.inner-tabs-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    border-bottom: 1px solid #e6e6e6;
    margin: 0px auto 15px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.inner-tab {
    border: none;
    background: transparent;
    font-family: "theSansArabic";
    font-weight: 500;
    color: #002b5c;
    font-size: 11px;
    cursor: pointer;
    padding: 9px 17px;
    border-radius: 7px;
    transition: 0.2s ease;
}

.inner-tab.active {
    background-color: #052d67;
    color: #ffffff;
    font-weight: 500;
}

.inner-tab-content {
  margin-top: 20px;
}

.inner-tab-panel {
  display: none;
}

.inner-tab-panel.active {
  display: block;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.report-card {
    padding: 15px;
    border: 1px solid #DCDCDC;
    border-radius: 10px;
}

.report-card h3 {
    font-size: 18px;
    font-weight: 530;
    color: #052d67;
    margin-top: 0;
}

.report-card p {
    font-size: 14px;
    color: #333f4d;
    margin-top: -10px;
    margin-bottom: 10px;
}

.report-card a {
    color: #052d67;
    font-weight: 540;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s ease;
}

.report-card a:hover {
  text-decoration: underline;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}

.member-card img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 0;
  margin: 0 auto 15px;
}

.member-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #111;
}

.member-card p {
  font-size: 14px;
  color: #333F4D;
  line-height: 1.6;
}

.stock-summary-table {
    font-family: "TheSansArabic", sans-serif;
    direction: ltr;
    margin: 40px auto;
    color: #1e2329;
}

html[dir="rtl"] .stock-summary-table {
  direction: rtl;
}

.stock-summary-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
}

.stock-summary-table .summary-main thead th {
    background-color: #f7f9fc;
    color: #052d67;
    border: 1px solid #e7e9eb;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

.stock-summary-table .summary-main td {
  padding: 10px;
  border: 1px solid #eee;
  text-align: center;
}

.section-title {
    background-color: #f7f9fc;
    border: 1px solid #e7e9eb;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: bold;
    color: #052d67;
    margin: 0;
}

.stock-summary-table .summary-details thead th {
    background-color: #f7f9fc;
    color: #052d67;
    text-align: center;
    border: 1px solid #e7e9eb;
    padding: 10px;
    font-weight: bold;
    font-size: 14px;
}

.stock-summary-table .summary-details td {
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

html[dir="rtl"] .stock-summary-table .summary-details td {
  text-align: right;
}

.arrow-up {
  color: green;
  font-weight: bold;
}

.arrow-down {
  color: red;
  font-weight: bold;
}

.sf-ir-announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.sf-ir-announcement-card {
    background: #ffffff;
    border: 1px solid #e7e9eb;
    padding: 10px 10px 14px 10px;
    border-radius: 10px;
}

.sf-ir-announcement-card:hover {
    background: #f2f4f621;
    border: 1px solid #052d67;
}

.sf-ir-announcement-title {
    font-size: 18px;
    color: #002b5c;
    margin-top: 10px;
    font-weight: 530;
}

.sf-ir-announcement-date {
    font-size: 14px;
    color: #979da3;
    margin: -9px auto 0px;
}

.sf-ir-announcement-snippet {
    font-size: 15px;
    margin: 5px auto 20px;
    color: #1e2329;
}

.sf-ir-announcement-link {
    font-size: 14px;
    color: #052d67;
    text-decoration: none;
    font-weight: 540;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    display: inline-block;
}

.sf-ir-announcement-link:hover {
    text-decoration: underline;
    background: none !important;
    color: #052d67 !important;
}

.sf-ir-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sf-ir-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sf-ir-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 4px;
}

.sf-ir-modal-header h3 {
    font-size: 18px;
    color: #002b5c;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.sf-ir-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.sf-ir-modal-close:hover {
    color: #333;
    background: none !important;
}

.sf-ir-modal-body {
    font-size: 14px;
    line-height: 1.6;
    color: #1e2329;
}

.sf-ir-modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .sf-ir-modal {
        max-height: 90vh;
        padding: 16px;
    }
}

/* Announcement detail page */
.sf-announcement-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 24px 80px;
}

.sf-announcement-page-inner {
    background: #fff;
    border: 1px solid #e7e9eb;
    border-radius: 12px;
    padding: 40px 48px;
}

.sf-announcement-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #052d67 !important;
    text-decoration: none;
    font-weight: 540;
    margin-bottom: 24px;
}

.sf-announcement-back:hover {
    text-decoration: underline;
}

.sf-announcement-page-title {
    font-size: 22px;
    color: #002b5c;
    font-weight: 600;
    line-height: 1.4;
    margin: 8px 0 28px;
}

.sf-announcement-page-body {
    font-size: 15px;
    line-height: 1.7;
    color: #1e2329;
}

@media (max-width: 640px) {
    .sf-announcement-page-inner {
        padding: 24px 20px;
    }
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: unset !important;
}

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    color: #fff;
    background-color: #052d67 !important;
    text-decoration: none;
}

.sf-ir-hero a,
.sf-ir-tabs-wrapper a,
.sf-ir-announcement-link {
    color: #052d67 !important;
}

#mobile-sidebar a {
    color: inherit !important;
}

table td, table th {
    padding: 15px;
    line-height: 1.5;
    vertical-align: top;
    border: 1px solid #e5e9ed !important;
}

/* New Chart Styles */
.sf-ir-in-chart {
    margin-top: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chart-area {
    padding: 24px;
    min-height: 400px;
}

.chart-area svg {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.sf-ir-tab-panel .no-data-message {
    display: block;
    width: 100%;
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 16px;
    box-sizing: border-box;
    margin: 0;
}

.no-data-icon {
    margin-bottom: 16px;
}

.no-data-title {
    margin: 0 0 8px 0;
    color: #374151;
}

.no-data-text {
    margin: 0;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chart-area {
        padding: 16px;
        min-height: 300px;
    }
}
