/* _tools/baseConverter/style.css */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#tool {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1.1rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
    font-family: monospace; /* 數字對齊更漂亮 */
}

.input-group input:focus {
    outline: none;
    border-color: #007bff;
    background-color: #f0f7ff;
}

.error-msg {
    color: #ff4757;
    font-size: 0.8rem;
    margin-top: 4px;
    height: 1em;
}