body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: 250px;
    padding: 20px;
    box-sizing: border-box;
}



h1,
h2 {
    text-align: center;
}

.uid-list {
    background: #fff;
    padding: 20px;
    margin-left: 20px 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table,
th,
td {
    border: 1px solid #e50202;
}

th,
td {
    padding: 10px;
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.2);
}

tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

button {
    padding: 5px 10px;
    margin: 5px;
    background: #0029f7;
    color: #dddddd;
    border: 1px solid #0029f7;
    border-radius: 3px;
    cursor: pointer;
    font-size: 15px;
}

button:hover {
    background: #555;
}

/* Responsive Design */
@media (max-width: 600px) {

    table,
    th,
    td {
        font-size: 18px;
        margin-left: -11px;

    }

    button {
        padding: 3px 4px;
        margin: 6px;
        font-size: 16px;
        font-weight: 600;
    }

    th,
    td {
        display: block;
        width: 370px;
    }

    tr {
        margin-bottom: 20px;
        display: block;
        border: 1px solid #fb0000;
        border-radius: 5px;
        padding-left: 15px;
        background: #ffffff;
    }

    th {
        background: none;
        font-weight: bold;
    }

    td {
        border: none;
        padding: 5px 0;
    }

    td:before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 100px;
    }

    thead {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
        margin-left: auto
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
}

.close {
    color: #ff8758;
    float: right;
    font-size: 36px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: rgb(255, 0, 0);
    text-decoration: none;
    cursor: pointer;
}

/* Fun Input Fields */
.modal input,
.modal textarea {
    width: 90%;
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    outline: none;
    margin-top: 10px;
    background: #000000;
    /* Dark input background */
    color: #fff;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.modal input:focus,
.modal textarea:focus {
    background: #363636;
    /* Slightly lighter background when focused */
    border: 2px solid #3aff0e;
    box-shadow: 0px 0px 10px rgba(255, 99, 71, 0.5);
}

/* Button Styling with Hover Effect */
.modal button {
    width: 95%;
    padding: 15px;
    background: #0b8600;
    /* Warm color button */
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.modal button:hover {
    background: #0b8600;
    /* Darker red on hover */
    transform: translateY(5px);
    color: black;
}

/* Add an overlay blur effect */
.modal.show {
    backdrop-filter: blur(10px);
}




/* Withdrawal Details Styles */

.withdrawal-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    overflow: auto;
    font-size: 18px;
}


#withdrawalDetails p {
    font-size: 18px;
    margin: 10px 0;
    color: #000000;
    line-height: 2;
}

#withdrawalDetails strong {
    color: #3f00b5;
}

#withdrawalDetails select {
    background: rgba(255, 255, 255, 0.1);
    color: #000000;
    border: 2px solid rgb(27, 7, 255);
    padding: 3px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.83s ease;
    font-size: 17px;
}

#withdrawalDetails select:hover {
    background: rgba(255, 255, 255, 0.2);
}

#withdrawalDetails select:focus {
    outline: none;
    border: 1px solid #00adb5;
}

hr {
    border: none;
    height: 3px;
    background: rgb(229, 10, 10);
    margin: 20px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #withdrawalDetails p {
        font-size: 18px;
    }

    #withdrawalDetails select {
        width: 55%;
        padding: 10px;
    }
}


/* Toast Styles */
.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 20px;
    font-size: 20px;
    font-weight: bold;
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.toast.success {
    background-color: #00a005;
}

.toast.error {
    background-color: #ff1100;
}

.toast.info {
    background-color: #0263b3;
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 20px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}


@media (max-width: 768px) {
    .toast {
        width: 70%;
        margin: auto;
        left: 45px;
    }
}

#uidSearch {
    width: 93%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    /* Ensure font size is 16px or larger to prevent zooming */
}


/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    /* Initially hidden */
    width: 250px;
    height: 100vh;
    background: #343a40;
    color: white;
    transition: left 0.3s ease-in-out;
    padding-top: 4rem;
    box-shadow: 2px 0 10px rgba(131, 131, 131, 0);
}

/* Sidebar Visible */
.sidebar.active {
    left: 0;
}

/* Sidebar Links */
.sidebar nav ul {
    list-style: none;
    padding: 0;
}

.sidebar nav ul li {
    padding: 15px;
}

.sidebar nav ul li a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 18px;
    font-weight: bold;
}

.sidebar nav ul li a:hover {
    color: #55ff07;
    border-radius: 5px;


}


/* Toggle Button */
.toggle-btn {
    position: fixed;
    top: 10px;
    left: 15px;
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1000;
    transition: background 0.5s ease-in-out;
}

.toggle-btn:hover {
    background: #0056b3;
}

/* Responsive for Desktop */
@media (min-width: 768px) {
    .sidebar {
        left: 0;
        /* Always visible on larger screens */
    }

    .toggle-btn {
        display: none;
        /* Hide toggle button on desktop */
    }

    .sidebar nav ul {
        list-style: none;
        padding: 0;
        margin-top: 1rem;
    }


}

/* Style for the trading code container */
#tradingCodeContainer {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Style for the container of each trading code */
.trading-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.trading-code:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Style for the delete button */
.trading-code button {
    background: linear-gradient(135deg, #ff6b6b, #ff4d4d);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 77, 77, 0.2);
}

.trading-code button:hover {
    background: linear-gradient(135deg, #ff4d4d, #ff1a1a);
    box-shadow: 0 4px 8px rgba(255, 77, 77, 0.3);
    transform: scale(1.05);
}

.trading-code button:active {
    transform: scale(0.95);
}

/* Style for the code text */
.trading-code span {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-left: 15px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}