/* public/styles.css */
@import url('https://fonts.googleapis.com/css2?family="Roboto", sans-serif:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body {
    font-family: "Roboto", sans-serif;
    max-width: 600px;
    text-align: center;
    margin: auto;
    background-color: #efeef1;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    justify-content: flex-start;
    color: #6c6c6c;
}
.app-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
button {
    margin: 20px 0px 10px 0px;
    padding: 15px 20px;
    line-height: 1;
    background: #9146ff;
    border-radius: 4px;
    width: 100%;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    border: 1px solid #9146ff;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 900;
}
button:hover {
    background: #9146ff;
}
button:disabled {
    opacity: 0.5;
}
.auth-container {
    background: #fff;
    padding: 40px;
    border: 1px solid #eaeaea;
    margin-bottom: 20px;
}
p.copyrights {
    margin-bottom: 0;
    font-size: 12px;
    margin-top: 0;
    line-height: 1.5;
    color: #6c6c6c;
}
p.copyrights a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
    color: #6c6c6c;
}
.auth-container h1 {
    letter-spacing: -1px;
    font-size: 1.75rem;
    font-family: "Roboto", sans-serif;
    color: #9146ff;
    margin: 20px 0px 20px 0px;
    line-height: 1;
}
.auth-container p {
    font-size: 14px;
    color: #6c6c6c;
    line-height: 1;
    margin: 0;
}
.auth-container h4 {
    font-size: 16px;
    color: #9146ff;
    font-family: "Roboto", sans-serif;
    margin: 0px 0px 5px 0px;
    text-transform: capitalize;
}
.auth-container hr {
    border-color: #eaeaea;
    margin: 30px 0 25px 0;
    border-style: solid;
}
.text-help .text-help-warn i {
    color: #9146ff;
    padding-right: 5px;
}
.text-help-warn {
    color: #9146ff;
    font-family: "Roboto", sans-serif;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 900;
}
.text-help {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    line-height: 1.2;
    background: #f4f4f4;
    padding: 15px 30px 20px 30px;
    border: 1px dashed #b7b7b7;
}
.text-help strong {
    font-family: "Roboto", sans-serif;
}
.copyrights strong {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
}
.powered-by {
    font-size: 13px;
}
.footer-auth {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* DASHBOARD */

body.dashboard {
    font-family: "Roboto", sans-serif;
    margin: auto;
    text-align: left;
    color: #e2e2e2;
    max-width: 100%;
    display: block;
    background-color: #292929;
}
img.tubbo-avatar {
    width: 350px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: -1;
}
header {
    width: 100%;
}
.header-wrapper {
    padding: 15px 40px;
    text-align: left;
    background: #ffffff;
    border-bottom: 2px solid #9146ff;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}
img.header-logo {
    width: 200px;
}
.logout {
    width: 40px;
    height: 40px;
    text-align: center;
    background: #9146ff;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logout a i {
    color: #fff;
}
.logout a {
    line-height: 2;
}
.page-content {
    padding: 20px 40px;
    max-width: 1400px;
    margin: auto;
}
.page-content-header h1 {
    margin-top: 0;
    font-family: "Roboto", sans-serif;
    letter-spacing: -1px;
    color: #e2e2e2;
}
.dashboard-panel {
    background: #1e1e1e;
    padding: 20px;
    margin: 10px;
}
.panel-heading {
    font-family: "Roboto", sans-serif;
    color: #bb86fc;
    font-size: 20px;
    letter-spacing: -0.5px;
    border-bottom: 2px solid #bb86fc;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}
.panel-heading-title {
    width: 100%;
}
.bot-control-buttons {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.bot-control-buttons button {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    margin: 0;
}
.bot-control-buttons button img {
    width: 25px;
    margin-right: 10px;
}
button .btn-dash-active {
    box-shadow: 0px 0px 25px inset #e2e2e2a3;
    background: #552995;
    color: #ffffff59;
}
button .btn-dash-active img {
    opacity: 0.6;
}
.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}
.column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 2
}
.dashboard-panel.alerts {
    width: auto;
}
.dashboard-panel.giveaways {
    width: auto;
    height: fit-content;
    padding: 20px;
}
.dashboard-panel.urls {
    width: auto;
    max-height: 600px;
    overflow: scroll;
    padding: 20px 20px 40px 20px;
}
form#giveaway-form label {
    font-family: "Roboto", sans-serif;
    line-height: 1;
    margin-top: 10px;
    font-weight: 600;
}
.helper-text {
    line-height: 1;
    margin-bottom: 10px;
}
form#giveaway-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
form#giveaway-form input {
    height: 30px;
    padding: 5px 20px;
    border: 1px solid #d6d6d6;
}
form#giveaway-form  .helper-text {
    font-size: 13px;
}
table#gifting-table {
    width: 100%;
}
table#gifting-table thead {
    background: #9146ff;
    color: #fff;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    font-size: 14px;
}
table#gifting-table th {
    padding: 10px;
    font-size: 14px !important;
}
table#gifting-table td {
    padding: 0px 10px !important;
    font-size: 12px !important;
}
div#gifting-table_wrapper {
    background: #292929;
    padding: 10px;
}
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: #e2e2e2 !important;
    font-size: 12px !important;
}
table#gifting-table {
    padding-top: 20px;
    padding-bottom: 20px;
}
table.dataTable.stripe tbody tr.even, table.dataTable.display tbody tr.even {
    background: #1d1d1d !important;
}
table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
    background: #292929 !important;
}
table.dataTable.display tbody tr.odd>.sorting_1, table.dataTable.order-column.stripe tbody tr.odd>.sorting_1,table.dataTable.display tbody tr.even>.sorting_1, table.dataTable.order-column.stripe tbody tr.even>.sorting_1 {
    background: #9146ff45 !important;   
}
.dataTables_wrapper .dataTables_length select, .dataTables_wrapper .dataTables_filter input {
    background: #fff;
    color: #000;
    margin: 0px 5px;
}
table.dataTable.display>tbody>tr>* {
    border-top: 1px solid #434343;
}
span.status-icon[data-status="DELIVERED"] {
    background: #9146ffad;
    border: 1.5px solid #9146ff33;
    padding: 5px 10px;
    color: #fff;
    border-radius: 50px;
    display: block;
    text-align: center;
}
span.status-icon[data-status="READY"] {
    background-color: #46e372ad;
    border: 1.5px solid #46e37233;
    padding: 5px 10px;
    color: #fff;
    border-radius: 50px;
    display: block;
    text-align: center;
}
span.status-icon[data-status="VIEWED"] {
    background: #8d8d8dad;
    border: 1.5px solid #8d8d8d33;
    padding: 5px 10px;
    color: #fff;
    border-radius: 50px;
    display: block;
    text-align: center;
}
span.status-icon[data-status="RUNNING"] {
    background: #ffbf00ad;
    border: 1.5px solid #ffbf0033;
    padding: 5px 10px;
    color: #fff;
    border-radius: 50px;
    display: block;
    text-align: center;
}
span.status-icon i {
    color: #fff;
}
table a {
    color: #e2e2e2;
}
table a:hover {
    color: #e2e2e2;
}
tbody tr td:nth-of-type(4) {
    font-family: "Roboto", sans-serif;
    color: #e2e2e2;
    font-weight: 900;
}
tbody tr td:nth-of-type(5) {
    text-align: center;
}
.status-pill {
    padding: 4px 8px;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}
.status-icon {
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 600;
}
button#check-emails-btn, button#download-winnings-btn {
    width: auto;
    padding: 10px;
    font-size: 14px;
    margin: 0;
}
button#check-emails-btn {
    margin-right: 5px;
}
.alerts-box {
    padding: 10px;
    margin-top: 10px;
    max-height: 200px;
    overflow: hidden;
    position: relative;
}
#alertsBox {
    padding: 10px;
    background: #323232;
    border: none !important;
    height: 40px;
    overflow: hidden;
    box-shadow: 0px 0px 40px inset #1e1e1e;
}
/* Animation for fade in and scrolling from bottom to top */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(100px); /* Start from below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Move to the original position */
    }
}

@keyframes fadeOutUp {
    0% {
        opacity: 1;
        transform: translateY(0); /* Original position */
    }
    100% {
        opacity: 0;
        transform: translateY(-50px); /* Move above and fade out */
    }
}
/* Class for alerts */
.alert {
    color: #51ff00;
    margin-top: 0;
    animation: fadeInUp 1s ease forwards;
    position: relative;
    font-family: "Roboto", sans-serif;
    height: 40px;
    list-style-type: none;
    font-size: 12px;
    line-height: 3.5;
    text-transform: uppercase;
}
.alert-error {
    color: #ff0019;  /* Dark red text color */
    margin-top: 0;
    animation: fadeInUp 1s ease forwards;
    position: relative;
    font-family: "Roboto", sans-serif;
    height: 40px;
    list-style-type: none;
    font-size: 12px;
    line-height: 3.5;
    text-transform: uppercase;
}
ul#alerts-box {overflow: hidden;}

/* When the alert is about to be removed */
.alert.fade-out {
    animation: fadeOutUp 1s ease forwards; /* Apply fade out animation */
}
ul#alerts-box {
    margin: 0;
    padding-left: 20px;
}

@media (max-width:899px) {
    .page-panels-wrapper {
        flex-wrap: wrap;
    }
    .bot-control-buttons {
        flex-wrap: nowrap;
    }
}