:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --border-color: #d1d5db;
    --text-color: #1f2937;
}

html {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 20px;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.lang-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    z-index: 10;
}

.lang-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    min-width: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
    height: 36px;
}

.lang-selector select:hover {
    border-color: var(--primary-color);
}

.lang-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.content {
    flex: 1;
    padding-bottom: 20px;
}

.footer {
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #ccc;
    color: #666;
    font-size: 14px;
}

.tool-box {
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.tool-button {
    display: inline-block;
    padding: 16px 24px;
    background-color: #f3f4f6;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    min-width: 80px;
    color: #333;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 20px;
}

.tool-button:hover {
    border-color: var(--primary-color);
}
