*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI, sans-serif;
}

body{
    background:linear-gradient(135deg,#667eea,#764ba2);
    min-height:100vh;
    padding:30px;
}

.container{
    max-width:1200px;
    margin:auto;
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

h1{
    text-align:center;
    margin-bottom:25px;
    color:#333;
}

.form-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:15px;
    margin-bottom:20px;
}

input,
select{
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
    outline:none;
}

input:focus,
select:focus{
    border-color:#667eea;
}

button{
    padding:12px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}

button:hover{
    transform:translateY(-2px);
}

button:first-of-type{
    background:#4CAF50;
    color:white;
}

#search{
    width:100%;
    margin:20px 0;
    padding:12px;
}

h3{
    margin:20px 0;
    color:#444;
}

table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
    overflow:hidden;
    border-radius:10px;
}

thead{
    background:#667eea;
    color:white;
}

th,
td{
    padding:14px;
    text-align:center;
    border-bottom:1px solid #eee;
}

tr:hover{
    background:#f5f5f5;
}

.edit-btn{
    background:#ff9800;
    color:white;
}

.delete-btn{
    background:#f44336;
    color:white;
}

.export-btn{
    background:#2196f3;
    color:white;
}

.total-card{
    background:#667eea;
    color:white;
    padding:15px;
    border-radius:10px;
    margin:15px 0;
    text-align:center;
    font-size:18px;
    font-weight:bold;
}

@media(max-width:768px){

    .container{
        padding:15px;
    }

    table{
        font-size:12px;
    }

    th,
    td{
        padding:8px;
    }
}