
/* Onedesk Africa Home Page header styles */
/* Onedesk Africa Home Page header styles */
/* Onedesk Africa Home Page header styles */


.header {
display: flex;
align-items: center;
flex-wrap: wrap;
padding: 10px 20px;

color: white;
position: relative;
}

.logo {
font-weight: bold;
font-size: 1.5rem;
margin-right: 20px;
white-space: nowrap;
}

.search-container {
flex: 1;
margin: 0 20px;
min-width: 200px;
}

.search-input-group {
position: relative;
display: flex;
align-items: center;
}

.search-icon {
position: absolute;
left: 10px;
color: #ffffff;
}

.search-input {
width: 100%;
padding: 8px 40px 8px 35px;
border-radius: 20px;
border: none;
}

.search-button {
position: absolute;
right: 5px;
background-color: #007bff;
color: white;
border: none;
border-radius: 20px;
padding: 5px 15px;
cursor: pointer;
}

.search-button span {
margin-right: 5px;
}

.header-icons {
display: flex;
align-items: center;
}

.dashboard-link {
text-decoration: none;
color: white;
margin-right: 15px;
padding: 8px 15px;
border-radius: 4px;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s;
}

.dashboard-link:hover {
color: white;
text-decoration: none;
}

.dashboard-link i {
color: white;
margin-right: 5px;
display: inline-block;
vertical-align: middle;
}

.user-navigation {
margin: 0 15px;
display: flex;
align-items: center;
}

.logout-form {
display: inline;
}

.logout-button {
background: none;
border: none;
cursor: pointer;
font-size: 1rem;
color: white;
padding: 5px 10px;
}

.nav-link {
color: white;
text-decoration: none;
margin: 0 10px;
}

.user-info {
display: flex;
align-items: center;
margin: 0 15px;
}

.profile-image {
width: 35px;
height: 35px;
border-radius: 50%;
object-fit: cover;
margin-right: 10px;
}

.username {
color: white;
font-weight: 500;
}

.notification-icon {
position: relative;
margin-left: 15px;
cursor: pointer;
}

.notification-count {
position: absolute;
top: -8px;
right: -8px;
background-color: #ff4757;
color: white;
border-radius: 50%;
width: 18px;
height: 18px;
font-size: 0.7rem;
display: flex;
align-items: center;
justify-content: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
.search-button span {
    display: none;
}
}

@media (max-width: 768px) {
.header {
    justify-content: space-between;
}

.logo {
    margin-right: 10px;
    font-size: 1.2rem;
    order: 1;
}

.search-container {
    order: 3;
    width: 100%;
    margin: 10px 0;
    flex-basis: 100%;
}

.header-icons {
    order: 2;
    margin-left: auto;
}
}

@media (max-width: 576px) {
.header {
    padding: 10px;
}

.user-navigation {
    margin: 0 5px;
}

.dashboard-link {
    margin-right: 5px;
    padding: 5px 10px;
}

.logout-button, .nav-link {
    padding: 5px;
    font-size: 0.9rem;
}

.username {
    display: none;
}

.profile-image {
    width: 30px;
    height: 30px;
    margin-right: 0;
}

/* Make sure search is always visible */
.search-container {
    display: flex;
    margin: 10px 0;
}

.search-input {
    font-size: 14px;
    padding: 6px 35px 6px 30px;
}

.search-button {
    padding: 4px 10px;
}

/* Compact header icons */
.header-icons {
    flex-wrap: wrap;
    justify-content: flex-end;
}
}

/* Mobile optimizations */
@media (max-width: 480px) {
.header {
    padding: 8px;
}

.sidebar-toggle {
    margin-right: 10px;
}

/* Ensure search bar is visible */
.search-container {
    order: 3;
    width: 100%;
    margin: 8px 0;
}

/* Make icons more compact */
.dashboard-link, .nav-link, .logout-button {
    padding: 4px 8px;
    margin-right: 3px;
}

/* Create a dropdown for user info */
.user-info {
    position: relative;
    margin: 0 5px;
}

/* Show username on hover */
.user-info:hover .username {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fc5400;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 10;
}

/* Make notification icon more compact */
.notification-icon {
    margin-left: 5px;
}

/* Ensure all elements in header-icons stay visible */
.header-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

/* Make sure user navigation is visible */
.user-navigation {
    display: flex;
    margin: 0;
}
}
      


.course-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.action-btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.view-btn {
    background: rgb(0, 251, 255);
    color: white;
    border: 1px solid rgba(0, 150, 255, 0.5);
}

.enroll-btn {
    background: rgb(255, 170, 0);
    color: white;
    border: 1px solid rgba(0, 255, 100, 0.5);
}

.view-btn:hover, .enroll-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}




.course-buttons,
.certificate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.course-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-width: 200px;
  padding: 0 20px;
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(0, 150, 255, 0.2));
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.course-btn:hover {
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.4), rgba(0, 150, 255, 0.4));
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}



/* Cards Course  Home Page  styles */
/* Cards Course  Home Page  styles */


.course-title {
    font-size: 1rem !important; /* Smaller title - h3 equivalent */
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.2;
}

.course-meta {
    font-size: 16px !important; /* Bigger meta text */
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.9);
}

.course-stats {
    font-size: 15px !important; /* Bigger stats text */
    font-weight: 500;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.badge {
    font-size: 13px !important; /* Bigger badge text */
    font-weight: 500;
    padding: 4px 8px;
    margin: 2px;
}

.action-btn {
    font-size: 14px !important; /* Bigger button text */
    font-weight: 600;
    padding: 10px 14px;
}
        
.course-price {
    font-size: 16px !important;
    font-weight: 700;
    margin: 8px 0;
    color: #00ffff;
}

.current-price {
    color: #c300ff;
}


.discounted-price {
    color: #ffcc00;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: #9d00ff;
}



