/*Reset default browser styles so everything looks consistent*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*Set the overall page font and background color */
body{
    font-family: Anrial, sans-serif;
    background-color:#f5f5f5;
    color: #333;
    padding: 20px;
}

/*Style the top header banner */
header {
    background-color: #4a90d9;
    color: white;
    padding: 20px;
    border-radius: 8px;
    marfin-bottom: 20px;
    text-align: center;
}

header p {
    margin-top: 5px;
    opacity: 0.9;
}

/*Each section gets a white card look*/
section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

section h2 {
    margin-bottom: 15px;
    color: #4a90d9;
}

/* Style all text input fields */
input[type="text"] {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Style the dropdown */
select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Style all buttons */
button {
    padding: 8px 16px;
    background-color: #4a90d9;
    color: white;
    boder: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background-color: #357abd;
}

ul li {
    padding: 8px 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: #fafafa;
}

/* Style the assign button differently */
#assign-btn {
    background-color: #27ae60;
    margin-bottom: 15px;
    font-size: 16px;
    padding: 10px 20px;
}

#assign-btn:hover {
    background-color: #219a52;
}

/* Dashboard cards for each family member */
.member-card {
    border: 2px solid #4a90d9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.member-card h3 {
    color: #4a90d9;
    margin-bottom: 10px;
}

.points-total {
    font-weight: bold;
    margin-top: 10px;
    color: #27ae60;
}

/* Done button inside dashboard cards */
.done-btn {
    font-size: 11px;
    padding: 2px 8px;
    margin-left: 8px;
    background-color: #27ae60;
}

.done-btn.completed {
    background-color: #888;
}


