.logout-container {
    margin-left: auto; /* Pushes the div to the right */
  }
  
  .navbar {
    overflow: hidden;
    background-color: #333;
  }
  
  .navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  .dropdown {
    float: right;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: rgb(0, 0, 0);
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  /* .navbar a:hover, .dropdown:hover .dropbtn {
    background-color: rgb(192, 175, 175);
  } */
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #b8f8b3;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .logout-container .btn--primary {
    padding: 10px 20px; /* Proper padding */
    font-size: 16px; /* Adjust font size */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    background-color: #1D4F9A; /* Primary button color */
    color: white; /* Text color */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
  }
  
  /* Button hover effect */
  .logout-container .btn--primary:hover {
    background-color: #0056b3; /* Darker shade on hover */
  }
  
  /* Button active effect */
  .logout-container .btn--primary:active {
    background-color: #004085; /* Even darker shade on active */
  }
  
  /* Button focus effect */
  .logout-container .btn--primary:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); /* Add custom focus outline */
  }

  .header-profile-image{
    height: 40px;
    width: 40px;
    border-radius: 50%
  }

  .lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-top: 5px;
}
.lang-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.lang-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.lang-dropdown-content a:hover {
    background-color: #f1f1f1;
}
.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}
.flag-icon {
    margin-right: 8px;
}
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
iframe[id^=":"] {
    display: none !important;
}
.lang-fa-lg {
font-size: 2em;
line-height: 1em;
vertical-align: -0.1767em;
color: #1D4F9A;
}

body {
    top: 0px !important;
}

/* Loader CSS */
.loader {
  /* border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #1D4F9A; */
  width: 180px;
  height: 180px; 
  position: absolute;
  top: 50%;
  left: 50%; 
  /* animation: spin 2s linear infinite; */
  /* transform: translate(-50%, -50%); */
  /* background-image: url("/sites/tutorial2program/files/loader-image.gif");
  background-color: #000; */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.card-quiz-link{
  line-height: 12px !important;  
  height: 33px !important;
  margin-left: 5px !important;
  margin-right: 5px !important;
  color: white !important;
}

.quiz_card_title{
  font-size: 23px !important;
  font-weight: 600 !important;
}

.cerificate-details-cls{
  display: inline-flex;
}
.cerificate-details-cls h4{
  margin-right: 10px;
}

.highlight {
  color: #ff4081;
}

.cerificate-details-cls h3{
  margin-right: 10px;
}

@media (max-width: 767px){
    .cerificate-details-cls{
    display: block;
  } 

  .logout-container .btn--primary {
    padding: 8px 10px; /* Proper padding */
    font-size: 10px; /* Adjust font size */
  }

  .header-profile-image {
    height: 40px;
    width: 40px;
  }
  
  .compiler-cta .python-image {
    max-height: 600px !important;
  }

  .lang-fa-lg {
    font-size: 1.5em;
  }

  .platform__icon{
    width: 25px;
    height: 25px;
  }

  .dropdown-content, .lang-dropdown-content {
    right: 0;
    left: auto;
  }

  /* .nav-tab{
    display: block;
  } */

  .title-mobile-section{
    margin-right: 15px !important;
  }

  .title_mobile_section{
    width: 50px !important;
    height: 50px !important;
  }

  .nav-mobile-tab{
    padding: 4px;
    margin-right: 2px;
    font-size: 8px;
    line-height: 5px;
  }

  .nodmek-mobile-icon{
    height: 20px;
    width: 20px;
  }

  .embed-mobile{
    width: 105px;
    height: 60px;
  }

  .embed-header-menu{
    font-size: 15px;
    line-height: 28px;
    font-weight: 300;
  }

  .tabbed-content ol li:before {
      width: 20px;
      height: 20px;
      font-size: 12px;
      line-height: 20px;
      margin-right: 10px;
  }

  .submenu-mobile-banner{
    padding: 0px 0px 0px 0px;
  }
}

@media (max-width: 991px) {
  .sub-menu__contents {
      overflow: scroll !important;
  }
}

.dropdown-mobilemenu:hover .dropdown-content-mobilemenu {
  display: block;
}

.dropdown-content-mobilemenu {
  display: none;
  position: absolute;
  z-index: 1;
  min-width: 110px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,1.2);
  background-color: #f9f9f9;
}

.dropdown-content-mobilemenu a {
  float: none;
  color: black;
  text-decoration: none;
  display: block;
  text-align: left;
  padding: 5px 5px;
  font-size: 0.8em;
}

.dropdown-content-mobilemenu a:hover {
  background-color: #9ce996 !important;
}

.footer-icon-social {
  margin-left: 2px;
  margin-right: 5px;
}

footer{
  padding-top: 40px !important;
}

.disabled {
  pointer-events: none; /* Disable click actions */
  opacity: 0.6; /* Make it appear visually disabled */
  cursor: not-allowed; /* Show a "not-allowed" cursor */
}

.card-course{
  border-radius: 30px !important;
}

.card-compiler-container{
  border-radius: 25px !important;
}

 /* Preloader start */
@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&amp;display=swap");
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999999;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-container,
.loading {
    height: 120px;
    position: relative;
    width: 120px;
    border-radius: 100%;
}

.loading-container {
    margin: 40px auto;
}

.loading {
    border: 1px solid transparent;
    border-color: transparent #4E2FDA transparent #4E2FDA;
    animation: rotate-loading 1.5s linear 0s infinite normal;
    transform-origin: 50% 50%;
}

.loading-container:hover .loading,
.loading-container .loading {
    transition: all 0.5s ease-in-out;
}

#loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 70px;
    width: 60px;
}

@keyframes rotate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* preloader end */



/*Login container*/
/* General Styling */

    .container-exam {
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        border-radius: 15px;
        width: 90%;
        max-width: 800px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    /* Header Section */
    .header-exam {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #ffffff1a;
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .user-info {
        display: flex;
        align-items: center;
    }

    .user-info img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid #fff;
        margin-right: 10px;
    }

    .user-info .name {
        font-size: 18px;
        font-weight: bold;
    }

    .timer-exam {
        background: #ffdc7d;
        color: #333;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 16px;
        font-weight: bold;
    }

    /* Content Section */
    .content-exam {
        flex: 1;
    }

    .question-exam {
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .answers-exam {
        margin-bottom: 20px;
    }

    .answers-exam label {
        display: flex;
        align-items: center;
        background: #ffffff1a;
        margin: 8px 0;
        padding: 15px 20px;
        border-radius: 5px;
        font-size: 20px;
        cursor: pointer;
        transition: background 0.3s, transform 0.2s;
        font-weight: 500;
    }

    .answers-exam label:hover {
        background: #ffdc7d33;
        transform: translateY(-2px);
    }

    .answers-exam input {
        margin-right: 10px;
    }

    
    .answers-exam label {
      position: relative; /* Establish positioning context for absolute positioning */
    }

    .answers-exam img {
      position: absolute;
      right: 10px; /* Align the image to the right within the label */
      top: 50%;
      transform: translateY(-50%); /* Vertically center the image */
      height: 25px;
    }

    /* Footer Section */
    .footer-exam {
        text-align: center;
    }

    .footer-exam button {
        background: #ffdc7d;
        color: #333;
        border: none;
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s, transform 0.2s;
        width: 100%;
        max-width: 200px;
    }

    .footer-exam button:hover {
        background: #ffcc4d;
        transform: translateY(-2px);
    }

    .footer-exam button:active {
        transform: translateY(0);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .user-info img {
            width: 40px;
            height: 40px;
        }

        .user-info .name {
            font-size: 16px;
        }

        .timer-exam {
            font-size: 14px;
            padding: 8px 15px;
        }

        .question-exam {
            font-size: 20px;
        }

        .answers-exam label {
            padding: 10px 15px;
        }

        .footer-exam button {
            padding: 10px 16px;
            font-size: 14px;
        }

        .congratulations-mobile {
          top: 20% !important;
          font-size: 45px !important;
      }
}

    .tabbed-link-container-exam{
      font-family: 'Roboto', sans-serif;
                margin: 0;
                justify-content: center;
                padding: 10px;
                margin: 0;
              background: linear-gradient(121deg, #4a74fe, #ffffff);
              color: #0a0909;
              display: flex
    }

    /* Balloons */
    .balloon {
      position: absolute;
      bottom: 100px;
      width: 50px;
      height: 80px;
      background: #ff6f61;
      border-radius: 50%;
      animation: float 20s linear infinite;
  }

  .balloon::before {
      content: '';
      position: absolute;
      bottom: -20px;
      left: 50%;
      width: 4px;
      height: 20px;
      background: #fff;
      transform: translateX(-50%);
  }

  @keyframes float {
      0% {
          transform: translateY(0);
          opacity: 1;
      }
      100% {
          transform: translateY(-120vh);
          opacity: 0;
      }
  }

  /* Congratulations Message */
  .congratulations {
      position: absolute;
      top: 30%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 100px;
      font-weight: bold;
      color: #ffdc7d;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
      opacity: 0;
      animation: fadeInOut 10s forwards;
      z-index: 100;
      display: none;
  }

  @keyframes fadeInOut {
      0% {
          opacity: 0;
      }
      10% {
          opacity: 1;
      }
      90% {
          opacity: 1;
      }
      100% {
          opacity: 0;
      }
  }

  @keyframes header-anime {
    0% {
        opacity: .8;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: .8;
    }
  }

  .feedback-icon {
    height: 30px;
    margin-left: 5px;
}
