:root {
    /*--darkpurple: #535b7c;*/
    --darkpurple: #424055;
}
@font-face {
    font-family: 'Noto Sans';
    src: url('../font/NotoSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Noto Sans', sans-serif;
    padding: 38px;
    background-color: var(--darkpurple);
    min-height: 100vh;
}
strong {
    font-weight: bold;
}
.container {
    background-color: #dfdfdf;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 800px;
    padding: 38px;
}
.header {
    align-items: start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 38px;
}
.logo-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.logo {
    max-width: 150px;
}
.btn {
    background-color: var(--darkpurple);
    border-radius: 6px;
    border: none;
    color: white;
    cursor: pointer;
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .2s;
}
.btn:hover {
    background-color: #272633;
    transition: background-color .2s;
}
.logout-btn {
    font-size: 12px;
}
.download-btn {
    font-size: 24px;
    padding: 12px 32px;
    margin-bottom: 8px;
    margin-right: 8px;
}
.copy-btn {
    font-size: 24px;
    padding: 12px 32px;
}
.session-info {
    background-color: #d5d5d5;
    border-radius: 6px;
    color: #333;
    font-size: 11px;
    margin-bottom: 76px;
    padding: 8px 16px;
}
section.list {
    margin-bottom: 76px;
    text-align: center;
}
.list ul {
    display: inline-grid; 
    grid-template-columns: repeat(3, 1fr) ;
    grid-column-gap: 20px;
    list-style: none;
    padding: 0;
}
.list li {
    border: 3px solid transparent;
    border-radius: 20px;
    color: inherit;
    cursor: pointer;
    display: block;
    padding: 20px;
    text-align: center;
    transition: border-color .2s;
    width: 100%;
}
.list li:hover,
.list li.active {
    border-color: #464646;
    transition: border-color .2s;
}
.list img {
    max-width: 80px;
}
section.os {
    display: none;
}
.os h3 {
    margin-bottom: 24px;
}
.os h3:not(:first-child) {
    margin-top: 40px;
}
.os p {
    margin-bottom: 8px;
}
.os p.mt {
    margin-top: 32px;
}
.os img {
    border-radius: 16px;
    max-width: 100%;
}
.os .help-toggle {
    cursor: pointer;
    background-color: #c4c4c7;
    padding: 16px;
    border-radius: 8px;
    display: inline-block;
}
.copy-box {
    background-color: #c4c4c7;
    position: relative;
    border-radius: 8px;
}
.copy-header {
    padding: 16px;
    border-bottom: 1px solid #dfdfdf;
    border-radius: 8px 8px 0 0;
}
.copy-btn.success {
    background-color: #28a745;
}
.copy-box:has(.copy-btn.success) {
    border-color: #28a745;
}
.copy-content {
    border-radius: 0 0 8px 8px;
    color: #666;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.2;
    padding: 16px;
    white-space: pre-wrap;
    word-break: break-all;
}
.copy-notification {
    position: fixed;
    top: 20px;
    right: 50svw;
    background-color: #28a745;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transform: translate(50%, -400px);
    transition: transform 1s ease;
    z-index: 1000;
}
.copy-notification.show {
    transform: translate(50%, 0);
    transition: transform 0.3s ease;
}
.footer {
    margin-top: 50px;
}
.footer .rust-logo {
    align-items: center;
    column-gap: 3px;
    display: flex;
    font-size: 9px;
    justify-content: end;
    white-space: nowrap;
}
.footer .rust-logo img {
    max-width: 58px;
}
/* login */
.page-login #main {
    display: flex;
    justify-content: center;
    width: 100%;
}
.page-login .login-container {
    background: #dfdfdf;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 10vh;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
    width: 100%;
}
.page-login .logo {
    max-width: 150px;
    margin-bottom: 1.5rem;
}
.page-login .form-group {
    margin-bottom: 1rem;
}
.page-login label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}
.page-login input[type="password"] {
    background-color: transparent;
    border: 1px solid #888;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    padding: 0.75rem;
    width: 100%;
}
.page-login button {
    background-color: #424055;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.75rem;
    transition: background-color .2s;
    width: 100%;
}
.page-login button:hover {
    background-color: #272633;
    transition: background-color .2s;
}
.page-login button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.page-login .message {
    border-radius: 4px;
    font-size: 14px;
    margin-top: 1rem;
    padding: 0.75rem;
    text-align: center;
}
.page-login .error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.page-login .success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
/* @media */
@media screen and (max-width: 620px) {
    body,
    .container {
        padding: 16px;
    }
    .session-info,
    section.list {
        margin-bottom: 32px;
    }
    .list ul {
        grid-column-gap: 10px;
    }
    .list li {
        font-size: 12px;
        padding: 5px;
    }
}