@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap");

* {
    box-sizing: border-box;
    user-select: none;
}

:root {
    color-scheme: dark;
    font-family: "IBM Plex Mono", monospace;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #000;
    color: #fff;
    font-family: inherit;
}

.container {
    width: 580px;
    max-width: calc(100% - 32px);
    padding: 28px;
    border: 1px solid #303030;
    background: #000;
}

.header {
    margin-bottom: 28px;
}

h1 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: normal;
}

.header p {
    margin: 0;
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label span {
    color: #aaa;
    font-size: 13px;
}

label span::before {
    content: ">";
    margin-right: 7px;
    color: #666;
}

input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #303030;
    outline: none;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    transition: border-color 0.2s ease-in-out;
}

input:hover {
    border-color: #404040;
}

input:focus {
    border-color: #505050;
}

input::placeholder {
    color: #444;
}

button {
    height: 42px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #303030;
    border-radius: 0;
    outline: none;
    background: #000;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

button:hover {
    background: #050505;
    border-color: #404040;
}

a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #fff;
}

.buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.buttons a {
    flex: 1;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #303030;
    background: #000;
    color: #fff;
    font-size: 13px;
}

.buttons a:hover {
    background: #050505;
    border-color: #404040;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 24px 0 0;
    padding-top: 16px;
    border-top: 1px solid #303030;
    color: #666;
    font-size: 11px;
    line-height: 1.6;
}

.footer a {
    color: #666;
}

.footer a:hover {
    color: #aaa;
}

.copy-icon {
    width: 16px;
    height: 16px;
    display: block;
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .container {
        padding: 24px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}