/* GLOBAL */
body {
    margin: 0;
    font-family: Arial;
    color: white;
    background: linear-gradient(135deg, #1d2671, #c33764);
}

/* HEADER */
header {
    text-align: center;
    padding: 15px;
}

/* LAYOUT */
.layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 220px;
    background: rgba(0,0,0,0.4);
    padding: 20px;
}

.sidebar button {
    width: 100%;
    margin-bottom: 10px;
}

/* CONTENT */
.content {
    flex: 1;
    padding: 20px;
}

/* SECTION BOX */
.section-box {
    background: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* PROFILE */
.profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile img {
    width: 120px;
    border-radius: 50%;
}

/* GRID */
.activity-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
    margin-top: 15px;
}

/* TOOL CARD */
.tool-card {
    background: rgba(0,0,0,0.25);
    padding: 15px;
    border-radius: 12px;

    /* FIX spacing inside */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* BUTTON */
button {
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;

    /* FIX spacing */
    margin: 5px 0;
}

/* BUTTON GROUP (for Random + Dark Mode) */
.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* INPUT */
input {
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

/* SECTION */
.section {
    display: none;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 10px;
    background: rgba(0,0,0,0.5);
}

/* TODO LIST */
#todoList {
    list-style: none;
    padding: 0;
}

#todoList li {
    display: flex;
    justify-content: space-between;
    background: rgba(255,255,255,0.2);
    margin: 5px 0;
    padding: 8px;
    border-radius: 8px;
}

.todo-done {
    text-decoration: line-through;
    opacity: 0.6;
}

/* DARK MODE */
.dark-mode {
    background: black !important;
}

/* OPTIONAL HOVER EFFECT (nice UI) */
button:hover {
    opacity: 0.85;
    transform: scale(1.03);
    transition: 0.2s;
}