/* untuk body */
body {
    font: 14px/28px Arial, sans-serif;
    background-color: #887767;
    color: #333;
    margin: 0;
    padding: 0;
    
}

/* top-bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-color: #9AACB8;
    border-bottom: 10px solid #D9DAD4;
    z-index: 999;
    font-size: 9px;
}

/* instagram logo */
.instagram {
    width: 100px;
    height: 100px;
    background-image: url(img/logo7.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 60px;
    right: 20px;
    background-size: contain;
}

/* header */
.header h1 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
}

/* container */
.container {
    width: 100%;
    max-width: 960px;
    margin: 100px auto 50px;
    padding: 20px;
    background-color: #D9DAD4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* form group */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

/* label styling */
label {
    font-weight: bold;
    margin-bottom: 8px;
}

/* input fields */
input, select {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
}

/* button styling */
.btn-submit {
    padding: 12px 20px;
    background-color: #5A7A6E;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #3E5A4E;
}

/* Search Input */
        input[type="text"] {
            width: 60%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-right: 10px;
            background-color: #f8f8f8;
        }

        button[type="submit"] {
            padding: 10px 20px;
            background-color: #4f5d73;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        button[type="submit"]:hover {
            background-color: #3a4655;
        }

        /* Responsif Tabel */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

/* Gaya untuk tampilan mobile */
@media screen and (max-width: 768px) {
    
}


/* footer */
.footer {
    background-color: #333;
    padding: 10px;
    text-align: center;
}

.footer .copy {
    color: #eaeaee;
    font-size: 14px;
}

.footer a {
    text-decoration: none;
    color: white;
    font-size: 14px;
}

/* home button */
.home {
    width: 40px;
    height: 42px;
    background-image: url(img/home6.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    text-indent: -9999px;
    position: absolute;
    top: 4rem;
    left: 0.5rem;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }
    
    .form-group {
        flex-direction: column;
    }

    table {
        border: 0;
    }

    thead {
        display: none; /* Sembunyikan header tabel di mobile */
    }

    tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 5px;
        background: #fff;
    }

    td {
        display: block;
        text-align: left;
        padding-left: 50%;
        position: relative;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        text-align: left;
        font-weight: bold;
    }

    td img {
        max-width: 100px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .instagram {
        width: 70px;
        height: 70px;
        top: 60px;
        right: 10px;
    }
    
    .header h1 {
        font-size: 2em;
    }
}
