html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    line-height: 1.5;
}

.container {
    width: min(90%, 800px);
    margin: 40px auto 0;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.converter-box {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.format-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* App list styles */
.app-list {
    list-style: none;
    padding-left: 0;
}

.app-item {
    margin-bottom: 1.5rem;
}

.app-link {
    font-size: 1.1em;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.app-badge {
    display: inline-block;
    background: #e3eafc;
    color: #357abd;
    font-size: 0.85em;
    font-weight: 600;
    border-radius: 4px;
    padding: 2px 8px;
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .converter-box {
        padding: 1rem;
    }
}

#result {
    width: 100%;
    min-height: 50px;
    padding: 0.8rem;
    border: 1.5px solid #e0e4ea;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f9f9f9;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    margin-top: 8px;
    transition: border-color 0.3s;
}