
body {
    margin: 0; padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9; 
    color: #333;
}
a { text-decoration: none; color: inherit; }


.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px; 
    font-size: 1rem;
    margin: 12px 22px; 
    border-radius: 14px;
    background-color: #ffffff; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
}
.nav-left{
    display: flex;
    align-items: center;
    gap: 20px; 
}
.nav-item {
    padding: 5px 0;
    transition: color 0.3s;
}
.nav-item:hover {
    color: #007bff; 
}
.navbar button{
    padding: 8px 15px; 
    border: 1px solid #007bff;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
    background-color: transparent; 
    color: #007bff;
}
.navbar button:hover {
    background-color: #007bff; 
    color: #ffffff;
}
.png{
    padding: 2px;
    height: 45px; 
    width: auto; 
}


.profile-header {
    background: linear-gradient(to bottom right, #FFFFFF, #E0F2FF);
    padding: 80px 20px; 
    text-align: center;
    border-bottom: 2px solid #E0F2FF;
    margin-bottom: 40px;
}

.profile-pic-container {
    position: relative;
    width: 180px;  
    height: 180px; 
    margin: 0 auto 25px;
}

.main-profile-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
}

.edit-badge {
    position: absolute; bottom: 10px; right: 10px;
    background: #007bff; color: #fff;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 4px solid #fff; cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}
.edit-badge:hover { background: #0056b3; transform: scale(1.1); }

.edit-profile-btn {
    margin-top: 15px;
    padding: 12px 30px;
    background: #007bff; color: white;
    border: none; border-radius: 8px;
    font-family: 'Poppins'; font-weight: bold;
    cursor: pointer; transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}
.edit-profile-btn:hover { background: #0056b3; transform: translateY(-2px); }


.stats-row {
    display: flex; justify-content: center;
    gap: 25px; flex-wrap: wrap;
    margin: -75px auto 50px; 
    padding: 0 20px;
}

.stat-card {
    min-width: 220px;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    display: flex; align-items: center; gap: 20px;
    transition: 0.3s;
}
.stat-card:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0,0,0,0.12); }

.stat-icon {
    width: 55px; height: 55px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}

.stat-info h3 { margin: 0; font-size: 1.8rem; font-weight: 800; color: #333; }
.stat-info p { margin: 0; font-size: 0.9rem; color: #777; font-weight: 500; }


.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.dashboard-box {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.box-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px; border-bottom: 2px solid #f8f9fa;
    padding-bottom: 12px;
}
.box-header h2 { font-size: 1.3rem; margin: 0; color: #222; font-weight: 700; }
.view-all { color: #007bff; font-weight: bold; font-size: 0.9rem; transition: 0.3s; }
.view-all:hover { text-decoration: underline; color: #0056b3; }

.empty-state { text-align: center; padding: 50px; color: #bbb; font-style: italic; }


.footer{
    text-align: center;
    padding: 28px;
    background-color: #e9e9e9; 
    margin-top: 50px; 
    position: relative;
    color: #444;

}
