@font-face {
  font-family: 'Hafs';
  src: url('Hafs_20.woff2');
}
/* Preload this font with: <link rel="preload" href="css/aqf_bsml.woff2" as="font" type="font/woff2" crossorigin> */
@font-face {
  font-family: 'sowar_names';
  font-style: normal;
  font-weight: normal;
  src: url('aqf_bsml.woff2') format('woff2');
  font-display: swap;
}
@font-face {
    font-family: 'DroidArabicKufiBold';
        src: url('DroidArabicKufiBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;

      }

@font-face {
    font-family: 'DroidArabicKufiRegular';
        src: url('DroidArabicKufiRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    

      }


@font-face {
    font-family: 'Droid Arabic Kufi';
        src: url('DroidArabicKufiBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
      }



@font-face {
    font-family: 'Droid Arabic Kufi';
        src: url('DroidArabicKufiRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
      }

@font-face {
    font-family: 'IndoPak';
    src: url('IndoPak-QuranWBW.woff2');
    font-weight: normal;
    font-display: swap;
  }

@font-face {
    font-family: 'Urdu';
        src: url('urdu_mehr.woff2'),
        url('urdu_mehr.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;

}
@font-face {
    font-family: 'Farsi';
    src: url('persian.woff2');
    font-display: swap;
}
@font-face {
    font-family: 'Pashto';
    src: url('pashto.woff2');
    font-display: swap;
}

[v-cloak] {
  display: none;
}

.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.memo_cont{
    background: #eee;
    padding:10px;
    margin:10px 0px 10px 0px;
}
.memo_cont textarea{
    color:initial;
    border-color:#eee;
}
.exp_cont{
    color:#999;
}
input,textarea{
    color:darkblue;
}
body,h1,h2,h3,h4,h5,h6,div{
    font-family: DroidArabicKufiRegular, sans-serif;
}
#topMain.nav-pills>li>a{
    font-size: 16px;
}







 .checkbox {
  padding-left: 20px; }
  .checkbox label {
    display: inline-block;
    position: relative;
    padding-left: 5px; }
    .checkbox label::before {
      content: "";
      display: inline-block;
      position: absolute;
      width: 17px;
      height: 17px;
      left: 0;
      margin-left: -20px;
      border: 1px solid #cccccc;
      border-radius: 3px;
      background-color: #fff;
      -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
      -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
      transition: border 0.15s ease-in-out, color 0.15s ease-in-out; }
    .checkbox label::after {
      display: inline-block;
      position: absolute;
      width: 16px;
      height: 16px;
      left: 0;
      top: 0;
      margin-left: -20px;
      padding-left: 3px;
      padding-top: 1px;
      font-size: 11px;
      color: #555555; }
  .checkbox input[type="checkbox"] {
    opacity: 0; }
    .checkbox input[type="checkbox"]:focus + label::before {
      outline: thin dotted;
      outline: 5px auto -webkit-focus-ring-color;
      outline-offset: -2px; }
    .checkbox input[type="checkbox"]:checked + label::after {
      font-family: 'FontAwesome';
      content: "\f00c"; }
    .checkbox input[type="checkbox"]:disabled + label {
      opacity: 0.65; }
      .checkbox input[type="checkbox"]:disabled + label::before {
        background-color: #eeeeee;
        cursor: not-allowed; }
  .checkbox.checkbox-circle label::before {
    border-radius: 50%; }
  .checkbox.checkbox-inline {
    margin-top: 0; }

.checkbox-primary input[type="checkbox"]:checked + label::before {
  background-color: #428bca;
  border-color: #428bca; }
.checkbox-primary input[type="checkbox"]:checked + label::after {
  color: #fff; }

.checkbox-danger input[type="checkbox"]:checked + label::before {
  background-color: #d9534f;
  border-color: #d9534f; }
.checkbox-danger input[type="checkbox"]:checked + label::after {
  color: #fff; }

.checkbox-info input[type="checkbox"]:checked + label::before {
  background-color: #5bc0de;
  border-color: #5bc0de; }
.checkbox-info input[type="checkbox"]:checked + label::after {
  color: #fff; }

.checkbox-warning input[type="checkbox"]:checked + label::before {
  background-color: #f0ad4e;
  border-color: #f0ad4e; }
.checkbox-warning input[type="checkbox"]:checked + label::after {
  color: #fff; }

.checkbox-success input[type="checkbox"]:checked + label::before {
  background-color: #5cb85c;
  border-color: #5cb85c; }
.checkbox-success input[type="checkbox"]:checked + label::after {
  color: #fff; }

.radio {
  padding-left: 20px; }
  .radio label {
    display: inline-block;
    position: relative;
    padding-left: 5px; }
    .radio label::before {
      content: "";
      display: inline-block;
      position: absolute;
      width: 17px;
      height: 17px;
      left: 0;
      margin-left: -20px;
      border: 1px solid #cccccc;
      border-radius: 50%;
      background-color: #fff;
      -webkit-transition: border 0.15s ease-in-out;
      -o-transition: border 0.15s ease-in-out;
      transition: border 0.15s ease-in-out; }
    .radio label::after {
      display: inline-block;
      position: absolute;
      content: " ";
      width: 11px;
      height: 11px;
      left: 3px;
      top: 3px;
      margin-left: -20px;
      border-radius: 50%;
      background-color: #555555;
      -webkit-transform: scale(0, 0);
      -ms-transform: scale(0, 0);
      -o-transform: scale(0, 0);
      transform: scale(0, 0);
      -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
      -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
      -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
      transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); }
  .radio input[type="radio"] {
    opacity: 0; }
    .radio input[type="radio"]:focus + label::before {
      outline: thin dotted;
      outline: 5px auto -webkit-focus-ring-color;
      outline-offset: -2px; }
    .radio input[type="radio"]:checked + label::after {
      -webkit-transform: scale(1, 1);
      -ms-transform: scale(1, 1);
      -o-transform: scale(1, 1);
      transform: scale(1, 1); }
    .radio input[type="radio"]:disabled + label {
      opacity: 0.65; }
      .radio input[type="radio"]:disabled + label::before {
        cursor: not-allowed; }
  .radio.radio-inline {
    margin-top: 0; }

.radio-primary input[type="radio"] + label::after {
  background-color: #428bca; }
.radio-primary input[type="radio"]:checked + label::before {
  border-color: #428bca; }
.radio-primary input[type="radio"]:checked + label::after {
  background-color: #428bca; }

.radio-danger input[type="radio"] + label::after {
  background-color: #d9534f; }
.radio-danger input[type="radio"]:checked + label::before {
  border-color: #d9534f; }
.radio-danger input[type="radio"]:checked + label::after {
  background-color: #d9534f; }

.radio-info input[type="radio"] + label::after {
  background-color: #5bc0de; }
.radio-info input[type="radio"]:checked + label::before {
  border-color: #5bc0de; }
.radio-info input[type="radio"]:checked + label::after {
  background-color: #5bc0de; }

.radio-warning input[type="radio"] + label::after {
  background-color: #f0ad4e; }
.radio-warning input[type="radio"]:checked + label::before {
  border-color: #f0ad4e; }
.radio-warning input[type="radio"]:checked + label::after {
  background-color: #f0ad4e; }

.radio-success input[type="radio"] + label::after {
  background-color: #5cb85c; }
.radio-success input[type="radio"]:checked + label::before {
  border-color: #5cb85c; }
.radio-success input[type="radio"]:checked + label::after {
  background-color: #5cb85c; }

/* Image Share Styles */
.share-container {
  overflow-x: scroll;
}
.share-template {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 49px 57px;
  width: 1133px;
}

.share-sura-header {
  width: 100%;
  margin-bottom: 6rem;
}
  
.share-sura-bg {
  width: 100%;
  min-height: 350px;
  object-fit: contain;
  object-position: top;
}

.share-sura-name {
  font-family: sowar_names !important;
  color: #fff;
  font-size: 52px;
  text-align: center;
  font-weight: 400;
  margin-top: -197px;
}

.share-arabic-text {
  color: #000;
  width: 95%;
  text-align: center;
  font: 400 65px/110px "Hafs", sans-serif !important;
  margin-top: 1.7rem;
}

.share-translation-header {
  display: flex;
  margin-top: 8rem;
  gap: 1.4rem;
  font-size: 2rem;
  color: #1189c8;
  font-weight: 400;
  text-align: center;
  font-family: sans-serif;
  width: 88%;
}
.share-translation-name{
  width:120px;
}
.share-divider {
  border-color: rgba(191, 191, 191, 1);
  border-style: solid;
  border-width: 0.1rem;
  background-color: #bfbfbf;
  flex-grow: 1;
  max-width: 100%;
  height: 2px;
  margin: auto 0;
}

.share-translation-container {
  border-radius: 23px;
  background-color: #ededed;
  margin-top: 16px;
  width: 90%;
  color: #000;
  padding: 48px 44px 98px;
  font: 200 42px/60px sans-serif;
}

.share-footer {
  min-height: 166px;
  width: 100%;
  margin-top: 6rem;
  object-fit: contain;
  object-position: center;
}

#image-share-modal .modal-dialog {
  width: 90%;
  max-width: 1000px;
}

#image-share-modal .modal-content {
  min-height: 300px;
}

#image-share-modal .modal-body {
  text-align: center;
}

#image-share-modal img {
  max-width: 100%;
}

.share-actions {
  margin-top: 20px;
  text-align: center;
}

#imagePreviewPanel img {
  max-width: 100%;
  height: auto;
}

.qr-code-container {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: white;
  padding: 3px;
  border-radius: 3px;
  transform: scale(0.85);
}

#arabicText{
  /* font-family will be set dynamically by JavaScript */
}

#translationText{
  font-size: 18px;
  /* font-family will be set dynamically by JavaScript */
}

#translationText.urdu-font {
  font-size: 20px;
}

#translationText.farsi-font {
  font-size: 19px;
}

#translationText.pashto-font {
  font-size: 19px;
}

/* Fixed Footer Styles */
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px; /* Margin bottom by footer height */
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50px; /* Set the fixed height of the footer */
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.footer p {
  margin: 0;
  width: 100%;
  font-size: 14px;
  color: #666;
}

.footer a {
  color: #337ab7;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
}

/* Add bottom padding to panels to ensure content isn't hidden by footer */
#imagePreviewPanel {
  margin-bottom: 60px;
}

/* Video modal styling */
#videoGenerationModal .modal-body {
  min-height: 200px;
}

#videoGenerationSuccess {
  animation: fadeIn 0.5s;
}

#videoGenerationSuccess .btn-lg {
  padding: 12px 24px;
  font-size: 16px;
  margin: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive buttons on mobile */
@media (max-width: 768px) {
  #videoGenerationSuccess .btn-lg {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 10px auto;
  }
}
