#cm-inches-wrapper {
    --title-blue: #60a5fa;
    --primary-grey: #374151;
    --border-grey: #d1d5db;
    --bg-page: #f3f4f6;
    --text-main: #111827;
    
    width: 100% !important;
    padding: 40px 10px !important;
    background-color: var(--bg-page) !important;
    font-family: 'Segoe UI', Arial, sans-serif !important;
    display: flex !important;
    justify-content: center !important;
}

#cm-inches-wrapper * { 
    box-sizing: border-box !important; 
}

.converter-container {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 800px !important;
    padding: 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
    border: 1px solid var(--border-grey) !important;
}

.main-title { 
    text-align: center !important; 
    color: var(--title-blue) !important; 
    margin: 0 0 30px 0 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
}

.conversion-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 30px !important;
    margin-bottom: 25px !important;
}

.input-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: left !important;
}

#cm-inches-wrapper label {
    font-size: 11px !important;
    font-weight: bold !important;
    color: #9ca3af !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

#cm-inches-wrapper select, 
#cm-inches-wrapper input {
    width: 100% !important;
    padding: 15px !important;
    font-size: 18px !important;
    border: 2px solid var(--border-grey) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: var(--text-main) !important;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
}

.btn-download {
    background: var(--primary-grey) !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 600px) {
    .conversion-layout { grid-template-columns: 1fr !important; gap: 20px !important; }
    .main-title { font-size: 22px !important; }
}