* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #333;
    background-image: url(back.png) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    color: #fff;
}
p{
    font-size:16px !important;
}
.container {
    text-align: center;
    padding: 20px;
    padding-bottom:80px !important;
}

.top-bar {
    background-color: #444;
    padding: 5px;
    font-size: 14px;
}

.logo-section .logo {
    margin: 20px auto;
    height:90px !important;
}

.info-section {
    background-color: #444;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info {
    display: flex;
    justify-content: space-around;
}

.info-block p {
    font-size: 12px;
    margin-bottom: 5px;
}

.info-block h2 {
    font-size: 20px;
    color: yellow;
}

.opened-date {
    margin-top: 10px;
    font-size: 14px;
    color: #ddd;
}

.withdrawal-section {
    margin: 20px 0;
}

.withdrawal-section h3 {
    color: #fff;
    margin-bottom: 10px;
}

.withdrawal-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.release-btn {
    background-color: #ff8c00;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    font-size: 14px;
    margin-bottom: 20px;
    cursor: pointer;
}

.action-buttons {
    display: flex;
    justify-content: space-around;
}

.action-buttons button {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.withdraw-btn {
    background-color: #adff2f;
    padding:15px !important;
    font-size:16px !important;
}

.referral-btn {
    background-color: #f00;
    color: white;
    padding:10px !important;
    font-size:16px !important;
}

.timer {
    background-color: #666;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 20px;
}

.auction-info p {
    font-size: 13px;
}

.total-withdrawn {
    margin: 20px 0;
}

.total-withdrawn h2 {
    color: #ff8c00;
}

.nav-item {
    color: #fff;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    flex-grow: 1;
}

.nav-item i {
    font-size: 20px;
    display: block;
}

.nav-item span {
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.nav-item:hover {
    background-color: #555;
}

/* Timer Section Styles */

.timer-section h3 {
    color: yellow;
    margin-bottom: 10px;
}

.timer-section {
    text-align: center;
    color: #fff;
    margin-top: 20px;
}

.timer {
    background-color: #424242 !important;
    padding: 10px;
    border-radius: 10px;
    font-size: 30px;
    font-weight: 800 !important;
    color: rgb(233, 233, 233) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.live-status {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 10px !important;
    font-size:12px !important;
}

.live-circle {
    width: 10px;
    height: 10px;
    background-color: lime;
    border-radius: 50%;
    margin-right: 5px;
}

.auction-info p {
    font-size: 16px;
    color: white;
    margin: 5px 0;
}

.note {
    font-size: 12px;
    color: yellow;
    margin-top: 10px;
}

/* Auction Bids */
.auction-bids {
    margin: 20px 0;
}

.bid-item {
    background-color: #444;
    padding: 10px !important;
    margin: 10px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.bid-method {
    font-size: 14px;
}

.bid-amount {
    font-size: 22px;
    color: yellow;
}

.bid-pay-btn {
    background-color: #c2e202 !important;
    color: black !important;
    padding: 3px 10px !important;
    border: none;
    border-radius: 5px !important;
    font-size: 12px !important;
    cursor: pointer;
}

.bid-id {
    margin-top:3px !important;
    font-size: 12px;
    color: #ccc;
}

.nav-item {
    color: #fff;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    flex-grow: 1;
}

.nav-item i {
    font-size: 20px;
    display: block;
}

.nav-item span {
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.nav-item:hover {
    background-color: #555;
}

.drawer-content {
    padding: 10px;
    text-align: center;
}

.payment-method {
    font-size: 18px !important;
    text-align: left !important;
}

.bid-amount-drawer {
    font-size: 24px !important;
    color: yellow;
    margin: 10px 0;
    text-align: left !important;
}

.maturity-options p {
    font-size: 19px;
    text-align: left !important;
}

.maturity-options label {
    display: block;
    font-size: 16px !important;
    margin: 5px 0;
    text-align: left !important;
}

.place-bid-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    width:100% !important;
    margin-top: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.close-drawer {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: white;
}

.bottom-drawer.active {
    display: block;
    transform: translateY(0);
}

.overlay .active {
    display: block !important;
    transform: translateY(0) !important;
}

/* Translucent Overlay */
.overlay {
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height:100% !important;
    background-color: rgba(0, 0, 0, 0.6) !important; /* Translucent black */
    z-index: 998 !important;
    display: none !important;
    transition: opacity 0.3s ease-in-out !important;
}

/* Bottom Drawer */
.bottom-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222 !important;
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-top:3px solid whitesmoke !important;
    padding: 20px;
    padding-bottom:50px !important;
    display: none;
    z-index: 999;
    height:70% !important;
    transition: transform 1.5s ease-in-out !important;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.5);
}

/* Bottom drawer */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Translucent background */
    display: none;
    z-index: 9;
}

.bottom-drawer .drawer-content {
    text-align: center;
    color: #fff;
}

.drawer-content select,
.drawer-content input {
    display: block;
    width: 90%;
    margin: 10px auto;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.drawer-content select {
    background-color: #444;
    color: #fff;
}

.drawer-content input {
    background-color: #555;
    color: #fff;
}

.drawer-content p {
    color: #bbb;
    font-size: 12px;
}

.amount-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.amount-section span {
    font-size: 2rem;
    color: yellow;
}

.amount-section input {
    width: 50%;
    font-size: 2rem;
    background: none;
    border: none;
    color: yellow;
    text-align: center;
}

.create-auction-btn {
    background-color: #8bc34a;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    width: 90%;
    font-size: 16px;
    cursor: pointer;
}

.create-auction-btn:hover {
    background-color: #7cb342;
}

/* Show drawer */
.drawer-active {
    bottom: 0;
}

.drawer-overlay-active {
    display: block;
}

/* The lightbox styles*/
        /* Basic styling for text link */
        .image-link {
            color: #1E4C6E;
            cursor: pointer;
            text-decoration: underline;
            font-size: 18px;
        }

        /* The Modal (background) */
        .lightbox {
            display: none; /* Hidden by default */
            position: fixed;
            z-index: 10000; /* Sit on top */
            left: 0;
            top: 0;
            width: 100%; /* Full width */
            height: 100%; /* Full height */
            overflow: auto; /* Enable scroll if needed */
            background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
        }

        /* Modal Content (Image) */
        .lightbox-content {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 90% !important;
        }
        /* Close button */
        .close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
        }

        /* Adjust the image for smaller screens */
        @media only screen and (max-width: 700px) {
            .lightbox-content {
                width: 100%;
            }
        }






        .profile-info {
            margin-top: 20px;
        }

        .profile-info label {
            font-size: 16px;
            color: #333;
        }

        .profile-info input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }

        .profile-info select {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }

        .profile-info button {
            width: 100%;
            background-color: red;
            color: white;
            border: none;
            padding: 10px;
            font-size: 16px;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 20px;
        }


        .form-section {
            margin-bottom: 15px;
        }

        .bottom-nav {
            position: fixed;
            bottom: 0;
            width: 100%;
            background-color: #222;
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            padding-bottom:15px !important;
            padding-top:15px !important;
            border-top-left-radius: 10px !important;
            border-top-right-radius: 10px !important;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
        }





    /* style to apply on machine page */
    .counter {
        font-size:30px !important;
        color: white;
        animation: smooth-increase 1s ease-in-out infinite;
    }
    
    @keyframes smooth-increase {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }
    .income-rate-section {
        display: flex;
        justify-content: space-between;
        margin: 10px 0;
        text-align:right !important;
    }
    
    .income-rate-section div {
        text-align: right !important;
    }
    
    .income h2, .rate h2 {
        color: yellow;
        font-size: 1.5rem;
    }
    
    .maturity-cost-section {
        display: flex;
        justify-content: space-between;
        margin: 15px 0;
        text-align: left !important;
    }
    
    .maturity h4, .machine-cost h4 {
        color: #fff;
    }
    
    .running-machine {
        margin: 4px 0;
        background-color: green !important;
        padding: 15px;
        border-radius: 5px;
        color: #FFD700;
    }
    
    .running-amount h2 {
        background-color: green;
        color: #fff;
        padding: 10px;
        border-radius: 5px;
    }
    
    .start-date-validity {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        color: #fff;
    }
    
    .collect-section {
        margin-top: 20px;
    }
    
    .collect-button {
        background-color: #BADA55;
        color: #333;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .collect-info {
        font-size: 12px;
        margin-top: 10px;
        color: #fff;
    }
    
    .total-collected {
        margin: 15px 0;
        color: #FFD700;
        font-size: 1.2rem;
    }
    .machine_data{
        margin: 4px 0;
        background-color: #444;
        padding: 10px;
        border-radius: 5px;
    }

    /* Profile page style*/
    
    .profile_input{
        width:100%;
        height:35px !important;
        background-color: whitesmoke !important;
        border:2px solid !important;
        border-radius:8px !important;
        padding:5px !important;
        font-size:16px !important;
        margin:5px !important;
        color: black !important;
    }