*{
    box-sizing: border-box;
}

body{
    font-family: Arial, sans-serif;

    background: linear-gradient(135deg, #74ebd5, #ACB6E5);

    margin: 0;
    padding: 20px;

    min-height: 100vh;
}

.center-wrapper{
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.box{
    width: 100%;
    max-width: 380px;

    background: white;

    padding: 30px;

    border-radius: 15px;

    text-align: center;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.dashboard-box{
    width: 100%;
    max-width: 900px;

    background: white;

    padding: 30px;

    border-radius: 15px;

    text-align: center;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.gambar{
    width: 200px;
    margin-bottom: 10px;
}

h1, h2{
    color: #2c3e50;
}

input{
    width: 100%;

    padding: 12px;

    margin: 10px 0;

    border: 1px solid #ccc;

    border-radius: 5px;

    font-size: 16px;
}

select{
    width: 100%;

    padding: 12px;

    margin: 10px 0;

    border: 1px solid #ccc;

    border-radius: 5px;

    font-size: 16px;
}

button{
    width: 100%;

    padding: 12px;

    background: #3498db;

    border: none;

    border-radius: 5px;

    color: white;

    font-size: 16px;

    cursor: pointer;

    transition: 0.3s;
}

button:hover{
    background: #2980b9;
}

.error{
    color: red;
    margin-bottom: 10px;
}

.success{
    color: green;
    margin-bottom: 10px;
}

.link{
    display: inline-block;

    margin-top: 5px;

    text-decoration: none;

    color: #3498db;
}

.link:hover{
    text-decoration: underline;
}

.logout{
    display: inline-block;

    margin-top: 20px;

    background: red;

    color: white;

    padding: 10px 15px;

    text-decoration: none;

    border-radius: 5px;
}

.logout:hover{
    background: darkred;
}

.table-wrapper{
    overflow-x: auto;
    margin-top: 20px;
}

table{
    width: 100%;
    min-width: 600px;

    border-collapse: collapse;
}

table, th, td{
    border: 1px solid #ccc;
}

th{
    background: #3498db;
    color: white;
    padding: 12px;
}

td{
    padding: 10px;
    text-align: center;
}

tr:nth-child(even){
    background: #f2f2f2;
}

@media (max-width: 600px){

    body{
        padding: 15px;
    }

    .box,
    .dashboard-box{
        padding: 20px;
    }

    h1{
        font-size: 32px;
    }

    h2{
        font-size: 24px;
    }

    table{
        font-size: 14px;
    }
}