/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
}

div.logo {
    display: flex;
    align-items: center;
}

div.logo img {
    width: 60px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

div.logo img:hover {
    transform: scale(1.05);
}

div.title {
    flex: 1;
    text-align: center;
}

div.title h1 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Container principal da tabela */




/* Responsividade */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    
    div.logo {
        margin-bottom: 15px;
    }
    
    div.title h1 {
        font-size: 1.5rem;
    }
    
    div.tabela-clientes {
        padding: 20px;
        margin: 0 10px;
    }
    
    table.tabela-clientes {
        font-size: 0.85rem;
    }
    
    table.tabela-clientes th,
    table.tabela-clientes td {
        padding: 12px 8px;
    }
    
    .button {
        padding: 8px 15px;
        font-size: 0.8rem;
        margin: 2px;
    }
    
    form {
        margin: 20px 10px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    div.title h1 {
        font-size: 1.2rem;
    }
    
    table.tabela-clientes {
        font-size: 0.8rem;
    }
    
    table.tabela-clientes th,
    table.tabela-clientes td {
        padding: 10px 5px;
    }
    
    .button {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    form {
        padding: 25px 15px;
    }
    
    form input[type="text"],
    form select {
        padding: 12px;
    }
}

/* Animações suaves */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}