/*
 Theme Name:   Edusion Child Theme
 Theme URI:    https://themesvila.com/themes-wp/edusion/
 Description:  This is edusion Child Theme
 Author:       themes_mountain
 Author URI:   https://themeforest.net/user/themes_mountain
 Template:     edusion
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:  two-columns, right-sidebar
 Text Domain:  edusion-child
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@1,14..32,100..900&display=swap');
@font-face {
  font-display: swap;
}

/* @font-face {
  font-family: 'Helvetica';
  src: url('assets/fonts/Helvetica.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url('assets/fonts/Helvetica-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url('assets/fonts/Helvetica-Oblique.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
} */

body, p, ul, ol, li, a, button, input, select, textarea, label, span, div {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
}

/* ----------------------------
   CONTACT FORM 7 - CUSTOM DESIGN
----------------------------- */

.form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 25px;
  font-family: 'Poppins', sans-serif;
  /* max-width: 900px; */
  margin: 0 auto;
}

/* ---------- FIELD GROUP WIDTHS ---------- */
.form-wrapper .width-50 {
  flex: 1 1 calc(50% - 15px);
  min-width: 280px;
}

.form-wrapper .width-100 {
    flex: 1 1 100%;
}

/* ---------- LABELS ---------- */
.form-wrapper label {
  display: block;
  font-weight: 600;
  color: #0A0A0A;
  font-size: 15px;
  margin-bottom: 8px;
}

/* ---------- INPUTS & TEXTAREA ---------- */
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  color: #0A0A0A;
  background-color: #F3F3F5;
  border: #F3F3F5 1px solid;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-wrapper textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- PLACEHOLDER ---------- */
.form-wrapper ::placeholder {
  color: #AAAAAE;
  opacity: 1;
}

/* ---------- FOCUS STATE ---------- */
.form-wrapper input:focus,
.form-wrapper textarea:focus {
  background-color: #fff;
  box-shadow: 0 0 0 2px #e60012;
}

/* ---------- SUBMIT BUTTON ---------- */
.form-wrapper input[type="submit"] {
  background-color: #e60012;
  color: #fff;
  font-weight: 600;
  border: #e60012 1px solid;
  padding: 12px 36px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
    display: flex;
    justify-content: end;
    align-items: end;
    width: auto;
    margin-left: auto;
}

.form-wrapper input[type="submit"]:hover {
  background-color: #cc0010;
}

.tutor-frontend-dashboard{
  padding-top: 130px;
}
.tutor-ResetPassword {
    margin-top: 130px;
}
/* ---------- RESPONSIVE DESIGN ---------- */

/* Tablets (iPad) */
@media (max-width: 991px) {
  .form-wrapper {
    gap: 18px;
  }
  .form-wrapper .width-50 {
    flex: 1 1 100%;
  }
  .form-wrapper label {
    font-size: 14px;
  }
  .form-wrapper input,
  .form-wrapper textarea {
    font-size: 14px;
    padding: 10px 14px;
  }
  .wpcf7-form-control {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}
.tutor-ResetPassword{
    margin-top: 50px;
}
}

/* Mobile phones */
@media (max-width: 575px) {
  .form-wrapper {
    gap: 15px;
    padding: 0 10px;
  }
  .form-wrapper label {
    font-size: 13.5px;
  }
  .form-wrapper input,
  .form-wrapper textarea {
    font-size: 14px;
    border-radius: 6px;
  }
  .form-wrapper input[type="submit"] {
    width: 100%;
    text-align: center;
    border-radius: 30px;
    padding: 14px;
    font-size: 16px;
  }
}

/* Login.php  */
.tutor-wrap.tutor-page-wrap.post-10.page.type-page.status-publish.hentry {
    display: flex;
    padding: 10px;
}
.tutor-image-wrap {
    width: 50%;
}
.tutor-image-wrap img {
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .tutor-wrap.tutor-page-wrap.post-10.page.type-page.status-publish.hentry {
    flex-direction: column;
  }
  .tutor-image-wrap {
    width: 50%;
    margin: 0 auto;
  }
  .tutor-image-wrap img {
    height: auto;
    object-fit: cover;
  }  
  .tutor-login-wrap {
    margin: 200px auto 50px;
  }
}

@media (max-width: 600px) {
  .tutor-image-wrap {
    width: 90%;
  }
}

/* ==========================================
   TUTOR LMS - LESSON COMPLETE BUTTON STYLES
   ========================================== */

/* Main complete button in footer */
.tutor-lesson-complete-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 32px;
    margin-top: 20px;
}

.tutor-lesson-complete-footer .tutor-complete-lesson-form {
    display: inline-block;
}

.tutor-lesson-complete-footer .tutor-btn-primary {
    background-color: #e60012 !important;
    border-color: #e60012 !important;
    color: #fff !important;
    padding: 14px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.tutor-lesson-complete-footer .tutor-btn-primary:hover {
    background-color: #cc0010 !important;
    border-color: #cc0010 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
}

/* Completed state */
.tutor-lesson-completed-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
}

/* Header complete button styling */
.tutor-topbar-complete-btn .tutor-btn-primary {
    background-color: #e60012 !important;
    border-color: #e60012 !important;
}

.tutor-topbar-complete-btn .tutor-btn-primary:hover {
    background-color: #cc0010 !important;
    border-color: #cc0010 !important;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .tutor-lesson-complete-footer {
        padding: 15px 20px;
    }
    
    .tutor-lesson-complete-footer .tutor-btn-primary {
        padding: 12px 30px !important;
        font-size: 14px !important;
        width: 100%;
    }
}

/* Poup */
    /* Overlay */
    #cf7-popup-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        opacity: 0;
        visibility: hidden;
        transition: all .3s ease;
        z-index: 9998;
    }

    /* Popup box */
    #cf7-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(.95);
        background: #ffffff;
        width: 92%;
        max-width: 520px;
        padding: 32px 34px 36px;
        border-radius: 12px;
        box-shadow: 0 25px 60px rgba(0,0,0,0.25);
        opacity: 0;
        visibility: hidden;
        transition: all .3s ease;
        z-index: 9999;
    }

    #cf7-popup.active,
    #cf7-popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    #cf7-popup.active {
        transform: translate(-50%, -50%) scale(1);
    }

    /* Close button */
    .cf7-popup-close {
        position: absolute;
        top: 14px;
        right: 16px;
        background: none;
        border: none;
        font-size: 26px;
        font-weight: 400;
        color: #222;
        cursor: pointer;
    }

    /* Form heading */
    #cf7-popup h2,
    #cf7-popup h3 {
        font-size: 26px;
        margin-bottom: 20px;
        font-weight: 600;
        color: #111;
    }

    /* Inputs */
    #cf7-popup input[type='text'],
    #cf7-popup input[type='email'],
    #cf7-popup input[type='tel'] {
        width: 100%;
        padding: 14px 16px;
        border-radius: 8px;
        border: 1px solid #ddd;
        font-size: 15px;
        margin-bottom: 14px;
        outline: none;
        transition: .2s;
    }

    #cf7-popup input:focus {
        border-color: #e30613;
        box-shadow: 0 0 0 2px rgba(227,6,19,0.12);
    }

    /* Submit button */
    #cf7-popup input[type='submit'] {
        width: 100%;
        padding: 14px;
        background: #e30613;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        margin-top: 10px;
        transition: .25s;
    }

    #cf7-popup input[type='submit']:hover {
        background: #c90410;
    }

    /* Mobile */
    @media (max-width: 480px) {
        #cf7-popup {
            padding: 24px;
        }
    }
