/* ===============================
   SISTEM INFORMASI PERPUSTAKAAN
   Theme : Pink & Brown
=================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#FFF8F5;
}

/* ===============================
   LOGIN
=================================*/

.login-box{
    width:420px;
    margin:80px auto;
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.login-box h1{
    color:#C06C84;
    text-align:center;
    margin-bottom:10px;
}

.login-box p{
    text-align:center;
    color:#7A5C58;
    margin-bottom:25px;
}

input{
    width:100%;
    padding:13px;
    margin-bottom:18px;
    border:2px solid #F4D6D6;
    border-radius:10px;
    font-size:15px;
    transition:0.3s;
}

input:focus{
    outline:none;
    border-color:#C06C84;
    box-shadow:0 0 8px rgba(192,108,132,.3);
}

/* ===============================
   BUTTON
=================================*/

button{
    width:100%;
    padding:13px;
    border:none;
    border-radius:10px;
    background:#C06C84;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#A0526D;
    transform:scale(1.02);
}

/* ===============================
   NAVBAR
=================================*/

.navbar{
    background:#7B5E57;
    color:white;
    padding:18px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 3px 10px rgba(0,0,0,.2);
}

.navbar h2{
    font-size:24px;
}

.navbar a{
    color:white;
    text-decoration:none;
    margin-left:20px;
    font-weight:bold;
    transition:.3s;
}

.navbar a:hover{
    color:#FFD6E0;
}

/* ===============================
   CONTAINER
=================================*/

.container{
    width:92%;
    margin:30px auto;
}

/* ===============================
   CARD DASHBOARD
=================================*/

.card{
    background:white;
    border-left:8px solid #C06C84;
    border-radius:15px;
    padding:25px;
    margin-bottom:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.1);
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card h2{
    color:#C06C84;
    margin-bottom:10px;
}

.card h1{
    color:#7B5E57;
    font-size:45px;
}

.card p{
    color:#666;
    line-height:25px;
}

/* ===============================
   TABLE
=================================*/

table{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

table th{
    background:#C06C84;
    color:white;
    padding:15px;
}

table td{
    padding:13px;
    border-bottom:1px solid #eee;
    text-align:center;
}

table tr:nth-child(even){
    background:#FFF4F6;
}

table tr:hover{
    background:#FFE3EA;
}

/* ===============================
   BUTTON LINK
=================================*/

.btn{
    display:inline-block;
    padding:10px 18px;
    color:white;
    text-decoration:none;
    border-radius:8px;
    transition:.3s;
    font-size:14px;
}

.tambah{
    background:#C06C84;
}

.edit{
    background:#A67B5B;
}

.hapus{
    background:#E74C3C;
}

.kembali{
    background:#7B5E57;
}

.btn:hover{
    opacity:.9;
    transform:scale(1.05);
}

/* ===============================
   FORM
=================================*/

.form-box{
    width:650px;
    margin:30px auto;
    background:white;
    padding:30px;
    border-radius:18px;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.form-box h2{
    color:#C06C84;
    text-align:center;
    margin-bottom:25px;
}

label{
    font-weight:bold;
    color:#7B5E57;
}

select{
    width:100%;
    padding:13px;
    margin-bottom:18px;
    border:2px solid #F4D6D6;
    border-radius:10px;
}

/* ===============================
   FOOTER
=================================*/

.footer{
    text-align:center;
    margin-top:40px;
    padding:20px;
    color:#7B5E57;
}

.btn{
    display:inline-block;
    width:100%;
    text-align:center;
    padding:12px;
    border-radius:8px;
    margin-top:5px;
}

.hapus{
    background:#C06C84;
    color:white;
}

.kembali{
    background:#7B5E57;
    color:white;
}

.btn:hover{
    opacity:0.9;
}