/* 17-10-2025 */
.popular-courses-items .author-info .others {
    padding-left: 0 !important;
}

/* MAIN WRAPPER */
.stylish-input-group {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* CF7 wrapper fix (IMPORTANT) */
.stylish-input-group .wpcf7-form-control-wrap {
    flex: 1;
    display: block;
    width: 100%;
}

/* EMAIL INPUT */
.stylish-input-group input[type="email"] {
    width: 100%;
    border: 1px solid #ffffff54 !important;
    margin: 10px 0 !important;
    padding: 12px 15px !important;
    color: #fff !important;
    background: transparent;
    outline: none;
    border-radius: 30px;
    box-sizing: border-box;
}

/* PLACEHOLDER */
.stylish-input-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* SUBMIT BUTTON */
.stylish-input-group .wpcf7-submit,
.nws-form .tnp-submit {
    padding: 12px 22px !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 16px !important;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: 0.3s ease;
}

/* BUTTON HOVER */
.stylish-input-group .wpcf7-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .stylish-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .stylish-input-group .wpcf7-submit {
        width: 100%;
    }
}



.course-video {
  max-width: 100%;
  margin: 0 auto;
}

.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  background: #000;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0, 0, 0, 0.8);
}

.play-button svg {
  width: 40px;
  height: 40px;
}

/* Make iframe fill the container */
.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.course-file {
  display: flex;
  align-items: center;
  margin: 20px 0;
}
.course-file .file-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}
.course-file .file-link:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.course-file .file-thumb img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 15px;
}
.course-file .file-name {
  font-size: 16px;
  font-weight: 500;
}


/* 17-10-2025 */

.contact-info-area .maps-form .wpcf7-submit {

    background: #002147 none repeat scroll 0 0;

    border: medium none;

    color: var(--white);

    font-family: var(--font-heading);

    font-weight: 600;

    padding: 10px 25px;

    text-transform: uppercase;

}

.contact-info .wpcf7-submit {
    background: #002147 none repeat scroll 0 0;
    border: medium none;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 25px;
    text-transform: uppercase;
}



span.page-numbers.active.current {

    background-color: #d7172e;
    color: white;
    border: 1px solid #d7172e;
	padding:8px 16px;
}

span.page-numbers.current {

    background-color: #d7172e;
    color: white;
    border: 1px solid #d7172e;
	padding:8px 16px;
}



.pagination a {

    float: none;

    padding: 8px 16px;

    text-decoration: none;

    margin: -2px;

}

.woocommerce img, .woocommerce-page .custom-img {

    height: unset;

    max-width: 250px;

}





/* Default: Hide on desktop */

#menu-item-372,

#menu-item-373 {

  display: none;

}





@media (max-width: 768px) {

  #menu-item-372,

  #menu-item-373 {

    display: block; 

  }

}



.dashboard-tabs{

	display:block;

	padding:0;

	margin:0;

}

.dashboard-tabs li{

	display:block;

	padding:0;

	margin:0;

}

.dashboard-tabs li a{

  font-size: 16px;

  color: #ffffff;

  line-height: 26px;

  background: #154988;

  padding: 10px 14px;

  margin: 0 0 2px 0;

  display: block;

  border-radius: 2px;

}

.dashboard-tabs li a.active{

	  background: #d7172e;

}

.hello_123{

  background: #f3f3f3;

  padding: 20px;

  border-radius: 5px;

}

.rest1{

	font-size:30px;

}

.navbar .attr-right .attr-nav li a.popup_1 {

  padding: 5px 15px;

  width: auto;

  text-align: center;

}



.enrolled-courses-table {

  border-collapse: collapse;

  width: 100%;

}

.enrolled-courses-table td, th {

  border: 1px solid #dddddd;

  text-align: left;

  padding: 8px;

}

.enrolled-courses-table tr:nth-child(even) {

  background-color: #dddddd;

}

.enrolled-courses-table .btn-sm {

	padding: 5px 15px;

  display: block;

  border: 1px solid #ffffff;

  border-radius: 5px;

  width: auto;

  text-align: center;

  color: #ffffff;

  display: inline-block;

  background: #154988;

}

.enrolled-courses-table .btn-sm:hover{

	  background: #d7172e;

  color: #fff;

}

.course-list-items li .item {

  display: inline-block;

  padding-right: 20px;

  border-radius: 2px;

  border: 1px solid #dddd;

  padding: 8px 15px;

  line-height: 20px;

  border-radius: 30px;

  font-size: 13px;

}

.course-list-items li .item h5 {

  color: #002147;

  margin: 0;

  text-transform: capitalize;

  font-size: 16px;

}

.course-list-items li .item:last-child {

  float: right;

  padding-right: 14px !important;

}

.course-list-items li {

  background: none !important;

  padding: 0 !important;

  margin-bottom: 15px;

  display: inline-block;

  align-items: center;

  margin: 0;

}

.course-details-area .tab-content ul li {

  margin-bottom: 0 !important;

}

.tnp-email {

  border: 1px solid #ffffff54 !important;

  margin: 10px 0 0 0 !important;

  padding: 0 15px !important;

	color:#fff !important;

}

.tnp-subscription form{

	position:relative;

}

.tnp-subscription .tnp-field-button{

  text-align: left;

  position: absolute;

  top: 26px;

  right:0;

}

.tnp-subscription .tnp-submit{

  padding: 10px 20px !important;

  background: #fff !important;

  color: #000 !important;

  font-size: 16px !important;

}

.tnp-field input[type="submit"] {

  position: inherit;

  float: right;

  position: absolute;

  right: 0;

}

.popular-courses-items .thumb{ height:250px; }
.popular-courses-items .thumb a img{ width:100%; height:100%; }
.popular-courses-items .info .author-info .thumb{ height:inherit;  }
.popular-courses-items .info h4{ min-height:25px; }
.testimonials-area .clients-review-carousel .main-box{ width: 65%;
    text-align: center;
    margin: 0 auto; }

/* 29-01-2026 */

/* ===== PROFESSIONAL QUIZ DESIGN FIX (SPACING TWEAKED) ===== */

.course-test-container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.course-test-container h2 {
    margin-bottom: 30px;
}

/* Question block */
.course-test-form fieldset {
    border: none;
    margin-bottom: 25px; /* Reduced from 35px */
    padding: 0;
}

/* Question text */
.course-test-form legend {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px; /* Reduced from 15px */
    display: block;
}

/* OPTION BLOCK */
.course-test-form label {
    display: flex !important;
    align-items: center;
    gap: 12px; /* Slightly smaller gap */
    width: 100%;
    padding: 10px 16px; /* Reduced padding for smaller height */
    margin-bottom: 10px; /* Reduced margin */
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover effect */
.course-test-form label:hover {
    background: #eef6ff;
    border-color: #007cba;
}

/* Radio styling */
.course-test-form input[type="radio"] {
    transform: scale(1.1); /* Slightly smaller to fit reduced height */
    accent-color: #007cba;
    cursor: pointer;
}

/* Selected option */
.course-test-form label:has(input:checked) {
    background: #e6f2ff;
    border-color: #007cba;
    font-weight: 600;
}

/* Submit button */
.course-test-form button {
    margin-top: 25px; /* Reduced from 30px */
    padding: 12px 30px; /* Slightly smaller */
    font-size: 16px;
    border-radius: 8px;
}

/* Error box */
.quiz-error {
    background: #ffe5e5;
    border: 1px solid #ff4d4d;
    color: #b30000;
    padding: 12px 16px; /* Reduced padding */
    border-radius: 8px;
    margin-bottom: 20px; /* Reduced margin */
    font-weight: 600;
}

/* Field error */
.field-error {
    border: 2px solid #ff4d4d !important;
    background: #fff2f2 !important;
}
