/* Basic styling for the page */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1b2838;
    color: #c7d5e0;
    margin: 0;
    padding: 20px;
}

header {
    text-align: center;
    font-size: 2em;
    font-weight: 600;
    color: #66c0f4;
    margin-bottom: 20px;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #2a475e;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

input[type="file"] {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 8px;
    background-color: #1b2838;
    border: 1px solid #c7d5e0;
    color: #c7d5e0;
    border-radius: 5px;
}

#accountList {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 1em;
    background-color: #1b2838;
    border: 1px solid #c7d5e0;
    color: #c7d5e0;
    border-radius: 5px;
}

#accountName {
    font-weight: bold;
    margin-bottom: 20px;
    color: #66c0f4;
}

#authCode {
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    color: #ffffff;
    background-color: #1b2838;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #66c0f4;
    transition: background-color 0.3s ease;
}

#authCode:hover {
    background-color: #3a5068;
}

#copyButton {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1em;
    font-weight: 600;
    color: #ffffff;
    background-color: #66c0f4;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#copyButton:hover {
    background-color: #5aadc9;
}

#progressBarContainer {
    background-color: #3a5068;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
    height: 10px;
}

#progressBar {
    width: 100%;
    height: 10px;
    background-color: #66c0f4;
}

#timeRemaining {
    text-align: center;
    font-size: 0.9em;
    color: #c7d5e0;
}

#toast {
    visibility: hidden;
    max-width: 250px;
    height: auto;
    margin: auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#toast.show {
    visibility: visible;
    opacity: 1;
}

footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #3a5068;
}

footer a {
    text-decoration: none;
    color: #66c0f4;
    font-size: 1em;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

footer img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

footer a:hover img {
    transform: scale(1.1);
}

#deleteAccountButton, #clearAllButton {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    font-size: 1em;
    font-weight: 600;
    color: #ffffff;
    background-color: #c84b4b; /* 红色调，表示危险操作 */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#deleteAccountButton:hover, #clearAllButton:hover {
    background-color: #a33c3c;
}
