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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    background: linear-gradient(135deg, #1e5799 0%, #207cca 50%, #2989d8 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 680px;
}

.field-label {
    display: block;
    margin-bottom: 4px;
    color: #000;
    font-size: 11px;
}

.form-group {
    margin-bottom: 12px;
}

.main-content {
    display: flex;
    gap: 20px;
    padding: 12px;
}

.left-panel {
    flex: 1;
}

.right-panel {
    width: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 8px;
}

.units-section {
    margin-bottom: 12px;
}

.units-container {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.unit-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.column-header {
    font-size: 11px;
    font-weight: 400;
    color: #000;
    margin-bottom: 4px;
    text-align: center;
}

.unit-abbrev {
    font-size: 10px;
    color: #444;
    margin-top: 2px;
    min-height: 28px;
    line-height: 14px;
}

.swap-button-container {
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.swap-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #7f9db9;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff 0%, #e8f0e8 100%);
    cursor: pointer;
    font-size: 14px;
    color: #006400;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.swap-btn:hover {
    background: linear-gradient(180deg, #e8f4e8 0%, #c8e0c8 100%);
    border-color: #006400;
}

.swap-btn:active {
    background: linear-gradient(180deg, #c8e0c8 0%, #a8d0a8 100%);
}

.result-section {
    margin-top: 8px;
}

.result-container {
    display: flex;
    gap: 16px;
}

.result-input {
    flex: 1;
    height: 24px;
    border: 1px solid #7f9db9;
    padding: 2px 6px;
    font-size: 12px;
    font-family: inherit;
    background: #fff;
}

.result-input:focus {
    outline: none;
    border-color: #0078d4;
}

.result-input[readonly] {
    background: #f5f5f5;
}

.logo-container {
    text-align: center;
    padding: 10px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.logo-icon {
    font-size: 42px;
    color: #0066a1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #003366;
    letter-spacing: 0.5px;
}

.logo-tagline {
    font-size: 9px;
    color: #666;
    font-style: italic;
}

.status-bar {
    border-top: 1px solid #adb2b5;
    background: #f0f0f0;
    padding: 3px 8px;
    font-size: 11px;
    color: #444;
}
