*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#0f172a;
    color:white;
    font-family:Segoe UI,sans-serif;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.container{
    width:100%;
    max-width:1000px;
}

h1{
    text-align:center;
    margin-bottom:20px;
}

#vault{
    display:none;
}

#login,
.add-box,
.password-card,
.toolbar{
    background:#1e293b;
    border-radius:16px;
    padding:20px;
    margin-bottom:20px;
}

input{
    width:100%;
    padding:12px;
    margin:8px 0;
    border:none;
    border-radius:10px;
    background:#334155;
    color:white;
}

button,
.import-btn{
    background:#3b82f6;
    color:white;
    border:none;
    border-radius:10px;
    padding:12px 16px;
    cursor:pointer;
    margin-top:8px;
    display:inline-block;
}

button:hover,
.import-btn:hover{
    opacity:.9;
}

.danger{
    background:#ef4444;
}

.password-card{
    margin-bottom:15px;
}

.password-card h3{
    margin-bottom:10px;
}

.password-card p{
    margin:6px 0;
}

.btn-group{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:10px;
}

.toolbar{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.toolbar input{
    flex:1;
}

.theme-btn{
    margin-bottom:20px;
}

.light{
    background:#f8fafc;
    color:#0f172a;
}

.light input{
    background:#e2e8f0;
    color:black;
}

.light #login,
.light .add-box,
.light .password-card,
.light .toolbar{
    background:white;
    box-shadow:0 0 10px rgba(0,0,0,.1);
}