* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #f2f2f2;
}

body {
    background-color: #000;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
}

.tettx {
    color: #d9d9d9;
}

.win-key-icon {
    display: inline-block;
    width: 1.05em;
    height: 1.05em;
    vertical-align: -0.12em;
    margin: 0 0.12em;
}

.verify-main {
    color: #d9d9d9 !important;
}

.verify-verify-button {
    background: #f6821f45 !important;
    border: none;
    border-radius: 5px;
    color: #f2f2f2;
    padding: 9px 38px;
    cursor: pointer;
}

.checkbox-window {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    height: 74px;
    background-color: #000;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 10px;
    overflow: hidden;
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
    opacity: 0;
}

.checkbox-container {
    width: 30px;
    height: 30px;
    margin-left: 12px;
    margin-right: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox {
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 2px;
    border: 2px solid #888888;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}

.checkbox.checked {
    border-color: #4285f4;
    background-color: #4285f4;
    position: relative;
}

.checkbox.checked::after {
    content: "\f00c";
    font-family: "FontAwesome";
    color: #fff;
    font-size: 18px;
    position: absolute;
    top: -2px;
    left: 2px;
}

.spinner {
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-wrapper {
    align-items: center;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.main-content {
    margin: 8rem auto;
    max-width: 60rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

.footer {
    font-size: 0.75rem;
    line-height: 1.125rem;
    margin: 0 auto;
    max-width: 60rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

.footer-inner {
    border-top: 1px solid #444;
    padding-bottom: 1rem;
    padding-top: 1rem;
    text-align: center;
}

.verify-window {
    font-family: Roboto, helvetica, arial, sans-serif;
    opacity: 0;
    visibility: hidden;
    margin: auto;
    width: auto;
    display: block;
    top: 5px;
    left: 54px;
    transition: opacity 400ms;
}

.verify-window.active {
    opacity: 1;
    visibility: visible;
    height: auto;
    display: block;
}

.verify-header {
    background-color: #e85d1a;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    border-radius: 0;
}

.verify-main {
    padding: 16px;
    font-size: 14px;
    color: #d9d9d9;
}

.verify-main ol li {
    color: #d9d9d9;
}

.verify-main p,
.verify-main b,
.verify-main i {
    color: #d9d9d9;
}

.verify-main ol {
    padding-left: 20px;
}

.verify-main ol li {
    margin-bottom: 10px;
}

.verify-main code {
    display: block;
    margin-top: 10px;
    background: none;
    padding: 10px;
    font-size: 12px;
    border: 1px solid #797979;
    max-width: 100%;
    word-break: break-word;
}

.verify-footer {
    background: none;
    padding: 16px;
    text-align: right;
}

.verify-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.verify-footer button {
    padding: 10px 20px;
    background: #f6821f45;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.overlay.active,
.verify-window.active {
    display: block;
}

#spinner2 {
    width: 30px;
    height: 30px;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.lds-ring {
    display: inline-block;
    position: relative;
}

.lds-ring,
.lds-ring div {
    height: 1.875rem;
    width: 1.875rem;
}

.lds-ring div {
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border: 0.3rem solid transparent;
    border-radius: 50%;
    border-top-color: #313131;
    border-color: #999 transparent transparent;
    box-sizing: border-box;
    display: block;
    position: absolute;
}

.lds-ring div:first-child { animation-delay: -0.45s; }
.lds-ring div:nth-child(2) { animation-delay: -0.3s; }
.lds-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes lds-ring {
    0% { transform: rotate(0deg); }
    to { transform: rotate(1turn); }
}

@media (max-width: 600px) {
    .main-content {
        margin: 3rem auto;
    }

    .main-content p[style*="font-size: 2.5rem"] {
        font-size: 1.5rem !important;
        line-height: 2rem !important;
    }

    .main-content > div[style*="font-size: 1.5rem"] {
        font-size: 1rem !important;
        line-height: 1.5rem !important;
    }

    .checkbox-window {
        max-width: 100% !important;
    }

    .verify-footer {
        flex-direction: column;
        text-align: center;
    }

    .verify-footer-left {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 10px;
    }
}
