@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

li {
	list-style: none;
}



.studentprofile{
    width: 100%;
    height: 40vh;
    margin-top: 2rem;
    border-radius: 1rem;
    color: var(--dark);
	padding: 20px 24px;
	font-family: var(--poppins);
	max-height: calc(100vh - 56px);
	overflow-y: auto;
    background-color: var(--light);
    
    
   
}
.studentprofile-parts{
    display: flex;
    height: 100%;
    width: 100%;
}
.studentprofile-part1{
    width: 25%;
    height: 84%;
    
    border-radius: 1rem;
    background-image: url(https://images.unsplash.com/photo-1618005479492-bc36dc8aeaf2?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: center;
    object-fit: cover;
}
.studentprofile h3{
    font-size: 2rem;
    font-weight: 400;
}
.studentprofile-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.studentprofile-left{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7rem;
}
.student-icons a:nth-child(1) i {
    font-size: 1rem;
    background: var(--light-orange);
    color: var(--orange);
    padding: 10px 8px;
    border-radius: 10px;
}

.student-icons a:nth-child(2) i {
    font-size: 1rem;
    background: var(--light-blue);
    color: var(--blue);
    padding: 10px 8px;
    border-radius: 10px;
}

.student-icons a:nth-child(3) i {
    font-size: 1rem;
    background: var(--light-yellow);
    color: var(--yellow);
    padding: 10px 8px;
    border-radius: 10px;
}

.studentprofile-left .student-icons{
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem;

}

.studentprofile-right i{
    font-size: 1.5rem;
}
.studentprofile-part2{
    width: 75%;
    height: 100%;
  
    padding: 1rem;
}
.student-usernamepic{
    display: flex;
    align-items: center;
    gap: 6px;
    

}
.student-usernamepic p {
    
    
	
	font-size: 20px;


}
.student-usernamepic img{
    width: 30px;
	height: 30px;
	border-radius: 50%;
	object-fit: cover;
}
.studentprofile-part2 .student-data1{
   
    display: flex;
    gap: 20px;
    width: 100%;
   
    padding: 20px 30px;

}
.studentprofile-part2 .student-data1 p{
    font-size: 15px;
    display: flex;
    gap: 10px;
    
  

}
.studentprofile-part2 .student-data1 p i{
    font-size: 25px;
   
  

}
.studentprofile-part2 .student-data2{
    display: flex;
    padding: 0px 30px;
    gap: 2rem;
}
.studentprofile-part2 .student-data3{
    margin-top: 1rem;
    display: flex;
    padding: 0px 30px;
    gap: 2rem;
    
}
.studentprofile-part2 .student-data3 i{
    font-size: 20px;

}
.studentprofile-part2 .student-data3 p{
    font-size: 16px;

}
.studentprofile-part2 .student-data3 p:nth-of-type(1) i {
    color: #FFCE26; /* Yellow color for the first <i> inside the first <p> */
}

.studentprofile-part2 .student-data3 p:nth-of-type(2) i {
    color: #AAAAAA; /* Grey color for the first <i> inside the second <p> */
}
.studentprofile-part2 .student-data4{
 
    width: 100%;
    
    padding: 20px 30px;
    display: flex;
    gap: 1rem;

}
.studentprofile-part2 .student-data4 i{
 
    color: #FFCE26;

}
.studentprofile-part2 .student-data5{
    width: 100%;
    
    padding: 20px 30px;
    

}



#edit-form-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 90%; /* Make it responsive */
    max-width: 500px; /* Maximum width */
    max-height: 80%; /* Limit the height to avoid overflow */
    overflow-y: auto; /* Enable vertical scrolling */
}


#edit-form h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

#edit-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

#edit-form input,
#edit-form textarea {
    width: 100%;
    margin-top: 5px;
    padding: 8px;
    background: var(--grey);
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: var(--dark);
}

#edit-form .dynamic-field {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

#edit-form .dynamic-field input {
    flex: 1;
    margin-right: 10px;
}

#edit-form .add-field {
    padding: 5px 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#edit-form .add-field:hover {
    background: #0056b3;
}

#edit-form button[type="submit"] {
    margin-top: 20px;
    width: 100%;
    background: #28a745;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#edit-form button[type="submit"]:hover {
    background: #218838;
}
@media screen and (max-width: 480px) {
    
    .studentprofile-left{
        gap: 7px;
    }
    .studentprofile-part1{
        width: 240px;
        height: 220px;
    }
    .studentprofile-parts{
        display:block;
    }
    .studentprofile-part2 .student-data1{
        padding:1% 0%;
    }
    .studentprofile-part2 .student-data2{
        display: flex;
        flex-direction: column;
        padding:1% 0%;
    }
    .studentprofile-part2 .student-data3{
        display: flex;
        flex-direction: column;
        padding:1% 0%;
        margin: 0%;
    }
    .studentprofile-part2 .student-data4{
        display: flex;
        flex-direction: column;
        padding:1% 0%;
    }
    .studentprofile-part2 .student-data5{
        padding:1% 0%;
    }

}