.wave-container {
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.wave-gif {
    width: 110px;
    height: auto;
    border-radius: 50%;
}

#auth-box {
    background: #111318;
    border: 1px solid #1e2129;
    border-radius: 8px;
    padding: 36px 32px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    transition: height 0.3s ease, padding 0.3s ease;
}

.logo-area {
    text-align: center;
    margin-bottom: 32px;
}

.brand {
    font-family: 'Syne', sans-serif;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan {
    font-size: 14px;
    font-style: italic;
    color: #5a5f6b;
    margin-top: 4px;
}

input {
    width: 100%;
    background: #16191f;
    border: 1px solid #1e2129;
    border-radius: 6px;
    padding: 12px 14px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
    outline: none;
    transition: all 0.2s ease;
}

input:focus {
    border-color: #0072ff;
    background: #181b22;
}

input::placeholder {
    color: #4a4f5a;
}

.code-hint {
    font-size: 13px;
    color: #8b8f9a;
    margin-bottom: 12px;
    text-align: center;
}

.code-hint strong {
    color: #fff;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    text-align: left;
}

.checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    margin-top: 1px;
    accent-color: #0072ff;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-row label {
    font-size: 12px;
    color: #5a5f6b;
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

.checkbox-row label span {
    color: #0072ff;
    text-decoration: underline;
    cursor: pointer;
}

button {
    width: 100%;
    background: #0072ff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 2px;
}

button:hover {
    background: #0059cc;
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.toggle {
    text-align: center;
    font-size: 14px;
    margin-top: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.toggle-text {
    color: #4a4f5a;
}

.toggle-action {
    color: #0072ff;
    font-weight: 600;
    transition: color 0.2s ease;
}

.toggle-action:hover {
    color: #00c6ff;
}

#form-container {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.form-switching {
    opacity: 0;
    transform: translateX(-8px);
}
