* {
    box-sizing: border-box;
  }
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
}
.header {
    background: #7FB3D5;
    color: white;
    padding: 20px 40px;
    border-bottom: 3px solid #5499C7;
}
.header h1 {
    margin: 0;
    font-size: 26px;
}
.container {
    padding: 40px;
}
.habit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}
.habit-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.habit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.habit-card i {
    font-size: 36px;
    margin-bottom: 10px;
}
.habit-label {
    font-size: 16px;
    font-weight: 500;
}

/* Pastel colors */
.meditate { background-color: #E8F8F5; }
.exercise { background-color: #FDEDEC; }
.alcohol { background-color: #FCF3CF; }
.wake { background-color: #EBF5FB; }
.read { background-color: #F9EBEA; }
.journal { background-color: #F5EEF8; }
.grateful { background-color: #FEF9E7; }
.floss { background-color: #F4ECF7; }
.water { background-color: #EAF2F8; }
.priorities { background-color: #E8F6F3; }

a.logout-btn{
background: white; color: #5499C7; padding: 8px 15px; border-radius: 8px; font-weight: bold; text-decoration: none;
}


div#logo-login {
    margin: 100px auto 20px;
    text-align: center;
}


input[type="text"], input[type="email"], input[type="password"]{
    max-width: 275px;
}

.form-container{
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
    margin: 0 auto;
}

input, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #45a049;
}
footer {
    text-align: center;
    font-size: 10px;
    margin: 0 0 50px;
}
