@font-face {
    font-family: 'Almarai';
    src: url('/wp-content/themes/studyshoot-theme/assets/fonts/almarai-v18-arabic-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
a{
    text-decoration: none;
    color: #197CDD;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
  word-wrap: break-word;
  font-style: normal;
}
 
html, body {
  margin: 0;
  padding: 0;
  line-height: 1.9;
  color: #333;
  font-family: 'Almarai', sans-serif;
  font-style: normal;
  padding-top: 0!important;

}
body .entry-content{
    color: #6E6E6E !important;
    font-size: 18px !important;
    font-weight: normal !important;
}
 
img {
  vertical-align: middle;
  width: 100%;
  height: auto;
}
.pagination-wrapper {
  margin-top: 20px;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.dots {
  display: none !important;
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
  background-color: #333;
  color: #fff;
}
:root {
  --background-color: #f8fafc;
  --text-color: #1a202c;
  --muted-color: #718096;
  --accent-color: #4299e1;
  --card-background: #ffffff;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
  --thread-line-color: #e2e8f0;
}

.comments-area {
 
  padding: 15px;
  background: #ebebeb4f;
  margin-top: 2rem;
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
  padding-top: 5rem;
  border: 1px solid #8f8b8b7a;
  text-align: right;
  direction: right;
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
}

.comment-list,
.comment-list .children {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list .children {
  margin-right: 2rem;
  position: relative;
}

.comment-list .children::before {
  content: '';
  position: absolute;
  top: 0;
  right: -1rem;
  bottom: 0;
  width: 2px;
  background-color: var(--thread-line-color);
}

.comment-item {
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.comment-item::before {
  content: '';
  position: absolute;
  top: 2rem;
  right: -1rem;
  width: 1rem;
  height: 2px;
  background-color: var(--thread-line-color);
}

.comment-body {
  background-color: var(--card-background);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.comment-body:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.comment-meta {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.comment-author-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-author {
  font-weight: 600;
  color: var(--text-color);
}

.comment-metadata {
  font-size: 0.75rem;
  color: var(--muted-color);
}

.comment-content {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.comment-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
  margin-top: 1rem;
}

.reply-link a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

a.url {
  text-decoration: none;
  color: #3f51b5;
}

.reply-link a:hover {
  background-color: #3182ce;
  transform: translateY(-1px);
}

.comment-respond {
  margin-top: 0;
  background-color: #ffffff;
  padding: 2rem;
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
  padding-top: 5rem;
  border: 1px solid #8f8b8b7a;
}

.comment-reply-title {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 7px;
}

.comment-form-comment {
  margin-bottom: 1rem;
}

.comment-form textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background-color: var(--background-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: vertical;
  min-height: 100px;

}

.comment-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-color);
}

.submit-button {
  background-color: #0d6efd;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  font-size: 1rem;
  transition: all 0.3s ease;

}

.submit-button:hover {
  background-color: #3182ce;
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comment-list>.comment-item {
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
}

.comment-list>.comment-item:nth-child(1) {
  animation-delay: 0.1s;
}

.comment-list>.comment-item:nth-child(2) {
  animation-delay: 0.2s;
}

.comment-list>.comment-item:nth-child(3) {
  animation-delay: 0.3s;
}

.comment-list>.comment-item:nth-child(4) {
  animation-delay: 0.4s;
}

.comment-list>.comment-item:nth-child(5) {
  animation-delay: 0.5s;
}

.comment-form-url {
  display: none;
}

.comment-form-author input,
.comment-form-email input {
  width: 100%;
  border: .1px solid #dfdfdf;
  background: #f8fafc;
}
p.logged-in-as {
  font-size: 11px;
  margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .comments-area {
    padding: 1rem;

  }

  .comment-body {
    padding: 1rem;
  }

  .comment-list .children {
    margin-right: 1rem;
  }

  .comment-list .children::before {
    right: -0.5rem;
  }

  .comment-item::before {
    right: -0.5rem;
    width: 0.5rem;
  }
}

.wp-block-image img {
  margin: 3rem 0;

  box-sizing: border-box; 
  max-width: 100%;
  vertical-align: bottom;
  object-fit: cover;
}

img.card-img-top.rounded.wp-post-image {
  height: auto;
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 2rem;
}

figcaption.wp-element-caption {
  margin-bottom: 1em;
  font-size: 11px;
  text-align: center;
  margin-top: -3rem;
  background: #fff;
}

.wp-block-heading {
  margin-top: 2rem;
}
h2.wp-block-heading, h2.wp-block-heading a {
    font-weight: 900;
    color: #2196F3;
}
h3.wp-block-heading, h4.wp-block-heading, h5.wp-block-heading, h3.wp-block-heading a, h4.wp-block-heading a, h5.wp-block-heading a {
    font-size: 1.5rem;
 
    text-decoration: none;
}
h3.wp-block-heading, h3.wp-block-heading a {
    color: #388278;
    font-weight: 800;
}
h4.wp-block-heading, h4.wp-block-heading a  {
    color:  #7FA86E; 
    font-weight: 500;
}
h5.wp-block-heading, h5.wp-block-heading a {
    color: #388278;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {

  line-height: revert-layer;
}

.wp-block-buttons {
  background: #1a73e840;
  padding: 3rem 15px;
  color: #000000;
  border-radius: 15px;
  border: 1px solid #dbd9d9;
  margin: 2rem 0;
  align-items: center;
  justify-content: center;
}

pre.wp-block-preformatted {
  background-color: rgb(33 37 41) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  color: #fff;
}


.rank-math-list,
.wp-block-rank-math-faq-block {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px !important;
  background-color: #f7fafb !important;
  padding: 1.5rem !important;
}

.rank-math-list-item {
  margin-bottom: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.rank-math-question {
  cursor: pointer;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  color: #102147 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  position: relative;
  padding: 1rem 1.25rem;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
  margin: 0;
  max-width: 100%;
  width: 100%;
  align-items: center;
  display: flex;
  margin-bottom: .8rem;
}

.rank-math-question:hover {
  background-color: #f0f0f0;
}

.rank-math-question::after {
  content: '+';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-90%);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.rank-math-list-item.active .rank-math-question::after {
  transform: translateY(-50%) rotate(45deg);
  display: block;
}

.rank-math-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.rank-math-faq-item.active .rank-math-answer,
.rank-math-list-item.active .rank-math-answer {
  max-height: 500px;
  margin-top: .5rem !important;
  margin-bottom: .5rem !important;
  padding: 1rem 1.25rem;
}

.rank-math-answer p {
  margin: 0;
  line-height: 1.6;
}

.screen-reader-text {
  display: none;
}

/* Responsive Table Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Modern Table Style */
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0; 
  font-size: 1rem;
  background-color: #fff;
  color: #333;
  margin-bottom: 1.5rem;
}

table thead {
  background-color: #f5f5f5;
}

table thead th { 
  padding: 0.75rem;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
}

table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

table td {
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
}

@media screen and (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
figure {
  display: block;
  margin: 1.5rem 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.wrapper ul.wp-block-list {
    background: rgba(56, 130, 120, 0.1);
    padding-top: 30px;
    border-radius: 8px;
    border-left: 4px solid #388278;
    padding-bottom: 30px;
    transition: .4s;
}
ul.wp-block-list:hover {
    box-shadow: 2px 2px 8px rgba(163, 177, 198, 0.6), -2px -2px 8px rgba(255, 255, 255, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: .4s;
}
ul.wp-block-list li {
    list-style: none;
    list-style-type: none;
    position: relative;
    padding-right: 1.5em;
    padding-left: 1rem;
}
ul.wp-block-list li:before {
 
    content: "⚀";
    position: absolute;
    right: 0;
    color: #388278;
    font-weight: 900;
    font-size: 10px;
    margin-top: 4px;
}
/*************************************************** 
**********************************************************
*****************************Account Page *****************************
**********************************************************
**********************************************************
/***************************************************/

.container.d-flex.justify-content-center.align-items-center.position-relative.d-container-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
}
.d-container-login .login-container {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px;

  background-color: #fff;
}

.d-container-login .login-form {
  padding: 3rem;
}


.d-container-login .slider-side {
  background-color: #4e73df;
  color: white;
}

.d-container-login .page-logo {
  position: absolute;
  top: -4rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.d-container-login .page-logo img {
  width: 150px;
  height: 150px;
  background: #fff;
  border-radius: 100%;
  z-index: 12;
  box-shadow: 0 10px 30px rgb(78 115 223 / 27%);
  background-color: #fff;
}

.d-container-login .slide {
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  animation: fade 1.5s ease;
}

.d-container-login .slide.active {
  display: flex;
}

.d-container-login .slide i {
  font-size: 2rem;
  margin-bottom: 2rem;
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff33;
  color: #ffffff29;
  padding: 15px;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.d-container-login .slide-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.d-container-login .slide-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.d-container-login .dot-container {
  display: flex;
  justify-content: center;
  margin-top: -4rem;
}

.d-container-login .dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.d-container-login .dot.active {
  background-color: white;
}

.d-container-login .form-floating label {
  color: #6c757d;
}

.d-container-login .btn-login {
  background-color: #4e73df;
  border: none;
  padding: 0.75rem;
  font-weight: 600;
}

.d-container-login .btn-login:hover {
  background-color: #375ad3;
}

.d-container-login .social-login a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 5px;
  color: white;
  text-decoration: none;
}

@keyframes fade {
  from {
    opacity: 0.4
  }

  to {
    opacity: 1
  }
}

@media (max-width: 992px) {
  .d-container-login {
    background: #ffffff;
    padding: 0;
  }

  .d-container-login .login-form,
  .d-container-login .slider-side {
    padding: 2rem;
    margin-top: 6rem;
  }

  .d-container-login .slide-img {
    width: 180px;
    height: 180px;
  }

  .d-container-login .dot-container {
    margin-top: 0rem;
  }
}

@media (max-width: 767px) {
  .d-container-login .login-container {
    flex-direction: column-reverse;
  }
}
