html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main.central_content {
    flex: 1 0 auto;
    padding-bottom: 20px;
}

footer {
    flex-shrink: 0;
}

/*navigations*/
.navbar-nav .nav-item a, .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #ffffff;
    text-transform: uppercase;
}
.bg-color-site {
    background-color: #000;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {

}
footer, footer ul li a {
    color: #cfcfcf !important;
}
.color-blue {
    color: #50aef1;
}
.border-grey-bottom {
    border-bottom: 1px solid #727272;
}
.logo_header {
    width: 150px;
    margin-right: 20px;
}
.profile-info .username {
    font-size:2em;
}
.profile-info .money {
    font-size: 2em;
}

/*Style page cart lot*/
/* Styl slider */
.form-range::-webkit-slider-thumb {
    background: #0d6efd;
}

.form-range::-moz-range-thumb {
    background: #0d6efd;
}

.form-range::-ms-thumb {
    background: #0d6efd;
}

/* Style pop-up */
#investModal .modal-dialog {
    max-width: 500px;
}

#investModal .modal-body {

}

.alert-error {
    background: #ffd5d5;
}
/*end Style page cart lot*/

/*****/
/* style lots */
.money a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: bold;
    font-size:2em;
}

.money a:hover {
    text-decoration: underline;
}

/* style tables */
.table {
    margin-top: 20px;
}

.table th {
    background-color: #f8f9fa;
}
/*****/

/* style history users */
.badge {
    font-size: 0.9em;
    padding: 5px 10px;
    border-radius: 4px;
}

.bg-success {
    background-color: #28a745;
}

.bg-warning {
    background-color: #ffc107;
}

.bg-info {
    background-color: #17a2b8;
}

.table-responsive {
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
a.btn.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}
/*****/

.badge-weekly {
    font-size: 1.1rem;
    padding: 0.35em 0.65em;
    border-radius: 0.25rem;
}

/* style moderations */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.badge-pending {
    background-color: #ffc107;
    color: #212529;
}

.img-proof {
    max-width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}
.cursor-pointer {
    cursor: pointer;
    transition: transform 0.2s;
}
.cursor-pointer:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
/*.modal-content {
    background-color: rgba(0,0,0,0.8);
}*/

/*style sponsor*/
.sponsor-info {
        background-color: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    .sponsor-username {
        font-weight: bold;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    .sponsor-phone, .sponsor-telegram {
        margin-bottom: 5px;
        display: flex;
        align-items: center;
    }
    .sponsor-phone i, .sponsor-telegram i {
        margin-right: 8px;
        font-size: 1.2rem;
    }
    .sponsor-telegram a {
        color: #007bff;
        text-decoration: none;
    }
    .sponsor-telegram a:hover {
        text-decoration: underline;
    }

/*style paginations*/
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.step-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.current {
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

/**/
.table-success {
    background-color: rgba(40, 167, 69, 0.1);
}
.table-danger {
    background-color: rgba(220, 53, 69, 0.1);
}

/**/
.table-sm {
    font-size: 0.9rem;
}
.table-sm th, .table-sm td {
    padding: 0.5rem;
}
.text-success {
    color: #28a745;
}

/*menu*/
.navbar-nav .akkaunt a, .navbar-nav .moderator a {
    background: #238ad5;
    border-radius: 5px;
    color: #000;
    margin: 0 5px;
}

/*carousel-index*/
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='0d6efd'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
}
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='0d6efd'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e");
}
.carousel-indicators [data-bs-target] {
    background-color: #0d6efd;
}
.carousel-control-next, .carousel-control-prev {
    width: 5%;
}
.hero-section {
    background: url("/static/images/oasis1.webp");
    background-size: cover;
}
.go-invest {
    background: url("/static/images/oasis2.webp");
    background-size: cover;
}
.how-it-works {
    background: url("/static/images/oasis3.webp");
    background-size: cover;
}
.how-it-works .header-1, .how-it-works .header-1 p {
    color:#fff !important;
}
/*icons colors*/
.icon-white {
    color: white;
    fill: white;
}
.bt-akkaunt {

}

/* style check apruvet */
.form-check {
    margin-bottom: 1rem;
    padding-left: 1.5em;
}

.form-check-input {
    margin-left: 0;
    margin-top: 0.2em;
}

.form-check-label a {
    text-decoration: underline;
    color: #0d6efd; /* color url Bootstrap */
}

.form-check-label a:hover {
    text-decoration: none;
}

/* lights checkbox */
.is-invalid ~ .form-check-label {
    color: #dc3545; /* Цвет ошибки Bootstrap */
}

.is-invalid ~ .form-check-label {
    color: #dc3545;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

.was-validated .form-check-input:invalid ~ .form-check-label {
    color: #dc3545;
}

/* style for popitok */
.text-info {
    color: #f00d0d !important;
}

.text-danger {
    color: #dc3545 !important;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
}

/* animations s4etchik */
.attempts-counter {
    transition: all 0.3s ease;
}

.attempts-warning {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
.navbar-toggler {
    background:#fff;
}

/* static/css/style.css */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-notice a {
    color: #4da6ff;
    text-decoration: underline;
}

.cookie-notice a:hover {
    color: #7ab8ff;
    text-decoration: none;
}

.cookie-notice .btn {
    margin-left: 10px;
}

#investForm h4 {
        margin-bottom: -15px;
    background-color: #d2f0ff;
    padding: 1px 7px;
}

/* style languages */
.language-switcher {
    display: inline-block;
    margin-left: 15px;
    float: left;
}

.language-switcher select {
    background-color: transparent;
    border: 1px solid #ddd;
    color: inherit;
    padding: 3px 25px;
    border-radius: 4px;
    cursor: pointer;
}

.language-switcher select:hover {
    border-color: #aaa;
}

/*form register*/
.register-user .form-container {
    max-width: 400px;
    margin: 0 auto;
}

.register-user .form-row {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.register-user label {
    width: 140px;
    margin-right: 10px;
    text-align: left;
}

.register-user input {
    flex: 1;
    padding: 8px;
}

.register-user .form-check-label {
     width: 340px;
}

/* Style for list lots */
.badge.bg-success {
    background-color: #28a745!important;
    padding: 0.5em 1em;
    font-size: 0.9rem;
    border-radius: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Для красивого позиционирования APR бейджа */
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.top-0 {
    top: 0;
}

.start-50 {
    left: 50%;
}

.translate-middle-x {
    transform: translateX(-50%);
}

.mt-2 {
    margin-top: 0.5rem;
}
/* Стили для бейджей статусов */
.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge.bg-success {
    background-color: #198754 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

.badge.bg-dark {
    background-color: #212529 !important;
}

/* Стили для активной кнопки фильтра  лотах*/
/* Стили для кнопок фильтра */
.btn-group .btn-dark {
    border-color: #212529;
    transition: all 0.3s ease;
}

.btn-group .btn-dark.active {
    background-color: #000 !important;
    color: #fff !important;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.btn-group .btn-dark:not(.active):hover {
    background-color: #e9ecef !important;
    color: #212529 !important;
}

/* Скругление углов для первой и последней кнопок */
.btn-group .btn-dark:first-child {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.btn-group .btn-dark:last-child {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}
.apr_bg {
    background-color: #198754 !important;
    color: #fff;
    border-radius: 5px;
    padding: 2px 7px;
}

/* Убираем двойную границу между кнопками */
.btn-group .btn-dark:not(:first-child) {
    border-left: none;
}

/* Стили для позиционирования элементов на карточке */
.card-img-container {
    position: relative;
}

.crypto-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    padding: 2px;
    border: 1px solid #dee2e6;
    z-index: 2;
}

.apr-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

/*inform moderation shares*/
    #moderation-badge {
        transition: transform 0.3s;
    }
    #moderation-badge:hover {
        transform: scale(1.1);
    }
    #pchas::before {
        animation: rotate1 1.5s infinite;
    }
    @keyframes rotate1 {
          0% {transform: rotate(0deg)}
          96% {transform: rotate(180deg)}
          97% {transform: rotate(0deg)}
          100% {transform: rotate(0deg)}
    }


/* Добавьте в ваш основной CSS */
.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.alert-danger {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.b_setting {
    background: #ffcc00;
    border-radius: 5px;
    padding: 8px;
    display: inline;
    float:right;
}
.b_setting a {
    color: #000;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .badge.fs-6 {
        font-size: 0.8rem!important;
        padding: 0.3em 0.8em!important;
    }
    .navbar-nav .akkaunt a, .navbar-nav .moderator a {
        margin: 0;
        padding: 8px;
        margin-bottom: 6px;
    }
}