/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 5;
    padding: 5;
}

h1 {
    text-align: center;
	font-size: 48px;
}

h2 {
    text-align: center;
    margin-top: 0px;
    font-size: 22px;
}

h3 {
    text-align: center;
    margin-top: 0px;
	font-weight: bold;
    font-size: 14px;
}

h4 {
    text-align: center;
    margin-top: 0px;
	font-weight: bold;
    font-size: 10px;
}

input[type="text"], input[type="email"], select, textarea {
      width: 100%;
      padding: 10px;
      margin: 5px 0;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }
input[type="text"], input[type="user_name"], select, textarea {
      width: 100%;
      padding: 10px;
      margin: 5px 0;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }
input[type="text"], input[type="password"], select, textarea {
      width: 100%;
      padding: 10px;
      margin: 5px 0;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }
input[type="submit"] {
      background-color: #4CAF50;
      color: white;
      padding: 15px 20px;
      border: none;
      border-radius: 4px;
      font-weight: bold;
      font-size: 18px;
      cursor: pointer;
      width: 100%;
    }
input[type="submit"]:hover {
      background-color: #45a049;
    }
@media screen and (max-width: 600px) {
      input[type="text"], input[type="email"], select, textarea, input[type="submit"] {
        width: 100%;
        margin-top: 0;
      }
    }

/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 5px;
    padding: 5px;
    background-color: #f4f4f4;
}

table {
    margin: 5px auto;
    border-collapse: collapse;
    width: 98%;
    background-color: #fff;
}

th, td {
    padding: 5px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
}

/* Export button styles */
.export-container {
    text-align: center;
    margin-top: 5px;
	margin-bottom: 5px;
}

.export-btn {
	background-color: transparent;
    display: inline-block;
    margin: 2px;
    text-decoration: none;
	font-size: 15px;
	color: Red;
    padding: 3px 3px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.export-btn:hover {
    background-color: #45a049;
	color: red;
}

.export-btn img.btn-icon {
    width: 50px;
    height: 40px;
    margin-right: 2px;
    vertical-align: middle;
}

.pdf-btn {
            background-image: url('images/pdf.jpg');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center left;
            padding-left: 30px; /* Adjust based on the icon size */
        }

.simpan-btn {
	background-color: transparent;
    display: inline-block;
    margin: 2px;
    text-decoration: none;
	font-size: 25px;
	color: Red;
    padding: 10px 10px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.simpan-btn:hover {
    background-color: #45a049;
	color: red;
}

.simpan-btn img.btn-icon {
    width: 30px;
    height: 25px;
    margin-right: 2px;
    vertical-align: middle;
}

/* DataTable Styles */
#example {
    width: 99%;
    margin: 0 auto;
    border-collapse: collapse;
}

.dataTables_wrapper {
    width: 99%;
    margin: 0 auto;
}

table.dataTable thead th {
    background-color: green;
    color: white;
	font-weight: bold;
	font-size: 18px;
    text-align: center;
    padding: 2px;
}

table.dataTable tbody td {
    padding: 4px;
    text-align: center;
}

table.dataTable tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* button Styles */
.edit-btn,
.save-btn,
.cancel-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.edit-btn {
    background-color: transparent;
    color: black;
	font-weight: bold;
}

.edit-btn:hover {
    background-color: lightblue;http://localhost/images/edit.png
}

.reset-btn {
    background-color: transparent;
    color: black;
	font-weight: bold;
}

.reset-btn:hover {
    background-color: lightblue;
}

.save-btn {
    background-color: transparent;
    color: black;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    display: none;
}

.save-btn:hover {
    background-color: lightgreen; 
	color: red;
}


.cancel-btn {
    background-color: transparent;
    color: black;
	font-weight: bold;
}

.cancel-btn:hover {
    background-color: yellow;http://localhost/images/cancel.png
}

input[type="text"], input[type="email"], select, textarea {
      width: 100%;
      padding: 10px;
      margin: 5px 0;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }
input[type="text"], input[type="user_name"], select, textarea {
      width: 100%;
      padding: 10px;
      margin: 5px 0;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }
input[type="text"], input[type="password"], select, textarea {
      width: 100%;
      padding: 10px;
      margin: 5px 0;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }
input[type="submit"] {
      background-color: #4CAF50;
      color: white;
      padding: 15px 20px;
      border: none;
      border-radius: 4px;
      font-weight: bold;
      font-size: 18px;
      cursor: pointer;
      width: 100%;
    }
input[type="submit"]:hover {
      background-color: #45a049;
    }

/* Select styles */
select {
            width: 50px; /* Sesuaikan panjang sesuai kebutuhan */
            padding: 5px; /* Sesuaikan padding sesuai kebutuhan */
            font-size: 14px; /* Sesuaikan ukuran font sesuai kebutuhan */
            border-radius: 5px; /* Memberi sudut pada kotak filter */
        }

select:focus {
    border-color: #4CAF50;
}

/* CSS styling untuk kuitansi */
box {
    border: 1px solid black;
    padding: 10px;
    margin-bottom: 20px;
	}

period-container {
    display: flex;
    align-items: center;
    }

period-container input {
    margin-right: 10px;
    }

form {
    display: flex;
    flex-direction: column;
	}

#paymentForm {
    width: 30%;
    margin: 0 auto; /* Center the form horizontally */
	}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="button"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
	}

input[type="month"]{
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
	}

input[type="button"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
	}

input[type="button"]:hover {
    background-color: #45a049;
	}

span {
    display: inline-block;
    margin: 0 5px;
	}

receipt-box {
    border: 2px solid #000;
    padding: 20px;
    width: 90%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    }
receipt-box h2, .receipt-box p, .receipt-box table {
    margin: 10px 0;
    }
receipt-box table {
    width: 100%;
    border-collapse: collapse;
    }
receipt-box td {
    padding: 5px;
    }	



	
	
	
/* Responsive styles */
@media (max-width: 550px) {
    .export-container {
        flex-direction: column;
        align-items: flex-start;
    }
	
	.export-btn {
        display: block;
        margin: 10px auto;
        width: 30%;
        text-align: center;
    }

    .export-btn img.btn-icon {
        width: 20px;
        height: 20px;
    }
	
	table.dataTable thead th,
    table.dataTable tbody td {
        display: block;
        width: 98%;
        text-align: right;
        padding: 10px;
        box-sizing: border-box;
    }

    table.dataTable thead th::after,
    table.dataTable tbody td::after {
        content: attr(data-title);
        float: left;
        font-weight: bold;
        padding-right: 10px;
    }

    th, td {
        padding: 8px;
    }

    h2 {
        font-size: 20px;
    }
}

.filters {
    width: 100%; /* Full width within the container */
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 10px;
}

.filters label, .filters select {
    font-size: 16px;
    margin-right: 10px;
}

.filters select {
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 120px; /* Adjust the width as needed */
}

canvas {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 10px;
    width: 80%; /* Adjust width to fit side by side */
}

.filters-section {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.filters {
    display: flex;
    justify-content: space-between;
	flex-direction: column;
    gap: 10px;
}
.filters > div {
    flex: 1;
}
.charts {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.charts > div {
   flex: 1;
}

.login-container {
            background: #fff;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            width: 350px;
            text-align: center;
            z-index: 2;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
}

.login-container h2 {
    margin-bottom: 20px;
}

.input-container {
    position: relative;
    margin: 10px 0;
}

        .input-container input {
            width: 100%;
            padding: 10px;
            padding-left: 40px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            transition: all 0.3s;
        }

        .input-container input:focus {
            border-color: #007BFF;
            box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
        }

        .input-container i {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #ccc;
        }

        .login-container button {
            background-color: #007BFF;
            color: #fff;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.3s;
        }

        .login-container button:hover {
            background-color: #0056b3;
        }

        .login-container .message {
            margin: 15px 0 0;
            color: red;
        }

        .remember-me {
            text-align: left;
            margin-bottom: 10px;
        }

        .remember-me label {
            display: inline-block;
            margin-left: 5px;
        }

        
        @keyframes moveBackground1 {
            0% {
                background-position: top left;
            }
            50% {
                background-position: bottom left;
            }
            100% {
                background-position: top left;
            }
        }

        @media (max-width: 768px) {
            .background-image-2 {
                //display: none;
				width: 90%;
            }

            .login-container {
                width: 90%;
            }
        }

.hidden {
    display: none; /* Awalnya disembunyikan */
}

.tree ul {
            padding-top: 20px; 
            position: relative;
            transition: all 0.5s;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
        }

        .tree li {
            float: left; 
            text-align: center;
            list-style-type: none;
            position: relative;
            padding: 20px 2px 0 5px;
            transition: all 0.5s;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
        }

        .tree li::before, .tree li::after {
            content: '';
            position: absolute; 
            top: 0; 
            right: 50%;
            border-top: 1px solid #ccc;
            width: 50%; 
            height: 20px;
        }

        .tree li::after {
            right: auto; 
            left: 50%;
            border-left: 2px solid #ccc;
        }

        .tree li:only-child::after, .tree li:only-child::before {
            display: none;
        }

        .tree li:only-child {
            padding-top: 2px;
        }

        .tree li:first-child::before, .tree li:last-child::after {
            border: 0 none;
        }

        .tree li:last-child::before {
            border-right: 2px solid #ccc;
            border-radius: 0 5px 0 0;
            -webkit-border-radius: 0 5px 0 0;
            -moz-border-radius: 0 5px 0 0;
        }

        .tree li:first-child::after {
            border-radius: 5px 0 0 0;
            -webkit-border-radius: 2px 0 0 0;
            -moz-border-radius: 2px 0 0 0;
        }

        .tree ul ul::before {
            content: '';
            position: absolute; 
            top: 0; 
            left: 50%;
            border-left: 2px solid #ccc;
            width: 0; 
            height: 20px;
        }

        .tree li a {
            border: 2px solid #ccc;
            padding: 5px 10px;
            text-decoration: none;
            color: black;
            font-family: arial, verdana, tahoma;
            font-size: 12px;
            display: inline-block;
            border-radius: 5px;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            transition: all 0.5s;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
        }

        .tree li a:hover, .tree li a:hover+ul li a {
            background: #c8e4f8; 
            color: red; 
            border: 2px solid #94a0b4;
        }

        .tree li a:hover+ul li::after, 
        .tree li a:hover+ul li::before, 
        .tree li a:hover+ul::before, 
        .tree li a:hover+ul ul::before {
            border-color:  #94a0b4;
        }
		
		.tree2 ul {
            padding-top: 20px; 
            position: relative;
            transition: all 0.5s;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
        }

        .tree2 li {
            float: left; 
            text-align: center;
            list-style-type: none;
            position: relative;
            padding: 20px 5px 0 5px;
            transition: all 0.5s;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
        }

        .tree2 li::before, .tree2 li::after {
            content: '';
            position: absolute; 
            top: 0; 
            right: 50%;
            border-top: 1px solid #ccc;
            width: 50%; 
            height: 20px;
        }

        .tree2 li::after {
            right: auto; 
            left: 50%;
            border-left: 2px solid #ccc;
        }

        .tree2 li:only-child::after, .tree2 li:only-child::before {
            display: none;
        }

        .tree2 li:only-child {
            padding-top: 0;
        }

        .tree2 li:first-child::before, .tree2 li:last-child::after {
            border: 0 none;
        }

        .tree2 li:last-child::before {
            border-right: 2px solid #ccc;
            border-radius: 0 5px 0 0;
            -webkit-border-radius: 0 5px 0 0;
            -moz-border-radius: 0 5px 0 0;
        }

        .tree2 li:first-child::after {
            border-radius: 5px 0 0 0;
            -webkit-border-radius: 5px 0 0 0;
            -moz-border-radius: 5px 0 0 0;
        }

        .tree2 ul ul::before {
            content: '';
            position: absolute; 
            top: 0; 
            left: 50%;
            border-left: 2px solid #ccc;
            width: 0; 
            height: 20px;
        }

        .tree2 li a {
            border: 2px solid #ccc;
            padding: 5px 10px;
            text-decoration: none;
            color: black;
            font-family: arial, verdana, tahoma;
            font-size: 11px;
            display: inline-block;
            border-radius: 5px;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            transition: all 0.5s;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
        }

        .tree2 li a:hover, .tree2 li a:hover+ul li a {
            background: #c8e4f8; 
            color: red; 
            border: 2px solid #94a0b4;
        }

        .tree2 li a:hover+ul li::after, 
        .tree2 li a:hover+ul li::before, 
        .tree2 li a:hover+ul::before, 
        .tree2 li a:hover+ul ul::before {
            border-color:  #94a0b4;
        }
		
.tree3 ul {
            padding-top: 20px; 
            position: relative;
            transition: all 0.5s;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
        }

        .tree3 li {
            float: left; 
            text-align: center;
            list-style-type: none;
            position: relative;
            padding: 20px 5px 0 5px;
            transition: all 0.5s;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
        }

        .tree3 li::before, .tree3 li::after {
            content: '';
            position: absolute; 
            top: 0; 
            right: 50%;
            border-top: 1px solid #ccc;
            width: 50%; 
            height: 20px;
        }

        .tree3 li::after {
            right: auto; 
            left: 50%;
            border-left: 2px solid #ccc;
        }

        .tree3 li:only-child::after, .tree3 li:only-child::before {
            display: none;
        }

        .tree3 li:only-child {
            padding-top: 0;
        }

        .tree3 li:first-child::before, .tree3 li:last-child::after {
            border: 0 none;
        }

        .tree3 li:last-child::before {
            border-right: 2px solid #ccc;
            border-radius: 0 5px 0 0;
            -webkit-border-radius: 0 5px 0 0;
            -moz-border-radius: 0 5px 0 0;
        }

        .tree3 li:first-child::after {
            border-radius: 5px 0 0 0;
            -webkit-border-radius: 5px 0 0 0;
            -moz-border-radius: 5px 0 0 0;
        }

        .tree3 ul ul::before {
            content: '';
            position: absolute; 
            top: 0; 
            left: 50%;
            border-left: 2px solid #ccc;
            width: 0; 
            height: 20px;
        }

        .tree3 li a {
            border: 2px solid #ccc;
            padding: 5px 10px;
            text-decoration: none;
            color: black;
            font-family: arial, verdana, tahoma;
            font-size: 11px;
            display: inline-block;
            border-radius: 5px;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            transition: all 0.5s;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
        }

        .tree3 li a:hover, .tree3 li a:hover+ul li a {
            background: #c8e4f8; 
            color: red; 
            border: 2px solid #94a0b4;
        }

        .tree3 li a:hover+ul li::after, 
        .tree3 li a:hover+ul li::before, 
        .tree3 li a:hover+ul::before, 
        .tree3 li a:hover+ul ul::before {
            border-color:  #94a0b4;
        }

.tree li img {
            width: 70px;  /* Adjust as needed */
            height: 60px;  /* Maintains aspect ratio */
            border-radius: 20%;  /* Makes the image circular */
            margin-top: 0px;  /* Adds space between text and image */
        }

.tree2 li img {
            width: 70px;  /* Adjust as needed */
            height: 60px;  /* Maintains aspect ratio */
            border-radius: 20%;  /* Makes the image circular */
            margin-top: 0px;  /* Adds space between text and image */
}	

.tree3 li img {
            width: 70px;  /* Adjust as needed */
            height: 60px;  /* Maintains aspect ratio */
            border-radius: 20%;  /* Makes the image circular */
            margin-top: 0px;  /* Adds space between text and image */
}	

.show li img {
            width: 250px;  /* Adjust as needed */
            height: 210px;  /* Maintains aspect ratio */
            border-radius: 20%;  /* Makes the image circular */
            margin-top: 0px;  /* Adds space between text and image */
}	

.link-container {
    flex-direction: column;
	background-color: red;
    align-items: flex-start;
	text-align: center;
    margin-top: 2px;
	margin-bottom: 0px;
}

.link-btn {
    background-color: lightgreen;
    display: inline-block;
    margin-top: 2px;
	margin-left: 10px;
    text-decoration: none;
	text-align: center;
	font-size: 15px;
	color: red;
    padding: 2px 2px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}	

.link-btn:hover {
    background-color: blue;
	color: white;
}

		

       
