
/*body*/
* {box-sizing: border-box;}

body { font-family: Arial, Helvetica, sans-serif; background: #ffffff; padding: 0px; margin: 0px auto;}

@media (max-width: 768px) {body {flex-direction: column; align-items: stretch;}
}

/*header*/
header {background: #950000; color: #fff; padding: 10px; text-align: center; font-size: 20px; font-weight: bold;}

/*container*/
.container {width: 100%; }

.container-menu {width: 100%; border-radius: 50px; display: flex; margin: 0px auto; gap: 30px;}

.container-cover {width: 100%; background-color: #023952; display: flex; color: #fff; justify-content: center; margin: 0px auto; flex-direction: column;}

.container-tengah1 {width: 100%; display: flex; justify-content: center; margin: 0px auto; gap: 25px;}

.container-tengah2 {width: 100%; display: flex; justify-content: center; 
                        align-items: center; margin: 0px auto; flex-direction: column;}

.container-bawah {width: 100%; display: flex; justify-content: center; align-items: center; position: fixed;
                    bottom: 0; left: 0; z-index: 1000; flex-direction: column;}

.container-kiri {width: auto; padding: 5px; align-items: center; justify-content: center;}

.container-kanan {width: auto; align-items: center; justify-content: center;}

.container-20 {width: 20%; margin: 0px auto;}

.container-form {width: 40%; margin: 0px auto;}

.container-tengah11 {width: 100%; background: rgb(207, 207, 207); color: #000000; display: flex; justify-content: center; flex-direction: column; 
                        align-items: center; padding: 25px; margin: 0px auto; border-radius: 50px; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.575); text-decoration: none;}

            .container-tengah11:hover {background: rgb(160, 160, 160);box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);}

.container-grid {display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 10px;}

@media (max-width: 768px) {
    .container {width: 100%;}
    .container-menu {width: 100%;}
    .container-cover {width: 100%;}
    .container-tengah1 {width: 100%; flex-direction: column; align-items: stretch;}
    .container-tengah2 {width: 100%;}
    .container-bawah {width: 100%;}
    .container-kiri {width: auto;}
    .container-kanan {width: auto;}
    .container-20 {width: 95%;}
    .container-form {width: 100%;}
    .container-grid {display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 10px;}
}

/*btn*/
.btn-biru {display: block; width: 100%; background: #05005f; font-size: 18px; color: #ffffff !important; text-align: center; padding: 10px; margin-bottom: 5px; border-radius: 40px; text-decoration: none;}
    .btn-biru:hover {background: #322bff;}

.btn-hijau {display: block; width: 100%; background: #005f08; font-size: 18px; color: #ffffff !important; text-align: center; padding: 10px; margin-bottom: 5px; border-radius: 40px; text-decoration: none;}
    .btn-hijau:hover {background: #47bb1d;}

.btn-merah {display: block; width: 100%; background: #f74646; font-size: 18px; color: #ffffff !important; text-align: center; padding: 10px; margin-bottom: 5px; border-radius: 40px; text-decoration: none;}
    .btn-merah:hover {background: #ff6464;}

.btn-orange {display: block; width: 100%; background: #ee620b; font-size: 18px; color: #ffffff !important; text-align: center; padding: 10px; margin-bottom: 5px; border-radius: 40px; text-decoration: none;}
    .btn-orange:hover {background: #ff9557;}

.btn-sudut {width: fit-content; display: block; background: #950000; color: #fff; padding: 15px 40px; border-radius: 10px; 
            text-decoration: none;}
    .btn-sudut:hover {background-color: rgb(207, 4, 4); cursor: pointer;}

.btn-0 {width: auto; padding: 20px 40px; border: 0px solid #cccccc; border-radius: 5px; font-size: 16px; font-weight: bold;
        cursor: pointer; color: rgb(0, 0, 0); margin: 0px auto; display: flex; text-decoration: none; align-items: center;}
    .btn-0:hover {background-color: rgb(230, 230, 230); cursor: pointer; color: rgb(0, 0, 0);}

.btn-1 {display: inline-block; padding: 10px 40px; border-radius: 5px; font-size: 14px; background-color: rgb(0, 8, 255); cursor: pointer; color: #ffffffff; 
        text-align: center; text-decoration: none;}
    .btn-1:hover {background-color: rgb(109, 106, 255);}

.btn-2 {display: inline-block; background-color: #28a745; color: white; padding: 10px 20px; 
        border-radius: 4px; text-decoration: none; font-size: 14px; text-align: center;}
    .btn-2:hover {background-color: #218838;}

.btn-3 {display: inline-block; padding: 10px 40px; border-radius: 5px; font-size: 14px; 
        background-color: rgb(213, 0, 0); cursor: pointer; color: #ffffffff; text-align: center; text-decoration: none;}
    .btn-3:hover {background-color: rgb(255, 107, 107);}

button {width: auto; padding: 10px 40px; border: 0px solid #ccc; border-radius: 5px; font-size: 16px; font-weight: bold; 
        background-color: rgb(0, 107, 105); cursor: pointer; color: #ffffffff; text-align: center; margin: 0px auto; display: flex;}
    button:hover {background-color: rgb(65, 167, 176); cursor: pointer; color: #ffffffff;}

input[type="submit"] {width: auto; padding: 10px 40px; border: 0px solid #ccc; border-radius: 5px; font-size: 16px; font-weight: bold;
        background-color: rgba(0, 60, 75, 0.914); cursor: pointer; color: #ffffffff; text-align: center; margin: 0px auto; display: flex;}

    input[type="submit"]:hover {background-color: rgba(0, 140, 175, 0.914); cursor: pointer; color: #ffffffff;}

.clickable-row {cursor: pointer; background-color: #ffffffff;}
        .clickable-row:hover {background-color: #c3e2ffff; transition: background-color 0.3s ease;}



/*Form*/
label { width: 100%; display: block; font-size: 15px; font-style: italic; margin-bottom: 1px; }

input, select { width: 100%; font-size: 16px; font-weight: bold; background-color: rgb(217, 217, 217); 
                border: none; border-radius: 8px; box-sizing: border-box; margin-bottom: 15px; padding: 8px;}

.form-group input[readonly] { width: 100%; font-size: 16px; font-weight: bold; background: white; border: none; 
                                box-sizing: border-box;  margin-bottom: 15px; padding: 4px;}

textarea { width: 100%; height: 400px; padding: 10px; margin-bottom: 3px; font-size: 14px;
            border-radius: 8px; border: 1px solid #6c757d; resize: vertical;}


.form-group {
    margin-bottom: 15px;
    }
        .form-group label {display: inline-block; width: 15%; font-size: 14px; font-weight: bold; margin-left: 10px; margin-right: 20px; margin-bottom: 0px;}

        .form-group input, select {background-color: #ffffff; width: 60%; font-size: 14px; padding: 5px; border: 1px solid #ccc; border-radius: 4px; 
                                    margin-left: 30px; margin-right: 10px; margin-bottom: 0px; padding: 8px;}

        .form-group input[readonly] {background-color: #efefef; width: 60%; font-size: 14px; padding: 5px; border: 0px; border-radius: px; margin-left: 30px; 
                                        margin-right: 10px; margin-bottom: 0px; padding: 8px; cursor: not-allowed;}


/*huruf*/
h1 {font-size: 35px; text-align: center; margin-bottom: 1px;}
h2 {font-size: 25px; text-align: center; margin-bottom: 1px;}
h3 {font-size: 20px; text-align: center; margin-bottom: 1px;}
h4 {font-size: 16px; text-align: center; margin-bottom: 1px;}
    @media (max-width: 768px) {
        h1 {font-size: 30px; text-align: center; margin-bottom: 1px;}
        h2 {font-size: 20px; text-align: center; margin-bottom: 1px;}
        h3 {font-size: 16px; text-align: center; margin-bottom: 1px;}
        h4 {font-size: 14px; text-align: center; margin-bottom: 1px;}
        }


/*tabe2*/
.table-wrapper {width: 100%; overflow-x: auto; overflow-y: hidden; border: 1px solid #ccc; background: #fff; padding: 0px;}

.table-wrapper table {border-collapse: collapse; min-width: 800px; width: 100%;}

.table-wrapper th,
.table-wrapper td {padding-bottom: 10px; text-align: left; white-space: nowrap;}


.table-container {width: 100%; overflow-x: auto;}

table {background-color: white; width: 100%; border-collapse: collapse; font-size: 12px;}

th, td {padding: 8px; border: 1px solid #ccc; text-align: left;}



/*search pencarian*/
.search-form {display: flex; width: 30%; padding: 0px;}

.search-form input[type="text"] {flex-grow: 1; padding: 10px 15px; border: 2px solid #ccc; border-right: none; border-radius: 5px 0 0 5px;
                                    font-size: 14px; height: 30px; box-sizing: border-box;}

.search-form button[type="submit"] {padding: 10px 15px; height: 30px; background-color: #356cb8; color: white; border: none; border-radius: 0 5px 5px 0;
                                    cursor: pointer; font-weight: bold; font-size: 14px; width: auto; box-sizing: border-box; margin-left: 0px;}



/*header*/
ul {list-style: none; margin: 0; padding: 0; background: rgb(0, 42, 63);}
ul li {position: relative; float: left;}
ul li a {display: block; padding: 10px 15px; text-decoration: none;}
ul li a:hover {background: rgb(12, 96, 205);}

    /* Submenu level 1 */
    ul li ul {display: none; position: absolute; top: 100%; right: 0; background: rgb(56, 142, 255); min-width: 280px;}
    ul li ul li {float: none;}

    /* Submenu level 2 */
    ul li ul li ul {top: 0; left: 50%;}

    /* Munculkan submenu saat hover */
    ul li:hover > ul {display: block;}


/*gambar*/
.logoKecil-img {width: 70px; height: auto; justify-content: center; text-align: center;}
.logoBesar-img {width: 150px; height: auto; justify-content: center; text-align: center;}
.fotoKecil-img {width: 250px; height: auto; justify-content: center; text-align: center;}
.fotoBesar-img {width: 350px; height: auto; justify-content: center; text-align: center;}
    @media (max-width: 768px) {
        .logoKecil-img {width: 50px;}
        .logoBesar-img {width: 80px;}
        .fotoKecil-img {width: 150px;}
        .fotoBesar-img {width: 200px;}
    }


/*ikon mata buka tutup unyuk password*/
/* CSS */
.password-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px; /* ubah sesuai kebutuhan */
  margin: 0;
}

/* style input agar ada ruang untuk ikon di kanan */
.password-wrapper input {
  width: 100%;
  padding: 10px 44px 10px 12px; /* kanan lebih besar untuk ikon */
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  box-sizing: border-box;
}

/* fokus input */
.password-wrapper input:focus {
  border-color: #356cb8;
  box-shadow: 0 0 0 3px rgba(53,108,184,0.12);
}

/* lihat dan sembunyikan password */
.toggle-text {
  color: #000c5d;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  box-sizing: border-box;
}

.error-message, .success-message {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    margin: auto;
    }
        .error-message {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .success-message {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
 
