body {
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    box-sizing: border-box;
}
* {
    box-sizing: inherit;
}
header {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo {
    height: 70px;
    margin-right: 15px;
}
.logo-text {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
}
.subheader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}
.subheader-link {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
    cursor: pointer;
}
.subheader-link:hover {
    color: #cccccc;
}
.subheader-link.active {
    color: #cccccc;
    font-weight: 700;
}
.admin-container {
    background-color: #0f0f0f;
    width: 80%;
    max-width: 1200px;
    min-height: 600px;
    margin: 20px auto;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}
.admin-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #df9f00 20%, #df9f00 80%, transparent);
}
.recent-exchanges-container {
    background-color: #101010;
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.recent-exchanges-header {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-align: center;
}
.refresh-button {
    background-color: #101010;
    color: #ffffff;
    border: 2px solid #df9f00;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    width: 150px;
}
.refresh-button:hover {
    background-color: #df9f00;
    color: #000;
}
.refresh-button:disabled {
    background-color: #333333;
    border-color: #555555;
    color: #777777;
    cursor: not-allowed;
}
.exchanges-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 550px;
    overflow-y: auto;
    overflow-x: visible;
    padding: 0;
}
.exchanges-list::-webkit-scrollbar {
    width: 6px;
}
.exchanges-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}
.exchanges-list::-webkit-scrollbar-thumb {
    background: #df9f00;
    border-radius: 3px;
}
.exchanges-list::-webkit-scrollbar-thumb:hover {
    background: #ffba0d;
}
.exchange-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    padding: 2px;
    border-radius: 4px;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    position: relative;
    z-index: 1;
    transition: background-color 0.3s ease;
}
.exchange-item:hover {
    background-color: #333333;
    border-radius: 4px;
    z-index: 2;
}
.exchange-item.processed {
    opacity: 0.5;
}
.exchange-checkbox {
    margin-right: 10px;
}
.exchange-text {
    font-size: 16px;
    font-weight: 400;
    color: #cccccc;
    flex-grow: 1;
}
.exchange-time {
    font-size: 10px;
    font-weight: 400;
    color: #999999;
    margin-top: 2px;
}
/* Password overlay styles */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-popout {
    background-color: #151515;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    width: 340px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.login-popout h2 {
    color: #b2b4bd;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
}
.input-group {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}
.input-field {
    flex: 1;
    padding: 8px;
    background-color: #181818;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
}
.input-field:focus {
    outline: none;
}
.login-button {
    background-color: #df9f00;
    color: #000000;
    border: 2px solid #df9f00;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    width: 300px;
}
.login-button:hover {
    background-color: #ffba0d;
    border-color: #ffba0d;
}
.login-error {
    color: #df9f00;
    font-size: 14px;
    margin-top: 10px;
}