body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1400px; /* Increased max-width for the new layout */
    margin: 0 auto;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

header {
    position: relative;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

h1 {
    color: #2c3e50;
    margin: 0;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.1em;
    margin-top: 5px;
}

.decision-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.quadrant {
    padding: 20px;
    border-radius: 5px;
    min-height: 200px;
}

.quadrant h2 {
    font-size: 1em;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid;
}

.fazer-agora { background-color: #e8f5e9; border-left: 5px solid #4caf50; }
.fazer-agora h2 { border-bottom-color: #a5d6a7; }

.planejar-bem { background-color: #fff3e0; border-left: 5px solid #ff9800; }
.planejar-bem h2 { border-bottom-color: #ffcc80; }

.delegar { background-color: #e3f2fd; border-left: 5px solid #2196f3; }
.delegar h2 { border-bottom-color: #90caf9; }

.evitar { background-color: #fce4ec; border-left: 5px solid #e91e63; }
.evitar h2 { border-bottom-color: #f48fb1; }

.add-decision {
    padding: 20px;
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 20px;
}

.add-decision h2 {
    margin-top: 0;
    font-size: 1.4em;
    color: #34495e;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #95a5a6;
}

/* New layout styles for desktop */
@media (min-width: 1024px) {
    .main-content {
        display: flex;
        gap: 30px;
    }
    .decision-board {
        flex-grow: 1; /* Takes up available space */
    }
    .add-decision {
        flex-shrink: 0; /* Prevents the form from shrinking */
        width: 320px;
        height: fit-content; /* Make form height fit its content */
        margin-bottom: 0;
    }
}
