/* style.css */

body{
    margin:0;
    padding:0;
    font-family:Arial;
    background:linear-gradient(to right,#ffd6e7,#ffc0cb);
}

.navbar{
    background:#b22222;
    color:white;
    padding:15px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.judul-navbar{
    font-size:22px;
    font-weight:bold;
}

.admin-navbar{
    background:white;
    color:#b22222;
    padding:10px 18px;
    border-radius:12px;
    font-weight:bold;
}

.container{
    width:85%;
    margin:auto;
    margin-top:35px;
    background:white;
    padding:30px;
    border-radius:25px;
    box-shadow:0 0 20px pink;
}

.login-box{
    width:360px;
    margin:auto;
    margin-top:50px;
    background:white;
    padding:35px;
    border-radius:25px;
    border:4px solid #b22222;
    box-shadow:0 0 20px pink;
}

.logo{
    text-align:center;
    font-size:70px;
}

h1{
    text-align:center;
    color:#b22222;
    font-size:40px;
}

p{
    text-align:center;
    color:#c71585;
    font-size:18px;
}

input,select{
    width:100%;
    padding:14px;
    margin-top:12px;
    border-radius:12px;
    border:2px solid pink;
    box-sizing:border-box;
    font-size:16px;
}

button{
    width:100%;
    padding:14px;
    margin-top:18px;
    border:none;
    border-radius:12px;
    background:#b22222;
    color:white;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
}

button:hover{
    background:#ff1493;
}

.menu{
    text-align:center;
    margin-top:20px;
    margin-bottom:20px;
}

.menu a{
    text-decoration:none;
    background:#b22222;
    color:white;
    padding:12px 18px;
    border-radius:12px;
    margin:5px;
    display:inline-block;
}

table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

table th{
    background:#b22222;
    color:white;
    padding:14px;
}

table td{
    padding:12px;
    text-align:center;
    border-bottom:1px solid pink;
}

.edit{
    background:orange;
    color:black;
    padding:8px 12px;
    border-radius:8px;
    text-decoration:none;
}

.hapus{
    background:red;
    color:white;
    padding:8px 12px;
    border-radius:8px;
    text-decoration:none;
}
.kehadiran{
    background-color: pink;
    border: none;
    padding: 5px;
    border-radius: 8px;
    font-weight: bold;
}


body{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #ffd6e7;
}

/* Container utama */
.container{
    width: 90%;
    margin: auto;
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
}

/* Judul */
h1{
    text-align: center;
    color: brown;
}

/* Teks selamat datang */
p{
    text-align: center;
    color: #c45a8d;
}

/* Tombol logout */
.logout{
    text-align: center;
    margin-bottom: 20px;
}

.logout button{
    background: #c94b3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
}

/* Table */
table{
    width: 100%;
    border-collapse: collapse;
}

table th{
    background: brown;
    color: white;
    padding: 10px;
}

table td{
    padding: 10px;
    text-align: center;
}

/* Footer */
footer{
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    width: 100%;
    color: #555;
    font-size: 16px;
}

/* Judul tengah */
h1{
    font-size: 33px;
}

.judul-navbar{
    font-size: 20px !important;
}