body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 5rem 0 3rem 0;
}
header {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
    transition: transform 0.2s;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.nav-link {
    transition: all 0.2s;
    border-radius: 50px;
    padding: 8px 18px !important;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: #0d6efd;
    border-radius: 50px;
}

.card-todo {
    border-radius: 1.5rem;
    border: none;
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
    overflow: hidden;
}
        
.card-header-custom {
    background: #2c3e66;
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #ffc107;
}
        
.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    margin-bottom: 8px;
    background-color: #f8f9fa;
    border-radius: 50px;
    transition: all 0.2s ease;
    border-left: 5px solid #0d6efd;
    animation: fadeIn 0.3s;
}
        
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
        
.task-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
        
.task-text {
    flex-grow: 1;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 10px;
    word-break: break-word;
    transition: 0.2s;
    user-select: none;
}
        
.completed .task-text {
    text-decoration: line-through;
    color: #6c757d;
    font-style: italic;
}
        
.completed {
    background-color: #e9ecef;
    border-left-color: #28a745;
    opacity: 0.85;
}
        
.btn-remove {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    transition: 0.2s;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
        
.btn-remove:hover {
    background-color: #dc3545;
    color: white;
    transform: scale(1.05);
}
        
.empty-message {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    background: #f1f3f5;
    border-radius: 2rem;
    margin-top: 10px;
}
        
.btn-add-custom {
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: bold;
}
        
.input-group-custom {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
        
.alert-custom {
    border-radius: 50px;
    font-size: 0.9rem;
}
        
footer {
    font-size: 0.8rem;
}
        
.history-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background-color: #f8f9fa;
    border-radius: 50px;
    transition: all 0.2s ease;
    border-left: 5px solid #0d6efd;
}
        
.history-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

main {
    /* Main ocupa espaço natural */
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
@media (max-width: 576px) {
    .task-item {
        padding: 10px 12px;
    }
    .task-text {
        font-size: 0.9rem;
    }
    .btn-remove {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    body {
        padding: 1rem 0;
    }
}
