/* Reset default spacing */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
}

/* Header */
header {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Main layout */
.layout {
    display: flex;
    min-height: 80vh;
}

/* Sidebar */
.sidebar {
    width: 220px;
    background: #34495e;
    color: white;
    padding: 20px;
}

.sidebar h3 {
    margin-top: 0;
}

.sidebar button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    background: #1abc9c;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.sidebar button:hover {
    background: #16a085;
}

/* Content area */
.content {
    flex: 1;
    padding: 30px;
    background: white;
}

.content ul {
    list-style: none;
    padding: 0;
}

.content li {
    margin-bottom: 8px;
}

.content a {
    text-decoration: none;
    color: #2c3e50;
}

.content a:hover {
    text-decoration: underline;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

footer p {
    margin: 5px 0;
}

.dark-mode {
    background-color: #1e1e1e;
    color: #f4f6f9;
}

.dark-mode .content {
    background-color: #2c2c2c;
    color: #f4f6f9;
}

.dark-mode .sidebar {
    background-color: #222;
}

.dark-mode footer {
    background-color: #111;
}

.dark-mode header {
    background-color: #111;
}

.dark-mode .sidebar button {
    background-color: #16a085;
}
/* Tool container */
.tool-box {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Individual tool sections */
.tool-section {
    margin-bottom: 20px;
}

/* Inputs spacing */
.tool-section input {
    padding: 8px;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Hide tools by default */
#exercise2Tools {
    display: none;
}

.dark-mode .tool-box {
    background-color: #2c2c2c;
}

.dark-mode .tool-section input {
    background-color: #1e1e1e;
    color: #f4f6f9;
    border: 1px solid #444;
}

.dark-mode .tool-section input::placeholder {
    color: #888;
}

.dark-mode .tool-section input:hover {
    border-color: #16a085;
}

.dark-mode .tool-section input:focus {
    border-color: #16a085;
    outline: none;
}

.dark-mode .h3 {
    color: #f4f6f9;
}

/* Activity list buttons */
.activity-list li{
    margin-bottom:10px;
}

.activity-list button{
    padding:8px 12px;
    border:none;
    border-radius:5px;
    background:#3498db;
    color:white;
    cursor:pointer;
}

.activity-list button:hover{
    background:#2980b9;
}

/* Container for tools */
.activity-container{
    margin-top:30px;
    max-width:600px;
}

/* Activity boxes */
.activity-box{
    display:none;
    background:#f7f9fc;
    padding:20px;
    margin-bottom:20px;
    border-radius:8px;
    border:1px solid #ddd;
}

/* Inputs */
.activity-box input{
    padding:8px;
    margin-bottom:10px;
}

/* Buttons inside tools */
.activity-box button{
    padding:8px 12px;
    border:none;
    border-radius:5px;
    background:#1abc9c;
    color:white;
    cursor:pointer;
}

.activity-box button:hover{
    background:#16a085;
}

