@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:linear-gradient(135deg,#ffd6ec,#d7c7ff);
    min-height:100vh;
    transition:0.3s;
}

body.dark{
    background:#1e1e2f;
    color:white;
}

.sidebar{
    width:250px;
    height:100vh;
    position:fixed;
    background:rgba(255,255,255,0.2);
    backdrop-filter:blur(15px);
    padding:20px;
    box-shadow:0 8px 32px rgba(0,0,0,0.1);
}

.sidebar h2{
    margin-bottom:30px;
    color:#6c4ab6;
}

.sidebar a{
    display:block;
    padding:14px;
    margin-bottom:15px;
    text-decoration:none;
    border-radius:15px;
    color:#333;
    background:white;
    transition:0.3s;
}

.sidebar a:hover{
    transform:translateX(5px);
}

.content{
    margin-left:270px;
    padding:30px;
}

.card{
    background:rgba(255,255,255,0.5);
    backdrop-filter:blur(10px);
    border-radius:25px;
    padding:25px;
    margin-bottom:20px;
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

body.dark .card{
    background:#2c2c3f;
}

.btn{
    padding:12px 18px;
    border:none;
    border-radius:15px;
    cursor:pointer;
    text-decoration:none;
    color:white;
    font-weight:bold;
}

.tambah{
    background:#7b61ff;
}

.edit{
    background:#ffb347;
}

.hapus{
    background:#ff5c8a;
}

.logout{
    background:#ff6b6b;
}

.darkbtn{
    background:#333;
}

table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

table th{
    background:#cdb4ff;
    padding:15px;
}

table td{
    padding:15px;
    text-align:center;
}

input, textarea{
    width:100%;
    padding:14px;
    margin-top:10px;
    margin-bottom:15px;
    border:none;
    border-radius:15px;
}

.search{
    width:300px;
}

.calendar{
    background:white;
    padding:20px;
    border-radius:20px;
    margin-bottom:20px;
}

body.dark .calendar{
    background:#2c2c3f;
}

.icon{
    margin-right:8px;
}