body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #cbd6f7;;
    color: #333;
    margin: 0;
    padding: 20px;
}
header{
    background-color:#78a5d6;
    padding: 30px 0;
    text-align: center;
    position: relative;
}
 #user{
    position: absolute;
    top:0;
    right: 5px;
    display: flex;
}

#user p, button{
    margin-left: 10px;
}

nav ul{
    display: flex;
    list-style: none;
    padding: 0; 
    margin: 0; 
    justify-content: center;

    
}
nav ul li{
    margin: 0 15px;
}
nav a{
    padding: 20px;
    display: block;
    text-align: center;
    padding-left: 60px;
    padding-right: 60px;
    color: white;
    transition: background-color 0.3s ease;
}
nav a:hover, nav a:focus {
    background-color: #0056b3;
}

form {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
input[type="search"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 240px;
    margin-right: 8px;
}
button[type="submit"] {
    border: none;
    background-color: #0ab12e;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}
button[type="submit"]:hover {
    background-color: #046419;
}
#username{
    color:#0a2874;
    font-style : italic;
    font-weight: bold;
}

 #logout{
    border: none;
    background-color: #0ab12e;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    margin : 10px;
    cursor: pointer;
}
#user > button:hover{
    background-color: #046419;
}

#task-manager {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.task-board {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 10px;
    flex: 1;
    min-width: 300px;
    padding: 20px;
}
.task-card {
    background-color: #eff1f3;
    margin: 10px 0;
    padding: 15px;
    border-left: 3px solid #007bff;
    border-radius: 4px;
}
.task-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.task-controls button {
    border: none;
    background-color: #0ab12e;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
}
.task-controls button:hover{
    background-color: #046419;
}

#widgets {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
    gap: 20px;
}
#widgets > div {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 500px;
    margin-bottom: 20px;
    margin: 10px 20px;
    border-top: 3px solid #007bff;
   
}
#widgets h3 {
    margin-bottom: 20px;
    font-size: 1.6em;
    text-align: center;
    font-weight: 600; 
}
#widgets dl, #widgets ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 2px solid  #c2d9f0;
    padding-top: 15px;
    
}
#widgets dt {
    font-size: 1.1em;
    color:  #0a7421; 
    margin-bottom: 5px;
    font-weight: bold;
}
#this-week-widget li{
    font-size: 1.1em;
    color:  #0a7421; 
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
}
#task-timer-remaining, #task-timer-units {
    font-size: 2.5em; 
    color: #0a7421; 
    margin: 5px 0; 
    text-align: center; 
    font-weight: bold; 
}
#task-timer-widget button{
    border: none;
    background-color:#0a2874;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
}
#task-timer-widget button:hover{
    background-color:#007bff;
}

#widgets dl{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    
}
#widgets dt, #widgets dd {
    margin: 0;
    margin-top: 5px;
}
footer {
    text-align: center;
    margin-top: 40px;
    color: #666;
}

#widgets-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-left: 150px;
    margin-right: 150px;
}
