body {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #aab8c5;
    background-color: #18191F;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

a {
    color: #02c0ce;
}

a:hover, a:focus {
    color: #02aeba;
}

a, a:hover, a:focus {
    text-decoration: none;
}

[class^="error-"] {
    font-style: italic;
}

.text-success {
    color: #00af80;
}

.text-danger {
    color: #e74c3c;
}

.text-info {
    color: #8FD6EC;
}

hr {
    border-top: 1px dashed #37394d;
}

button {
    background-color: transparent;
}

.btn {
    font-weight: 500;
    border-radius: 0;
}

.btn:active, .btn.active {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-img img {
    height: 21px;
    width: 21px;
}

.btn-link:hover, .btn-link:focus {
    text-decoration: none;
}

.btn-success, .btn-success.disabled {
    background: #02c0ce;
    border: 1px solid #02c0ce;
}

.btn-success.disabled.focus, .btn-success.disabled:focus, .btn-success.disabled:hover, .btn-success.focus, .btn-success:focus, .btn-success:hover, .btn-success:active:focus, .btn-success:active:hover {
    background: #02aeba;
    border: 1px solid #02aeba;
}

.btn-link:hover, .btn-link:focus {
    color: #02aeba;
    text-decoration: none;
}

.btn-link {
    color: #02c0ce;
}

.input-group .btn {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 13px;
}

.form-control {
    padding: 10px 15px;
    height: 41px;
    font-size: 13px;
    color: #f5f5f5;
    border: 1px solid #323d4b;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}

.form-control:focus {
    border-color: #323d4b;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-group label {
    font-weight: 500;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: transparent;
}

.pagination > li > a,
.pagination > li > span {
    border: none;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-radius: 0;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    background-color: #20222a;
    border-color: #20222a;
    color: #aab8c5;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #02c0ce;
    border-color: #02c0ce;
}

.pagination > li > a, .pagination > li > span {
    background-color: transparent;
    color: #02c0ce;
    ;
}

.table > thead > tr {
    border-bottom: 1px dashed #37394d;
}

.table > thead > tr > th,
.table > thead > tr > td {
    border-bottom: none;
    white-space: nowrap;
    font-weight: 500;
    background-color: #1e1f27;
}

.table > tbody > tr > th,
.table > tbody > tr > td {
    font-size: 14px;
}

.table > tbody > tr:nth-child(2n+1) {
    background: #20222a;
}

.table > tbody > tr {
    background: #1e1f27;
    border-bottom: 1px solid #252630;
    -webkit-transition: background .17s ease-in-out;
    transition: background .17s ease-in-out;
}

.table > tbody > tr:hover {
    background: #2a2c36;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    vertical-align: middle;
    border-top: none;
}

.table .col-description {
    width: 100%;
    max-width: 50%;
}

@media screen and (max-width: 767px) {
    .table-responsive {
        border: none;
    }
}

.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 64px;
    background-color: #1E1F27;
    box-shadow: 0px 0px 35px 0px rgba(26, 27, 34, .5);
    z-index: 10;
}

.menu-toggle {
    margin-top: 10px;
    margin-bottom: 10px;
}

.navigation ul {
    margin-top: 10px;
}

.navigation ul li {
    white-space: nowrap;
}

.navigation ul > li > a {
    display: inline-block;
    height: 34px;
    line-height: 34px;
    font-weight: 500;
    text-transform: capitalize;
    transition: color .15s ease-out;
}

.navigation > ul > li > a {
    display: inline-block;
    height: 34px;
    line-height: 34px;
    font-weight: 500;
    text-transform: capitalize;
    transition: color .15s ease-out;
}

.responsive-toggle {
    display: none;
    position: fixed;
    top: 54px;
    left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: #fff;
    z-index: 11;
}

.responsive-navigation,
.responsive-side {
    display: none;
}

.content {
    margin-top: 95px;
}

.box {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #1D222B;
    overflow: hidden;
    box-shadow: 0px 0px 35px 0px rgba(26, 27, 34, .5)
}

.box-title {
    margin: 0 0 12px;
    text-transform: capitalize;
    font-size: 14px;
    color: #FFD700;
}

.vertical-list {
    margin-bottom: 0px;
    border: 1px solid #565656;
    padding: 7px 12px;
    margin: 15px auto;
    max-height: 210px;
    overflow-y: scroll;
}

/* flatpickr start */
.flatpickr-calendar {
    width: 337.875px;
    padding: 10px 15px;
    border-radius: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.flatpickr-current-month span.cur-month {
    font-weight: 400;
}

.flatpickr-current-month {
    font-size: 14px;
}

span.flatpickr-weekday {
    font-size: 13px;
    font-weight: 400;
    background: transparent;
    color: #000;
}

.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time {
    border-top: none;
}
/* flatpickr end */
#navigation-toggle {
    background-color: #1E1F27;
}

.dropdown-menu {
    font-size: inherit;
    background-color: #2a2c36;
    border-radius: 0;
}

.dropdown-menu .divider {
    background-color: #323d4b;
    margin: 3px 0;
}

.dropdown-menu > li > a {
    line-height: 28px !important;
    display: block !important;
    color: #02c0ce;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #02aeba;
    text-decoration: none;
    background-color: #20222a;
}

@media screen and (max-width: 991px) {
    .dropdown-menu {
        position: relative;
        float: none;
        margin-left: 10px;
        box-shadow: none;
    }

    .dropdown-menu > li > a {
        display: inline-block;
    }

    .dropdown-backdrop {
        display: none;
    }
}

#visitor_log,
#click_log {
    padding: 20px;
}

.welcome-title {
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 300;
}

.brand-title {
    height: 34px;
    line-height: 34px;
    font-size: 15px;
    color: #fff !important;
}

.strong {
    font-weight: 600;
}

.canvas-wrapper {
    width: 100%;
    height: 300px;
    margin: 20px 0;
}

#frog {
    position: fixed;      /* stays in place when scrolling */
    bottom: 20px;         /* distance from bottom */
    left: 20px;           /* distance from left */
    z-index: 9999;        /* on top of everything */
    cursor: pointer;      /* optional: makes it feel interactive */
    width: 32px;
    height: 32px;
}

/* Optional: simple hopping animation */
@keyframes hop {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

#frog.hop {
    animation: hop 1s infinite;
}

.holiday-events {
    position: fixed;      /* stays in place when scrolling */
    bottom: 20px;         /* distance from bottom */
    left: 72px;           /* distance from left */
    width: 80px;          /* adjust size as needed */
    z-index: 9999;        /* on top of everything */
    cursor: pointer;      /* optional: makes it feel interactive */
    width: 48px;
    height: 48px;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-content {
    background-color: #20222a;
    border: none;
    border-radius: 0;
    box-shadow: 0px 0px 35px 0px rgba(26, 27, 34, .5);
    -webkit-box-shadow: 0px 0px 35px 0px rgba(26, 27, 34, .5);
}

.modal-footer {
    text-align: center;
    border-top: none;
    padding-top: 0;
}

.dropdown-section {
    background: #1D222B;
    border-radius: 0 !important;
}

.form-control,
.form-control *,
select,
select * {
    border-radius: 0 !important;
}

/* -------- Chat wrapper -------- */
#chat {
    display: flex;
    justify-content: center;
}

#messenger-container {
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* -------- Messages area -------- */
#chat-container {
    display: flex;
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #2A2C36;
}

/* -------- Input area -------- */
#input-container {
    padding: 10px;
}

#input-field {
    width: 100%;
    resize: none;
    font-size: 14px;
    line-height: 1.4;
    max-height: 120px;
    outline: none;
}

/* -------- Message bubbles -------- */

/* Message container */
.message {
    display: flex;
    flex-direction: column;
    margin: 5px 10px;
    max-width: 100%;
    width: fit-content;
    min-width: 120px; /* optional, to avoid too tiny bubbles */
}

/* Alignment */
.message.from {
    align-self: flex-start;
    margin-right: 40px;
}

.message.to {
    align-self: flex-end;
    margin-left: 40px;
}

/* Message header: name  */
.message-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 3px;
    font-size: 11px;
}

.message.from .message-header {
    text-align: left;
}

.message.to .message-header {
    text-align: right;
}

/* Message footer: date */
.message-footer {
    display: flex;
    justify-content: flex-end;  /* always align to right */
    margin-bottom: 3px;
    font-size: 11px;
}

.message.from .message-footer {
    text-align: left;
}

.message.to .message-footer {
    text-align: right;
}

/* Sender name bold */
.sender-name {
    font-weight: 600;
}

/* Message bubble */
.message-text {
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Different colors for sender and receiver */
.message.from .message-text {
    background-color: #ffffff;
    color: #314351;
    border-radius: 15px 15px 15px 0;
}

.message.to .message-text {
    background-color: #69B980;
    color: #fff;
    border-radius: 15px 15px 0 15px;
}


/* -------- Scrollbar (optional) -------- */
#chat-container::-webkit-scrollbar {
    width: 6px;
}

#chat-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.badge-danger {
    color: #fff;
    background-color: #e74c3c;
}