html,
body {
    min-height: 100%;
}
body {
    font-family: "Helvetica", arial, sans-serif;
    background-color: #3d4241;
    font-size: 15px;
}

.bg {
    background-image: url("img/bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

p {
    margin-bottom: 5px;
    margin-top: 5px;
    line-height: 1.5em;
}

h3 {
    margin-top: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #aaa;
}

.a {
    color: #008cca;
    text-decoration: none;
    font-weight: bold;
}
.a:hover {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 5px;
}

.container {
    position: relative;
    max-width: 850px;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    background-color: none;
    overflow: hidden;
    padding: 10px;
}

.header {
    border: 1px solid #008cca;
    padding: 10px;
    margin: 5px;
    background: url("img/textures.png");
    background-color: #008cca;
}

.notif {
    border: none;
    padding: 2px;
    margin: 0px 10px;
    background-color: none;
    color: red;
    text-shadow: 2px 2px 6px #424242;
}

/* Main */
.left {
    width: 250px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 5px;
    float: left;
    box-shadow:
        0 10px 15px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.middle {
    width: 250px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 5px;
    float: left;
    box-shadow:
        0 10px 15px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.left img {
    max-width: 100%;
    height: auto;
    display: block;
}

.address {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 5px;
    box-shadow:
        0 10px 15px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);

    clear: both;
    padding: 10px;
    margin: 5px;
    text-align: center;
}

.right {
    width: 250px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 5px;
    float: left;
    box-shadow:
        0 10px 15px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.footer {
    clear: both;
    padding: 10px;
    margin: 5px;
    text-align: center;
}
.footer i {
    color: #ffffff;
    text-shadow: 2px 2px 6px #424242;
}
.footer a {
    color: #ffffff;
    text-shadow: 2px 2px 6px #424242;
}

.status {
    position: relative;
    background-color: rgba(255, 255, 255, 0.7);
    color: black;
    padding-top: 10px;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    width: 400px;
    box-shadow:
        0 10px 15px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

textarea,
input,
select {
    background-color: #fdfbfb;
    border: 1px solid #008cca;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    margin: 1px;
    text-align: left;
    font-size: 16px;
    color: #000000;
    outline: none;
    width: 90%;
    height: 30px;
}
.full-width-input {
    width: 100%;
    height: 35px;
    box-sizing: border-box;
}

.buttona {
    background-color: #008cca;
    border: 1px solid #008cca;
    border-radius: 5px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 1px;
    height: 35px;
    width: 100%;
    cursor: pointer;
}
.buttona:hover {
    box-shadow:
        0 10px 15px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.buttonb {
    background-color: #dd2c00;
    border: 1px solid #dd2c00;
    border-radius: 5px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 1px;
    cursor: pointer;
    height: 35px;
}
.buttonb:hover {
    box-shadow:
        0 10px 15px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Style the tab */
div.tab {
    overflow: hidden;
    background-color: #f1f1f1;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

/*Style the buttons inside the tab*/
.tab {
    display: flex;
    gap: 5px;
}

.tab button {
    flex: 1; /* tombol akan membagi ruang secara merata */
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 5px 5px;
    transition: 0.3s;
    font-weight: bold;
    height: 35px;
}

div.tab button:hover {
    background-color: #ddd;
}

div.tab button.active {
    background-color: #008cca;
    color: #ffffff;
}

.tabcontent {
    display: none;
    border-top: none;
}

table.tstatus {
    background: #ffffff;
    width: 90%;
    height: 100px;
    color: black;
    border-collapse: collapse;
}

table.tstatus tr:nth-of-type(odd) {
    background: #f1f1f1;
}
table.tstatus td {
    padding: 5px;
    border: 1px solid #ccc;
}

table.tpaketwifi {
    border-collapse: collapse;
    background-color: #ffffff;
}

table.tpaketwifi td {
    border: 1px solid #ccc;
    padding: 5px;
}

table.tpaketwifi tr:first-child {
    background: #008cca;
    font-weight: bold;
    color: #ffffff;
}
table.tpaketwifi tr:nth-child(even) {
    background-color: #f1f1f1;
}

.modal-window {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.15);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    border-radius: 5px;
}

.modal-window:target {
    opacity: 1;
    pointer-events: auto;
}

.modal-window > div {
    width: 300px;
    position: relative;
    margin: 10% auto;
    padding: 1rem;
    background: #3d4241;
    color: #ffffff;
    border-radius: 5px;
}

.modal-window header {
    font-weight: bold;
}

.modal-close {
    color: #ffffff;
    line-height: 25px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px;
    text-decoration: none;
    background-color: red;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.modal-window h1 {
    font-size: 150%;
    margin: 0 0 15px;
}

/* layar 850px kebawah */
@media screen and (max-width: 850px) {
    .container {
        width: 90%;
    }
    /* .left {
    width: 43%;
  }
  .middle {
    width: 43%;
    float: right;
  } */

    /* .right {
    clear: both;
    padding: 1% 4%;
    height: auto;
    width: auto;
    float: none;
  } */
    .status {
        width: 90%;
        float: none;
    }
}

/*  layar 600px kebawah */
@media screen and (max-width: 600px) {
    .container {
        width: 90%;
    }
    .footer {
        text-align: center;
    }
    .left {
        height: auto;
        width: auto;
        float: none;
    }

    .middle {
        height: auto;
        width: auto;
        float: none;
    }

    .right {
        height: auto;
        width: auto;
        float: none;
    }

    .status {
        width: 90%;
        float: none;
    }
}
.evoucher-list {
    padding: 0 0 10px 0;
}

/* Accordion */
.accordion {
    background-color: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    padding: 16px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 14px;
    transition: 0.3s ease;
    border-radius: 8px;
    margin-bottom: -8px;
    margin-top: 15px;
    font-weight: bold;
}

.accordion:hover,
.accordion.active {
    margin-bottom: -5px;
    background-color: var(--primary-hover);
}

/* Panel */
.panel {
    padding: 0 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-left: 2px solid var(--primary-hover);
    border-right: 2px solid var(--primary-hover);
    border-bottom: 2px solid var(--primary-hover);
    border-radius: 0 0 8px 8px;
}

/* Voucher Card */
.voucher-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    margin-bottom: 8px;
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 2px 6px var(--shadow-color);
}

.info {
    color: var(--text-dark);
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    margin-bottom: -5px;
    margin-top: -5px;
    width: auto;
}

.voucher-info {
    flex-grow: 1;
}

.voucher-title {
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.voucher-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.voucher-list li {
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-default);
}

.voucher-action {
    text-align: center;
}

.btn-buy {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s ease;
    font-weight: bold;
}

.btn-buy:hover {
    background-color: var(--primary-hover);
}

:root {
    --primary-color: #008cca;
    --primary-hover: #249fd8;
    --white-color: #fff;
    --text-dark: #3e4d59;
    --text-default: #333;
    --shadow-color: rgba(0, 0, 0, 0.1);
}
