/* Style the navbar (refer to previous example or create your own) */
/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: Arial, sans-serif;
}

/* Navbar styles */
nav {
    background-color: black;
    /* Adjust background color as desired */
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
    text-align: center;
}

/* Unordered list styles */
nav ul {
    list-style: none;
    display: flex;
    list-style-type: none;
    margin: 0 auto;
}

/* List item styles */
nav li {
    margin-right: 50px;
    position: relative;
}

/* Link styles */
nav a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

/* Link hover effect */
nav a:hover {
    color: #f1c40f;
    /* Adjust hover color as desired */
}


/* Hero section styles */
.hero {
    text-align: center;
    padding: 50px 0;
    background-color: #f2f2f2;
    opacity: 0.8;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero .index {
    background-color: black;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.hero a:hover {
    background-color: darkgray;
}

/* Info section styles */
.info {
    padding: 20px;
}

.info h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.info p {
    font-size: 16px;
    margin-bottom: 10px;
}

.info ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 20px;
}


/** 
LOGIN.PHP
**/

main {
    padding: 20px;
    text-align: center;
}

/* Form styles */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.form-group {
    width: 100%;
    max-width: 300px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

button[type="submit"] {
    background-color: black;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

button[type="submit"]:hover {
    background-color: darkgrey;
}

/* Link styles */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/**
TENTANG
**/
.tentang ul {
    list-style: none;
}

/**
KONTAK
**/
.kontak ul {
    list-style: none;
}


/**
DASHBOARD
**/
.dashboard {
    display: inline-block;
    margin-right: 100px;
}

.inline-input {
    display: inline-block;
    width: 150px;
    /* Adjust width as needed */
    margin-right: 5px;
    /* Add a small gap between elements (optional) */
}

/** PENCATATAN **/
.tabel_pencatatan {
    border: 1px solid;
    width: 100%;
    border-collapse: collapse;
    overflow-wrap: break-word;
}

.tabel_pencatatan td {
    border: 1px solid;
    padding: 20px;
    max-width: 150px;
    overflow-wrap: break-word;
}

.tabel_pencatatan p {
    overflow-wrap: break-word;
}

.pencatatan_delete {
    text-decoration: none;
    background-color: black;
    color: white;
    padding: 10px;
    border-radius: 12px;
}

.pencatatan_delete:hover {
    color: red;
}


/** LAPORAN KEUANGAN **/
.laporan {
    margin-left: 50px;
    margin-right: 50px;
    color: white;
    background-color: black;
    padding: 20px;
    border-radius: 12px;
}

.laporan:hover {
    text-decoration: none;
    color: black;
}