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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 500px;
    width: 100%;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.converter-section {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #667eea;
}

.result {
    margin-top: 12px;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 8px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-text {
    font-size: 24px;
    font-weight: 600;
    color: #667eea;
}

.result-empty {
    color: #999;
    font-size: 14px;
}

.error {
    color: #e53e3e;
    font-size: 14px;
}

.divider {
    height: 1px;
    background: #e0e0e0;
    margin: 30px 0;
}

.info {
    background: #f0f4ff;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}