.header-section-k12 {
    border-bottom: 1px solid #EAECF0;
    background-color: #FFFFFF;
    min-height: 72px;
    margin-bottom: 10px;
}
.header-section-k12 .header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.header-section-k12 .navbar-brand img {
    width: 194px;
    height: 58px;
}
.header-section-k12 .collapse.navbar-collapse {
    margin-left: 0px;
}
.header-section-k12 .collapse.navbar-collapse .nav-item{
    margin: 0 40px;
}
.header-section-k12 .navbar-nav .nav-link {
   /* font-family: 'Filson Pro', sans-serif;*/
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #3E4784 !important;
    text-align: center;
    margin: 0 10px;
    transition: transform 0.3s ease;
}
.header-section-k12 .navbar-nav .nav-link:hover {
    transform: scale(1.1);
}
.header-section-k12 .icons-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 140px;
}
.header-section-k12 .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    /* border: 1.67px solid #4E5BA6; */
    border-radius: 50%;
    transition: all 0.3s ease;
}
.header-section-k12 .icon:hover {
    background-color: #F2F4F7;
    transform: scale(1.1);
}
.header-section-k12 .icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(37%) sepia(23%) saturate(1303%) hue-rotate(193deg) brightness(91%) contrast(91%);
}
.header-section-k12 .icon:hover img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(7500%) hue-rotate(327deg) brightness(96%) contrast(104%);
}
.header-section-k12 .header-search-panel {
    position: absolute;
    top: 27px;
    right: 105px;
    display: flex;
    align-items: center;
    border: 1px solid #8098F9;
    background-color: #FFFFFF;
    width: 220px;
    height: 32px;
    padding: 5px 12px 5px 9px;
    gap: 0px;
    border-radius: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
    z-index: 999;
}
.header-section-k12 .header-search-panel input {
    border: none;
    outline: none;
    flex-grow: 1;
    font-size: 14px;
    color: #333;
    padding: 0;
}
.header-section-k12 .header-search-panel img {
    width: 15px;
    height: 15px;
}
.header-section-k12 .header-search-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.icons-area .icon a{
    line-height: 0;
}
.user-icon {
    position: relative;
    z-index: 11;
}
.icon {
    position: relative;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 100%; 
    right: 0;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    display: none; 
    flex-direction: column;
    width: auto; 
    min-width: 130px;
    z-index: 1000;
    padding: 10px;
    word-wrap: break-word;
    
}

.user-dropdown .user-name {
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0;
    border-bottom: 1px solid #eaeaea;
    background-color: #f9f9f9; 
}

.user-icon .user-dropdown .header-dropdown-item {
    padding: 10px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    display: block;
    line-height: 24px;
}

.user-dropdown .header-dropdown-item:hover {
    background-color: #f4f4f4;
}

.user-icon .user-dropdown .dropdown-item {
    padding: 10px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    display: block;
    line-height: 24px;
}

.user-dropdown .dropdown-item:hover {
    background-color: #f4f4f4;
}

.user-icon:hover .user-dropdown,
.user-icon:has(.user-dropdown:hover) {
    display: flex;
}
@media (min-width: 320px) and (max-width: 540px){
	.header-section-k12 .header-container .navbar-brand{
	width:100%;
	text-align: center;
  }
  .header-section-k12 .navbar-toggler{
  		order:3;
  }
  .header-section-k12 .navbar-collapse {
        background-color: #FFFFFF;
        background-color: #FFFFFF;
        position: absolute;
        top: 125px;
        width: 100%;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        z-index: 11;
    }
    .header-section-k12 .header-search-panel{
    	top:86px;
        left:10px;
    }
}
@media (min-width: 541px) and (max-width: 768px) {
    .header-section-k12 .navbar-collapse {
        background-color: #FFFFFF;
        background-color: #FFFFFF;
        position: absolute;
        top: 90px;
        width: 100%;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        z-index: 2;
    }
    .header-section-k12 .icons-area {
        justify-content: center;
        order: 2;
    }
    .header-section-k12 .header-search-panel {
        top: 72px;
        right: 20px;
        width: calc(100% - 40px);
    }
    .header-section-k12 .navbar-toggler {
        display: block; 
        margin-left: auto;
        order: 3;
    }
    .header-section-k12 .icon{
        margin-right: 10px;
    }
}
.header-search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.header-search-dropdown .suggestion-item {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease-in-out;
}

.header-search-panel p {
    margin: 10px;
    color: #666;
    text-align: center;
    font-size: 14px;
}

/* newly added for training count */

.header-section-k12 .training-count {
    position: absolute;
    right: -22px;
    top: 8px;
    min-width: 30px;
    min-height: 30px;
    background-color: #3E4784;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.header-section-k12 .collapse.navbar-collapse .nav-item {
    margin: 0 40px;
    position: relative;
}

.form-row .input-text,
.e-my-account-tab .login .form-row .input-text{
 border:1px solid #d5d8dc !important; 
}

 .form-row.form-row-first{ width:100%;}


 /* Dropdown Arrow Base */
.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #3E4784;
    transition: transform 0.3s ease;
}

/* Rotate arrow up when dropdown is shown */
.nav-item.dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }