/* Alert Styles */
.alert.alert-success {
    background: rgb(9 255 0 / 56%);
    border: 2px solid white;
    padding: 0.5rem;
    font-size: medium;
    transform: skew(-10deg);
    text-align: center;
    font-weight: 800;
    color: white;
}

.alert.alert-danger {
    background: rgb(212 0 0 / 50%);
    border: 2px solid white;
    padding: 0.5rem;
    font-size: medium;
    transform: skew(-10deg);
    text-align: center;
    font-weight: 800;
    color: white;
}

.alert.alert-primary {
    background: rgba(0, 102, 255, 0.719);
    border: 2px solid white;
    padding: 0.5rem;
    font-size: medium;
    transform: skew(-10deg);
    text-align: center;
    font-weight: 800;
    color: white;
}

/* Main Content */
.main-content h1 {
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 2px 2px 5px #000000;
}

.main-content p {
    color: white;
    font-weight: 400;
    text-transform: capitalize;
    text-shadow: 1px 1px 5px #000000;
}

/* Form Event Section */
.form-event {
    padding: 0.5rem 1rem;
    text-align: center;
    justify-content: center;
}

.form-event h1 {
    margin: 0;
    padding: 0.4rem 0;
    color: #F9EBA6;
    font-weight: 800;
    text-align: center;
    font-size: 32px;
    text-transform: uppercase;
    box-shadow: 0 0 30px #000000;
    text-shadow: 2px 2px 1px #b90907;
    border-top: 2px solid #F9EBA6;
    border-bottom: 2px solid #F9EBA6;
    background: linear-gradient(to right, maroon, #e10000, maroon);
}

.form-event marquee {
    width: 100%;
    padding: 0;
    margin-top: 0.1rem;
    color: #F9EBA6;
    font-weight: 600;
}

/* Form Empty Event Section */
.form-close {
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    text-align: center;
    justify-content: center;
}

.form-close h1 {
    margin: 0;
    padding: 0.4rem 0;
    color: #E38B07;
    font-weight: 800;
    text-align: center;
    transform: skew(-10deg);
    text-transform: uppercase;
    box-shadow: 0 0 30px #000000;
    text-shadow: 2px 2px 1px #b90907;
    border-top: 2px solid #F9EBA6;
    border-bottom: 2px solid #F9EBA6;
    background: linear-gradient(45deg, #000000, #4e0000, #000000);
}

.perPageFormClaim {
    margin: 10px 0;
    text-align: right;
    justify-content: end;
}

.perPageFormClaim label {
    color: white;
}

/* DATA BONUS CLAIM */
.main-content.data-table table {
    margin-top: auto;
    margin-bottom: auto;
}

.main-content.data-table h1 {
    text-align: center;
    margin-top: auto;
    color: #E38B07;
    margin-bottom: auto;
    font-weight: 800;
    text-align: center;
    font-style: italic;
    text-transform: uppercase;
    text-shadow: rgb(255, 0, 0) 2px 2px 1px;
}

.main-content.data-table span {
    color: #F9EBA6;
}

.main-content.data-table .table th {
    background: linear-gradient(to bottom, maroon, red, maroon);
    color: white;
    border: 1px solid #F9EBA6;
    text-align: center;
    text-shadow: 1px 1px 5px #000000;
}

.main-content.data-table .table td {
    background: linear-gradient(to right, rgb(149 149 149), #dddddd, rgb(149 149 149));
    color: #000000;
    text-align: center;
    border: 1px solid #F9EBA6;
    font-weight: 600;
}

/* Blinking Text */
@keyframes blinker {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

@-webkit-keyframes blinker {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

.blink {
    text-decoration: blink;
    animation-name: blinker;
    -webkit-animation-name: blinker;
    animation-duration: 0.8s;
    -webkit-animation-duration: 0.8s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    animation-direction: alternate;
    -webkit-animation-direction: alternate;
}

/* Banner */
.banner-event {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    border: 2px groove #F9EBA6;
    box-shadow: 0 0 10px #000000;
}

/* Error Access */
.error-access button {
    background: linear-gradient(80deg, transparent, #E38B07, transparent);
    margin-top: 2rem;
    color: white;
    font-size: x-large;
    font-weight: 700;
    width: 100%;
    text-shadow: 1px 1px 3px #000000;
    text-transform: uppercase;
}

.error-access button:hover {
    color: white;
}

/* Form Group */
.form-group {
    padding: 0.5rem 0;
}

.form-label {
    width: 100%;
    color: white;
    font-weight: 600;
    font-size: medium;
    text-align: center;
    text-transform: uppercase;
}

.form-control,
.form-select.member-form {
    color: #590006 !important;
    width: 100%;
    height: 40px;
    border: 2px solid #E38B07 !important;
    color: #000000;
    font-weight: 600;
    transform: skew(-10deg);
    background-color: #fff4bd;
    outline: none;
}

.form-control:focus {
    color: #590006 !important;
    width: 100%;
    height: 40px;
    border: 2px solid #E38B07 !important;
    color: #000000;
    font-weight: 600;
    transform: skew(-10deg);
    background-color: #fff4bd;
    outline: none;
}

.event-periode {
    margin: 10px 0 20px 0;
}

.event-periode .col-md-4 {
    margin: 0;
    padding: 0;
}

.event-periode .col {
    padding: 0 5px;
}

.event-periode .form-select {
    width: 100%;
    font-size: 15px;
    color: #b90907;
    font-weight: 600;
    padding: 4px 10px;
    text-align: center;
}

.event-periode .form-select option {
    background: rgb(122, 0, 0);
    color: #F9EBA6;
}

.event-periode .btn-search,
.event-periode .btn-reset {
    width: 100%;
    border: 2px groove #F9EBA6;
    background: linear-gradient(to right, maroon, red, maroon);
    color: #F9EBA6;
    font-weight: 600;
    text-shadow: 1px 1px 5px #000000;
    padding: 4px 10px;
    font-size: 15px;
    text-align: center;
    border-radius: 1cm;
}

/* Button */
.btn.claim-freechip {
    width: 100%;
    padding: 0.5rem 1rem;
    margin: 2rem 0;
    font-size: medium;
    font-weight: 800;
    text-align: center;
    color: #F9EBA6;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px #000000;
    background: linear-gradient(to bottom, rgb(255, 0, 0), #810000);
    border: 2px solid #F9EBA6;
    border-radius: 0.5rem;
    transform: skew(-10deg);
    box-shadow:
        inset 7px 7px 10px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 165, 0, 0.5);
}

.btn.claim-freechip:hover {
    background: linear-gradient(to bottom, rgb(255, 0, 0), #810000);
    color: white;
    text-shadow: 2px 2px 4px #000000;
    border: 2px solid #E38B07;
}

/* Event Term */
.event-term {
    width: 100%;
    padding: 0 0 3rem 0;
    margin-bottom: 3rem;
    text-align: end;
    color: #b90907;
    font-size: 14px;
    font-weight: 700;
    border-radius: 1rem;
}

.event-term:hover {
    color: #b90907;
}

/* Modal */
#termEvent {
    position: absolute;
}

.modal {
    z-index: 9999 !important;
}

.modal-backdrop {
    z-index: 9998 !important;
}

body.modal-open {
    overflow: hidden !important;
}

.btn.data-table {
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100%;
    outline: none;
    padding: .8rem 1rem;
    margin: 2rem 0;
    z-index: 0;
    font-size: medium;
    font-weight: 800;
    text-align: center;
    color: white;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px #000000;
    border-radius: 0.5rem;
    box-shadow: inset 7px 7px 10px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 165, 0, 0.5);
}

.btn.data-table:hover {
    color: #ffff;
}

.btn.data-table:before {
    content: "";
    background: linear-gradient(45deg,
            #b90907,
            #ff7300,
            #fffb00,
            #48ff00,
            #00ffd5,
            #002bff,
            #7a00ff,
            #ff00c8,
            #b90907);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing-data-table 10s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

@keyframes glowing-data-table {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.btn.data-table:after {
    z-index: -1;
    left: 0;
    top: 0;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    color: #F9EBA6;
    border-radius: 10px;
    border: 2px solid rgb(255, 187, 0);
    background: linear-gradient(to bottom, rgb(255, 0, 0), #810000);
}

.btn.data-table button {
    color: maroon;
    text-align: center;
}

.accordion {
    border-radius: 0.5rem;
    background: #F9EBA6;
}

.accordion-header {
    padding: 0;
    margin: 0;
}

.accordion-button {
    display: flow-root;
    justify-content: center;
    text-align: center;
    padding: 0.6rem;
    margin: 0;
    background: linear-gradient(to bottom, #590006, rgb(255, 0, 0), #590006);
    color: #F9EBA6;
    font-size: medium;
    font-weight: 700;
}

.accordion-button:not(.collapsed) {
    color: #F9EBA6;
    text-shadow: 1px 1px 1px #000000;
    border-radius: 0 0 10rem 10rem;
}

.accordion-body {
    padding: 0.4rem;
    margin: 0.4rem;
    font-size: medium;
    text-align: justify;
}

.accordion-item {
    background: url('https: //blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7Pw5DJJ5nEUIEp6sAUw5wMSYSK7nbkkKUvImu8lI7Fo6xCkHU9cyyNHYaxk3itcp6yaIYCoXhVXBvdh1rAOJnwk2r7Asr0Ie0_htq9NUetESvqCYAUHDgHmMjfXWvxl9G4cnuEkRw88urpLE2ykuzx2w1xGAXJuzRuOgrl_lLP7sRwg8tVH7GNp-UzoNy/s16000-rw/test%20copy.png');
    background-position: center;
    background-size: 100%;
    border: 2px solid #F9EBA6;
    color: white;
}

/* Article Content */
.article-content {
    padding: 1rem 3rem;
}

.article-content h1,
.article-content h2 {
    padding: 1rem 0;
    color: #B90907;
    font-weight: 700;
    text-align: center !important;
    text-transform: uppercase;
    text-shadow: 1px 2px #590006;
}

.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    padding: 1rem 0;
    color: #B90907;
    font-weight: 600;
    text-transform: capitalize;
}

.article-content p,
.article-content ol,
.article-content ul,
.article-content li {
    color: #000000;
    text-align: justify;
    font-weight: 500;
    font-style: italic;
    margin-bottom: .5rem;
}

/* SweetAlert2 */
.swal2-popup.swal2-modal {
    background-color: #000000;
    color: white;
    border: 5px solid #E38B07#b90907;
    border-radius: 2rem;
}

.swal2-icon.swal2-error.swal2-icon-show {
    border-color: #b90907;
    color: #b90907;
}

.swal2-popup.swal2-modal.swal2-icon-success.swal2-show {
    background-color: #000000;
    color: white;
    border: 5px solid rgb(21, 255, 0);
    border-radius: 2rem;
}

.swal2-popup.swal2-modal.swal2-icon-error.swal2-show {
    background-color: #000000;
    color: white;
    border: 5px solid #b90907;
    border-radius: 2rem;
}

div:where(.swal2-icon).swal2-success .swal2-success-ring {
    border: .25em solid rgb(21, 255, 0) !important;
}

div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line] {
    background-color: red !important;
}

div:where(.swal2-icon).swal2-success [class^=swal2-success-line] {
    background: rgb(21, 255, 0) !important;
}

.swal2-confirm.swal2-styled {
    border: 2px solid white;
    border-radius: 1cm;
    color: white;
    font-weight: 700;
    width: 100%;
    background: #000000;
    padding: .5rem 5rem;
}

.gif-merdeka {
    position: fixed;
    left: 1.5em;
    top: 22em;
    z-index: -1;
    width: 350px;
    filter: drop-shadow(0px 0px 6px #E38B07);
}

.gif-merdeka img,
.gif-merdeka-1 img {
    width: 250px;
    height: 250px;
}

.gif-merdeka-1 {
    position: fixed;
    right: -4.5em;
    top: 22em;
    z-index: -1;
    width: 350px;
    filter: drop-shadow(0px 0px 6px #E38B07);
}

.paginate.paginate-datatable {
    margin: 20px 0;
}

.paginate.paginate-datatable .page-item .page-link {
    background: linear-gradient(to bottom, maroon, red, maroon);
    text-decoration: none;
    border: 1px solid #F9EBA6;
    color: white;
    font-weight: 600;
    font-size: small;
}

.paginate.paginate-datatable .page-item.active .page-link {
    color: #590006;
    background: linear-gradient(to bottom, gray, white, gray)!important;
}

.paginate.paginate-datatable p {
    color: #ffffff!important;
}

.paginate.paginate-datatable .fw-semibold {
    color: yellow;
}

/* Responsive */
@media screen and (max-width: 480px) {
    .form-event {
        margin: 1rem 0;
        padding: 0;
        text-align: center;
        justify-content: center;
    }

    .form-event h1 {
        font-size: 21px;
    }

    .btn.data-table {
        margin: 10px 0 0 0;
    }

    .banner-event {
        transform: none;
    }

    .event-periode {
        margin: 10px 0;
    }

    .event-periode .btn-search,
    .event-periode .btn-reset,
    .event-periode .form-select {
        margin: 0;
    }

    .event-periode .col {
        padding: 0 3px;
    }

    .event-periode .form-select {
        margin: 5px 0;
        font-size: 14px;
    }

    .event-periode .btn-search,
    .event-periode .btn-reset {
        margin: 5px 0;
        font-size: 14px;
    }

    .main-content.data-table .col-md-8 {
        max-height: 640px;
    }

    .main-content.data-table .table th {
        font-size: 14px;
        line-height: normal;
    }

    .main-content.data-table .table td {
        font-size: 12px;
        line-height: normal;
    }

    .form-close {
        width: 100%;
    }

    .form-close h1 {
        font-size: x-large;
    }

    .main-content p,
    .form-label,
    .btn.claim-freechip {
        font-size: 14px;
    }

    .form-group {
        padding: 0.3rem 0;
    }

    .event-term {
        padding: 1rem 0;
        text-align: center;
    }

    .article-content {
        padding: 0 0.5rem;
    }

    .alert.alert-success,
    .alert.alert-danger,
    .alert.alert-warning,
    .alert.alert-info,
    .alert.alert-primary {
        border: 2px solid white;
        padding: 0.5rem;
        font-size: 14px;
        transform: skew(-10deg);
        text-align: center;
        font-weight: 800;
        color: white;
    }

    .alert.alert-success {
        background: rgb(9 255 0 / 56%) !important;
    }

    .alert.alert-danger {
        background: rgb(212 0 0 / 50%) !important;
    }

    .alert.alert-warning {
        background: rgba(247, 168, 0, 0.836) !important;
    }

    .alert.alert-primary {
        background: rgb(0 102 255 / 51%) !important;
    }

    .alert.alert-info {
        background: rgba(0, 0, 0, 0.51) !important;
    }

    .error-access button {
        font-size: medium;
    }

    .gif-merdeka,
    .gif-merdeka-1 {
        display: none;
    }
}