.elementor-1721 .elementor-element.elementor-element-2e74ed4{--display:flex;--padding-top:2%;--padding-bottom:5%;--padding-left:2%;--padding-right:2%;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-1721 .elementor-element.elementor-element-10ea7e5 .elementor-button{background-color:var( --e-global-color-0089bf3 );font-family:"Inter", Sans-serif;font-size:14px;font-weight:500;border-radius:100px 100px 100px 100px;padding:15px 30px 15px 30px;}.elementor-1721 .elementor-element.elementor-element-10ea7e5 .elementor-button-content-wrapper{flex-direction:row-reverse;}@media(max-width:767px){.elementor-1721 .elementor-element.elementor-element-2e74ed4{--padding-top:4%;--padding-bottom:4%;--padding-left:4%;--padding-right:4%;}}/* Start custom CSS for shortcode, class: .elementor-element-b2aa14e *//*=================================================
        TALPADENT DASHBOARD REDESIGN
==================================================*/

/* Main Dashboard */

.ld-profile,
.ld-profile *{
box-sizing:border-box;
}

.ld-profile{
max-width:1140px;
margin:0px auto;
padding:0 5px;
}


/*=================================================
PROFILE HEADER
==================================================*/

.ld-profile-summary{
background:#0D1B2E;
padding:40px 40px;
border-radius:30px;
box-shadow:0 20px 60px rgba(0,0,0,.08);
margin-bottom:45px;
}


/* Avatar */

.ld-profile-avatar img,
.ld-profile-summary img{
width:150px;
height:150px;
border-radius:50%;
border:06px solid #f5f7fb;
object-fit:cover;
box-shadow:0 12px 35px rgba(0,0,0,.12);
}


/* Edit Profile */

.learndash-wrapper .ld-profile-summary .ld-profile-card a.ld-profile-edit-link {
    color: #fff;

}
.learndash-wrapper .ld-profile-summary .ld-profile-card a.ld-profile-edit-link:hover{
    color: #1E8B89 !important;
}
a.ld-profile-edit-link {
    display: none;
}

.learndash-wrapper .ld-profile-summary .ld-profile-card .ld-profile-heading {
    font-size: 2em;
    font-weight: 500;
    margin: 5px 0;
    color: #fff;
}
/*=================================================
STATS
==================================================*/

.ld-profile-stats{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
margin-top:35px;
}

.ld-profile-stat{
background:#fff;
padding:10px;
width:180px;
border-radius:15px;
box-shadow:0 12px 35px rgba(0,0,0,.06);
transition:.35s;
}

.ld-profile-stat:hover{
transform:translateY(-6px);
}

.ld-profile-stat strong{
font-size:46px;
font-weight:700;
color:#1d2433;
display:block;
margin-bottom:10px;
}

.ld-profile-stat span{
font-size:16px;
color:#6d7687;
}


/*=================================================
COURSE SECTION
==================================================*/

.ld-item-list{
margin-top:50px;
background:#fff;
padding:40px;
border-radius:30px;
box-shadow:0 20px 60px rgba(0,0,0,.08);
}


/* Heading */

.ld-item-list h2,
.ld-item-list h3{
font-size:35px;
margin-bottom:30px;
font-weight:700;
}

span.ld-course-title {
    line-height: 2.2em;
}


/*=================================================
SEARCH
==================================================*/

.ld-item-search{
margin-bottom:30px;
}

.ld-item-search input{
height:56px;
border-radius:14px;
border:1px solid #ddd;
padding:0 20px;
}


/*=================================================
BUTTONS
==================================================*/

.ld-expand-button,
.ld-button,
.ld-item-search button{

background:#2BA6A4!important;
color:#fff!important;

border:none!important;

border-radius:50px!important;

padding:14px 28px!important;

font-weight:600;

transition:.3s;

box-shadow:none!important;

}

.ld-expand-button:hover,
.ld-button:hover,
.ld-item-search button:hover{

background:#1E8B89!important;

transform:translateY(-2px);

}


/*=================================================
NO COURSE BOX
==================================================*/

.ld-alert,
.ld-alert-warning{

background:#fff8f8!important;

border:2px solid #ef4444!important;

border-radius:20px!important;

padding:8px!important;

font-size:18px;
  text-align: left !important;

}
.ld-profile .ld-alert-messages {
    text-align: center;
}

.ld-alert-messages {
    padding-left: 40px;
}
/*=================================================
COURSE CARD
==================================================*/

.ld-item-list-item{

background:#fff;

border-radius:20px;

padding:25px;

margin-bottom:25px;

box-shadow:0 10px 35px rgba(0,0,0,.06);

transition:.35s;

}

.ld-item-list-item:hover{

transform:translateY(-5px);

}

/* =====================================================
   MOBILE DASHBOARD ONLY
   Keeps Desktop Exactly Same
=====================================================*/

@media only screen and (max-width: 767px){

/* Dashboard */
.learndash-wrapper .ld-profile{
    padding:0 15px !important;
}

/* =========================================
   Profile Summary
=========================================*/

.learndash-wrapper .ld-profile-summary{
    padding:10px 20px !important;
    border-radius:24px !important;
}

.learndash-wrapper .ld-profile-summary .ld-profile-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

/* Avatar */

.learndash-wrapper .ld-profile-avatar img,
.learndash-wrapper .ld-profile-summary img{
    width:140px !important;
    height:140px !important;
}

/* =========================================
   Stats
=========================================*/

.learndash-wrapper .ld-profile-stats{
    display:grid !important;
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
    margin-top:25px !important;
}

.learndash-wrapper .ld-profile-stat{
    width:100% !important;
    min-width:0;
    padding:15px 15px;
    border-radius:10px;
}

.learndash-wrapper .ld-profile-stat strong{
    font-size:36px !important;
    line-height:1;
}

.learndash-wrapper .ld-profile-stat span{
    font-size:15px;
}


/* =========================================
   Course Box
=========================================*/

.learndash-wrapper .ld-item-list{
    padding:10px 20px !important;
    border-radius:24px;
    margin-top:35px;
}

.learndash-wrapper .ld-item-list h2,
.learndash-wrapper .ld-item-list h3{
    font-size:26px !important;
    margin-bottom:25px;
}

/* =========================================
   Search + Expand
=========================================*/

.learndash-wrapper .ld-profile-courses-nav{
    display:flex !important;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

.learndash-wrapper .ld-item-search{
    flex:1;
    margin:0 !important;
}

.learndash-wrapper .ld-item-search input{
    height:48px !important;
}

.learndash-wrapper .ld-expand-button{
    padding:10px 20px !important;
    white-space:nowrap;
}

/* =========================================
   Course Cards
=========================================*/

.learndash-wrapper .ld-item-list-item{
    padding:1px !important;
    border-radius:16px;
}

/* =========================================
   No Courses Found
=========================================*/

.learndash-wrapper .ld-alert{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:20px 15px !important;
}

.learndash-wrapper .ld-alert-icon{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    transform:none !important;
    margin-bottom:12px;
}

.learndash-wrapper .ld-alert-messages{
    padding-left:0 !important;
}

/* Expand / Collapse button spacing */
.learndash-wrapper .ld-expand-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0px !important; /* Space between icon and text */
}

/* Fallback for older LearnDash versions */
.learndash-wrapper .ld-expand-button .ld-icon {
    margin-right: 0px !important;
    margin-left: 10px;
}

.learndash-wrapper .ld-expand-button svg {
    margin-right: 0px !important;
    margin-left: 10px;
}

.learndash-wrapper .ld-expand-button i {
    margin-right: 0px !important;
    margin-left: 10px;
}
@media (max-width:767px){

.learndash-wrapper .ld-item-list-item-preview{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
}

/* Make the chevron icon white */
.learndash-wrapper .ld-expand-button .ld-icon,
.learndash-wrapper .ld-expand-button .ld-icon::before,
.learndash-wrapper .ld-expand-button svg,
.learndash-wrapper .ld-expand-button i{
    color:#fff !important;
    fill:#fff !important;
    stroke:#fff !important;
}

}

/* Prevent text wrapping */
.learndash-wrapper .ld-expand-button span,
.learndash-wrapper .ld-expand-button .ld-text {
    white-space: nowrap !important;
}

/* =========================================
   Footer spacing
=========================================*/

footer{
    margin-top:40px;
}

}


/* =========================================
   Extra Small Phones
=========================================*/

@media only screen and (max-width:480px){

.learndash-wrapper .ld-profile{
    padding:0 12px !important;
}

.learndash-wrapper .ld-profile-stats{
    gap:10px;
}


.learndash-wrapper .ld-profile-stat strong{
    font-size:30px !important;
}

.learndash-wrapper .ld-profile-stat span{
    font-size:14px;
}

.learndash-wrapper .ld-expand-button{
    padding:10px 16px !important;
    font-size:12px;
    font-weight: 500;
}

}

@media only screen and (max-width: 767px) {

  /* One row — title + expand button */
  .learndash-wrapper .ld-item-list-item .ld-item-list-item-preview {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding: 14px 16px !important;
  }

  /* Course title — one line, truncate if too long */
  .learndash-wrapper .ld-item-list-item .ld-item-name,
  .learndash-wrapper .ld-item-list-item .ld-course-title,
  .learndash-wrapper .ld-item-list-item .ld-item-title {
    flex: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3em !important;
    font-size: 14px !important;
    min-width: 0 !important;
  }

  /* Expand button — stays on same row, never wraps */
  .learndash-wrapper .ld-item-list-item .ld-expand-button {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
  }

  /* Hide Complete badge on mobile */
  .learndash-wrapper .ld-item-list-item .ld-status-complete,
  .learndash-wrapper .ld-item-list-item .ld-course-status,
  .learndash-wrapper .ld-item-list-item [class*="complete"],
  .learndash-wrapper .ld-item-list-item .ld-item-list-item-stats {
    display: none !important;
  }

  /* Hide thumbnail — causes overlap */
  .learndash-wrapper .ld-item-list-item .ld-item-list-item-thumbnail {
    display: none !important;
  }

  /* Card padding */
  .learndash-wrapper .ld-item-list-item {
    padding: 0 !important;
    margin-bottom: 14px !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }

  /* Remove hover on mobile */
  .learndash-wrapper .ld-item-list-item:hover {
    transform: none !important;
  }
}/* End custom CSS */