
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    overflow: auto;
    scrollbar-width: none;
}

body {
    display: flex;
    flex-direction: column;
    background: url('../img/main_bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

body::-webkit-scrollbar {
    display: none;
}

main {
    flex: 1;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

main::-webkit-scrollbar {
    display: none;
}

/* Ensure the images take up full width of the carousel */
.carousel-inner img {
    width: 100%;
    height: 400px; /* Adjust height as needed */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    object-position: center;
}

/* Adjust the position of the prev/next buttons */
.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Make the buttons smaller */
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev {
    left: -50px; /* Move prev button outside carousel */
}

.carousel-control-next {
    right: -50px; /* Move next button outside carousel */
}

/* Optional: add some styling to arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
}

/* Hero Section - Video Background and Styling */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: none; /* No background image in the hero section */
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the entire section without distortion */
    z-index: -1; /* Keep the video behind the content */
    opacity: 0.5; /* Adjust this value to increase or decrease opacity */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Optional dark overlay to increase text readability */
    z-index: 1;
}

.hero-content {
    z-index: 2; /* Ensure content appears above video */
    text-align: center;
    color: white;
}

/* Animation and styles for hero section */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-content h1 {
    animation: fadeIn 1s ease-in-out, slideIn 1s ease-in-out;
}

.hero-content p {
    animation: fadeIn 1.5s ease-in-out;
}

.hero .btn {
    animation: fadeIn 2s ease-in-out;
}

.hero .btn:hover {
    transform: scale(1.1); /* Slight zoom on hover */
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.3); /* Add shadow on hover */
}

.navbar {
    z-index: 1030;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.navbar .nav-link {
    color: #fff;
}

.navbar .nav-link:hover {
    color: #ddd;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-toggler {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.5);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-top: auto;
}

.footer a {
    color: #bbb;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.glass-navbar, .glass-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: auto;   /* Enable scrolling if needed */
}

.table-hover {
    border-collapse: collapse;
}

.table-hover thead th,
.table-hover tbody td {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    text-align: left !important;
}

.table-hover thead {
    background: transparent !important;
}

.table-hover tbody tr {
    background: transparent !important;
}

.table-hover tbody tr:hover td {
    background: rgba(255, 255, 255, 0.2) !important;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.breadcrumb-item a {
    color: #00bfff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #ddd;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #bbb;
    padding: 0 5px;
}

.user-overview {
    margin-top: 5px;
}

.input-group-text, .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    font-family: 'Orbitron', sans-serif;
}

.form-control {
    font-size: 0.875rem;
    max-width: 100%;
}

.profile-input {
    max-width: 400px;
    margin: 0 auto;
}

.input-group-text {
    font-size: 1rem;
    width: 45px;
}

.input-group {
    width: 100%;
    justify-content: center;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 150px;
    margin: 0 auto;
    display: block;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.4);
}

.btn-small {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.form-check {
    position: relative;
    display: inline-block;
}

.form-check-input {
    display: none;
}

.form-check-input2 {

}

.form-check-label {
    cursor: pointer;
}

.form-check-label img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-check-input:checked + .form-check-label img {
    transform: scale(1.1);
    box-shadow: 0 0 10px #00bfff;
}

.toggle-switch {
    display: flex;
    align-items: center;
}

.toggle-switch-label {
    position: relative;
    width: 34px;
    height: 20px;
    background-color: #ccc;
    border-radius: 34px;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.toggle-switch-label:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    transition: transform 0.2s;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.form-check-input:checked + .toggle-switch-label {
    background-color: #00bfff;
}

.form-check-input:checked + .toggle-switch-label:before {
    transform: translateX(14px);
}

/* Profile image size */
.profile-image {
    width: 75px;
    height: 75px;
    object-fit: cover;
}

.glass-dropdown .dropdown-menu, .glass-dropdown .dropdown-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 150px;
    margin: 0 auto;
    display: block;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.btn-glass.btn-success {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.btn-glass.btn-danger {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.btn-glass.btn-info {
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.btn-glass.btn-warning {
    background: rgba(255, 255, 0, 0.2); /* Light yellow background */
    border: 1px solid rgba(255, 255, 0, 0.3); /* Slightly darker yellow border */
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.4);
}

.btn-glass.btn-success:hover {
    background: rgba(0, 255, 0, 0.4);
}

.btn-glass.btn-danger:hover {
    background: rgba(255, 0, 0, 0.4);
}

.btn-glass.btn-info:hover {
    background: rgba(0, 255, 255, 0.4);
}

.btn-glass.btn-warning:hover {
    background: rgba(255, 255, 0, 0.4); /* Darker yellow on hover */
}

/* Separate styles for pagination buttons */
.pagination .page-item .page-link {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.pagination .page-item .page-link:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    color: #000 !important;
}

/* Rig Icon Preview */
.rig-icon-preview {
    width: 20px;
    height: 20px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.rig-icon {
    width: 25px;
    height: 25px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    box-border: none !important;
}

/* Rig Link Styles */
.rig-link {
    color: #fff;
    text-decoration: none;
}

.rig-link:hover {
    color: #00bfff;
}

/* Slide Button Styles */
.slide-button {
    display: inline-block;
}

.modal-header .btn-close {
    filter: invert(100%);
}

/* Coin Dropdown Styles */
.img-coin {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Select2 customization */
.select2-container--default .select2-selection--single {
    height: 45px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    line-height: 2.5 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 10px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(0, 191, 255, 0.6);
    color: #fff;
}

.select2-dropdown {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff;
    z-index: 1060 !important; /* Ensure it appears above the modal */
}

/* Icon in Select2 options */
.select2-results__option {
    display: flex;
    align-items: center;
}

.select2-results__option img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

/* Updated CSS for form-select and its options */
.form-select {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
}

.form-select option {
    color: #000;
}

.list-group-item {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
}

/* Search field inside the Select2 dropdown */
.select2-search--dropdown .select2-search__field {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    height: 45px !important;
}

.crypto-icon {
    width: 40px;
    height: 40px;
}

.income-card {
}

.income-card h4 {
    font-size: 1.5rem;
    color: #fff;
}

.income-card p {
    font-size: 1rem;
    color: #ddd;
}

.income-card h3 {
    font-size: 2rem;
    color: #00ff00;
    font-weight: bold;
}

/* Ensure modals appear above all other content */
.modal {
    z-index: 1050;
}
.modal-backdrop {
    z-index: 1040;
}

.miner-ip-link {
    color: #ffffff !important;
    text-decoration: none !important;
}

.miner-ip-link:hover {
    color: #00bfff !important; /* Optional: change color on hover */
}

.miner-details-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.miner-details-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.miner-details-label {
    font-size: 0.9rem;
    color: #ddd;
    flex-basis: 50%;
    text-align: left;
}

.miner-details-value {
    font-size: 0.9rem;
    color: #fff;
    flex-basis: 50%;
    text-align: right;
}

.miner-details-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.5rem;
}

.miner-details-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #ddd;
}

/* Custom CSS for custom sliders */
.custom-slider {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.custom-slider-input {
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
    appearance: none;
    margin-right: 10px;
}

.custom-slider-input:checked {
    background-color: #00bfff;
}

.custom-slider-input::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: white;
    top: 1px;
    left: 1px;
    transition: transform 0.2s ease;
}

.custom-slider-input:checked::before {
    transform: translateX(20px);
}

.custom-slider-label {
    font-size: 0.9rem;
    color: #ffffff;
}

.chat-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    width: 100%;
}

.chat-message {
    padding: 10px;
    border-radius: 10px;
    word-wrap: break-word;
    display: inline-block;
    color: #fff;
    max-width: 90%; /* Increase max-width to 90% */
    min-width: 40%; /* Ensure a minimum width */
}

/* Admin messages with an orange-like background */
.admin-message-custom {
    background: rgba(255, 165, 0, 0.2); /* Light orange background */
    align-self: flex-start; /* Align to the left */
    text-align: left;
    margin-right: auto;
    width: auto;
    float: left;
    clear: both;
}

/* User messages with a green-like background */
.user-message-custom {
    background: rgba(0, 128, 0, 0.2); /* Light green background */
    align-self: flex-end; /* Align the box to the right */
    text-align: left; /* Align text within the box to the left */
    margin-left: auto;
    width: auto;
    float: right;
    clear: both;
}

.chat-timestamp {
    font-size: 0.8em;
    color: #999;
    margin-top: 5px;
    text-align: right;
}

/* General media query for mobile devices */
@media (max-width: 768px) {
    /* Adjustments for smaller screen sizes */
    
    /* Make the navbar fit better on smaller screens */
    .navbar-brand img {
        height: 30px;
        margin-right: 5px;
    }
    
    .navbar .nav-link {
        font-size: 0.9rem;
    }

    .breadcrumb {
        font-size: 1rem;
        padding: 5px 10px;
    }

    /* Reduce padding and font size for breadcrumb items */
    .breadcrumb-item a {
        font-size: 0.9rem;
    }
    
    /* Make buttons larger for touch accessibility */
    .btn {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    /* Adjust table responsiveness */
    .table-hover {
        width: 100%;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Adjust modal content size */
    .modal-dialog {
        width: 100%;
        max-width: 95%;
    }

    /* Reduce font sizes for headings */
    h5, h4, h3 {
        font-size: 1.25rem;
    }

    /* Adjust card sizes for better display on mobile */
    .glass-card {
        padding: 10px;
        margin: 10px 0;
    }

    /* Adjust input and button sizes */
    .form-control, .btn {
        height: 40px;
        font-size: 0.875rem;
    }

    /* Reduce table font size */
    .table-hover tbody td {
        font-size: 0.9rem;
        padding: 8px;
    }

    /* Ensure the image doesn't overflow */
    .rig-icon {
        width: 20px;
        height: 20px;
    }

    /* Centering modal forms for smaller screens */
    .modal-body {
        padding: 1rem;
    }

    /* Hide columns on small screens */
    .column-miner-brand-model, 
    .column-miner-shares, 
    .column-miner-cpu-temp,
    .column-rig-cpu-temp,
    .column-fs-pool, 
    .column-fs-wallet, 
    .column-fs-user, 
    .column-fs-coin,
    .column-wallet-address,
    .column-wallet-lookup {
        display: none;
    }

}

/* Extra small devices (max-width: 576px) */
@media (max-width: 576px) {
    /* Further adjustments for even smaller screens */
    .navbar-brand img {
        height: 25px;
    }

    .breadcrumb {
        font-size: 0.8rem;
        padding: 5px 8px;
    }

    .btn {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    /* Adjust modal content size for mobile */
    .modal-dialog {
        max-width: 90%;
    }

    /* Font sizes for modals */
    .modal-title {
        font-size: 1.25rem;
    }

    /* Hide columns on small screens */
    .column-miner-brand-model, 
    .column-miner-hashrate, 
    .column-miner-shares, 
    .column-miner-cpu-temp, 
    .column-miner-bat-temp,
    .column-miner-bat-perc,
    .column-rig-miner, 
    .column-rig-hashrate, 
    .column-rig-cpu-temp,
    .column-fs-pool, 
    .column-fs-wallet, 
    .column-fs-user, 
    .column-fs-coin,
    .column-wallet-address,
    .column-wallet-coin,
    .column-wallet-lookup {
        display: none;
    }


}

.container {
    overflow-y: auto; /* Ensure this is set to auto or scroll */
}

.table-responsive {
    overflow-x: auto;
}

/* Interactive Upgrade Button and Form */
.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Style the package selection and VRSC info section */
.upgrade-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    margin-bottom: 20px;
}

.upgrade-section h3 {
    font-size: 1.5rem;
    color: #fff;
}

.upgrade-section p, .upgrade-section select, .upgrade-section strong {
    color: #fff;
}

.upgrade-section .form-control {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Orbitron', sans-serif;
}

.upgrade-section .form-label {
    color: #fff;
}

/* Make the Upgrade button pop */
#upgradeBtn {
    font-size: 1.25rem;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

#upgradeBtn:hover {
    background-color: #00bfff;
    color: #fff;
}

/* Wallet Address and Amount Styling */
.wallet-info {
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
    color: #fff;
}
